/* ============================================================
   IamLive Shop — Fully Scoped CSS
   All styles under .iml-shop — zero bleed from theme CSS
   ============================================================ */

/* ---------- Reset ---------- */
.iml-shop *, .iml-shop *::before, .iml-shop *::after { box-sizing: border-box; }

/* Font reset on all non-icon elements */
.iml-shop,
.iml-shop p, .iml-shop span, .iml-shop div,
.iml-shop h1, .iml-shop h2, .iml-shop h3, .iml-shop h4, .iml-shop h5, .iml-shop h6,
.iml-shop a, .iml-shop button, .iml-shop input, .iml-shop select, .iml-shop textarea,
.iml-shop label, .iml-shop li, .iml-shop td, .iml-shop th, .iml-shop small, .iml-shop strong {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* Preserve icon fonts — never override these */
.iml-shop i,
.iml-shop [class*="bi-"],
.iml-shop [class*="fa-"],
.iml-shop [class*="icon"] {
    font-family: inherit;
}
.iml-shop i[class*="bi"] { font-family: 'bootstrap-icons' !important; }
.iml-shop i[class*="fa"] { font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', FontAwesome !important; }

.iml-shop {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5 !important;
    color: #111;
    -webkit-font-smoothing: antialiased;
}
/* Display resets — counter themes that set a { display:block } etc */
.iml-shop a { display: inline; color: inherit; text-decoration: none; background: none; font-size: inherit; line-height: inherit; }
.iml-shop a:hover { color: inherit; text-decoration: none; }
.iml-shop i { display: inline; font-style: normal; }
.iml-shop span { display: inline; }

/* Heading sizes */
.iml-shop h1 { font-size: 2rem !important;   font-weight: 700; line-height: 1.2 !important; margin: 0; padding: 0; color: inherit; display: block; border: none; background: none; }
.iml-shop h2 { font-size: 1.5rem !important;  font-weight: 700; line-height: 1.25 !important; margin: 0; padding: 0; color: inherit; display: block; border: none; background: none; }
.iml-shop h3 { font-size: 1.17rem !important; font-weight: 700; line-height: 1.3 !important;  margin: 0; padding: 0; color: inherit; display: block; border: none; background: none; }
.iml-shop h4, .iml-shop h5, .iml-shop h6 { font-size: 1rem !important; font-weight: 700; line-height: 1.4 !important; margin: 0; padding: 0; color: inherit; display: block; border: none; background: none; }
.iml-shop p { margin: 0; padding: 0; font-size: 1rem !important; line-height: 1.6 !important; display: block; }

.iml-shop ul, .iml-shop ol { margin: 0; padding: 0; list-style: none; }
.iml-shop img { max-width: 100%; display: block; }
.iml-shop button, .iml-shop input, .iml-shop select, .iml-shop textarea {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin: 0; -webkit-appearance: none; appearance: none;
}
.iml-shop input:focus, .iml-shop select:focus, .iml-shop textarea:focus {
    outline: 2px solid #111; outline-offset: 0; box-shadow: none;
}
.iml-shop table { border-collapse: collapse; width: 100%; }
.iml-shop td, .iml-shop th { padding: 0; border: none; }
.iml-shop s { text-decoration: line-through; }

/* ---------- Form controls ---------- */
.iml-shop .s-input {
    display: block; width: 100%; padding: 10px 13px;
    border: 1.5px solid #ddd; border-radius: 8px; background: #fff;
    font-size: 0.93rem; color: #111; transition: border-color 0.15s;
}
.iml-shop .s-input:focus { border-color: #111; outline: none; box-shadow: none; }
.iml-shop .s-select {
    display: block; width: 100%; padding: 10px 13px;
    border: 1.5px solid #ddd; border-radius: 8px; background: #fff;
    font-size: 0.93rem; color: #111; cursor: pointer; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.iml-shop .s-select:focus { border-color: #111; outline: none; }
.iml-shop .s-textarea {
    display: block; width: 100%; padding: 10px 13px;
    border: 1.5px solid #ddd; border-radius: 8px; background: #fff;
    font-size: 0.93rem; color: #111; resize: vertical; min-height: 70px;
}
.iml-shop .s-textarea:focus { border-color: #111; outline: none; }
.iml-shop .s-form-row { margin-bottom: 14px; }
.iml-shop .s-form-label { display: block; font-size: 0.83rem; font-weight: 600; color: #444; margin-bottom: 5px; }

/* ---------- Shop page (works listing) ---------- */
.iml-shop .shop-header { padding: 28px 0 16px; }
.iml-shop .shop-header h1 { font-size: 1.9rem; font-weight: 700; margin-bottom: 4px; }
.iml-shop .shop-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 18px; }
.iml-shop .shop-cat-btn {
    display: inline-block; padding: 7px 18px; border-radius: 20px;
    border: 1.5px solid #ddd; background: #fff; color: #444;
    font-size: 0.85rem; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.iml-shop .shop-cat-btn:hover, .iml-shop .shop-cat-btn.active { background: #111; color: #fff; border-color: #111; }
.iml-shop .shop-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.iml-shop .shop-search { flex: 1; min-width: 180px; display: flex; border: 1.5px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; }
.iml-shop .shop-search input { flex: 1; border: none; padding: 9px 14px; font-size: 0.9rem; outline: none; background: transparent; color: #111; }
.iml-shop .shop-search button { border: none; background: #111; color: #fff; padding: 9px 14px; cursor: pointer; }
.iml-shop .shop-sort { padding: 9px 12px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 0.85rem; background: #fff; color: #111; cursor: pointer; }
.iml-shop .shop-layout-btns { display: flex; gap: 4px; }
.iml-shop .shop-layout-btns button { border: 1.5px solid #ddd; background: #fff; border-radius: 6px; padding: 6px 10px; cursor: pointer; color: #666; font-size: 0.9rem; }
.iml-shop .shop-layout-btns button.active { background: #111; color: #fff; border-color: #111; }

/* Grid */
.iml-shop .works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.iml-shop .works-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.iml-shop .works-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.iml-shop .works-grid.list-view { grid-template-columns: 1fr; }
@media (max-width: 900px) {
    .iml-shop .works-grid,
    .iml-shop .works-grid.cols-3,
    .iml-shop .works-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .iml-shop .works-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .iml-shop .works-grid.list-view { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .iml-shop .works-grid,
    .iml-shop .works-grid.cols-2,
    .iml-shop .works-grid.cols-3,
    .iml-shop .works-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .iml-shop .works-grid.list-view { grid-template-columns: 1fr; }
}

/* Product card */
.iml-shop .work-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,0.07); transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.iml-shop .work-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); transform: translateY(-2px); }
.iml-shop .work-card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #f5f5f5; }
.iml-shop .work-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.iml-shop .work-card:hover .work-card-img img { transform: scale(1.04); }
.iml-shop .work-card-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.iml-shop .work-card-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 4px; }
.iml-shop .work-card-title { font-size: 0.97rem; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; line-height: 1.35; flex: 1; }
.iml-shop .work-card-desc { font-size: 0.82rem; color: #6c757d; margin-bottom: 10px; line-height: 1.5; }
.iml-shop .work-card-price { font-size: 1.05rem; font-weight: 700; color: #111; margin-bottom: 12px; }
.iml-shop .work-card-price s { font-size: 0.85rem; font-weight: 400; color: #aaa; margin-right: 5px; }
.iml-shop .work-card-price .offer { color: #e74c3c; }
.iml-shop .work-card-btn { display: block; text-align: center; padding: 9px 0; border-radius: 7px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.15s; border: none; width: 100%; }
.iml-shop .work-card-btn.btn-buy { background: #111; color: #fff; }
.iml-shop .work-card-btn.btn-buy:hover { background: #333; color: #fff; }
.iml-shop .work-card-btn.btn-read { background: transparent; border: 1.5px solid #111; color: #111; }
.iml-shop .work-card-btn.btn-read:hover { background: #111; color: #fff; }

/* Badges */
.iml-shop .work-badge { position: absolute; top: 10px; left: 10px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 4px; z-index: 2; }
.iml-shop .badge-new { background: #28a745; color: #fff; }
.iml-shop .badge-sale { background: #e74c3c; color: #fff; }
.iml-shop .badge-hot { background: #ff6b00; color: #fff; }
.iml-shop .badge-featured { background: #6c63ff; color: #fff; }
.iml-shop .product-type-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; color: #888; border: 1px solid #e0e0e0; border-radius: 4px; padding: 2px 8px; margin-bottom: 8px; background: #fff; }

/* Load more / empty */
.iml-shop .shop-load-more { text-align: center; margin: 28px 0 10px; }
.iml-shop .shop-load-more button { background: #111; color: #fff; border: none; padding: 11px 32px; border-radius: 8px; font-size: 0.9rem; cursor: pointer; }
.iml-shop .shop-load-more button:hover { background: #333; }
.iml-shop .shop-empty { text-align: center; padding: 60px 20px; color: #aaa; }
.iml-shop .shop-empty .empty-icon { font-size: 3rem; margin-bottom: 10px; }

/* ---------- Product detail (ecom) ---------- */
.iml-shop .ecom-breadcrumb { font-size: 0.82rem !important; color: #888; margin-bottom: 16px; display: block; line-height: 1.6 !important; }
.iml-shop .ecom-breadcrumb a { color: #888; display: inline !important; font-size: 0.82rem !important; }
.iml-shop .ecom-breadcrumb a:hover { color: #333; text-decoration: underline; }
.iml-shop .ecom-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }
.iml-shop .ecom-gallery-main { border-radius: 8px; overflow: hidden; background: #f5f5f5; position: relative; }
.iml-shop .ecom-gallery-main img { width: 100%; display: block; border-radius: 8px; max-height: 480px; object-fit: cover; }
.iml-shop .ecom-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.iml-shop .ecom-thumb { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.15s; flex-shrink: 0; }
.iml-shop .ecom-thumb img { width: 100%; height: 100%; object-fit: cover; }
.iml-shop .ecom-thumb.active, .iml-shop .ecom-thumb:hover { border-color: #111; }
.iml-shop .ecom-title { font-size: 1.6rem; font-weight: 700; line-height: 1.25; margin: 6px 0 8px; color: #111; }
.iml-shop .ecom-price-block { margin: 10px 0 16px; }
.iml-shop .ecom-price-block .price-regular { font-size: 1.55rem !important; font-weight: 700; color: #111; display: inline !important; }
.iml-shop .ecom-price-block .price-regular span { font-size: 1.55rem !important; display: inline !important; }
.iml-shop .ecom-price-block .price-offer { font-size: 1.55rem !important; font-weight: 700; color: #e74c3c; display: inline !important; }
.iml-shop .ecom-price-block .price-was { font-size: 1rem !important; color: #aaa; text-decoration: line-through; margin-right: 6px; display: inline !important; }
.iml-shop .ecom-price-block .price-save { font-size: 0.8rem !important; color: #28a745; background: #edfbf0; border-radius: 4px; padding: 2px 8px; margin-left: 8px; display: inline-block !important; }
.iml-shop .ecom-short-desc { font-size: 0.95rem; color: #555; margin-bottom: 14px; line-height: 1.6; }
.iml-shop .ecom-variant-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; margin-top: 10px; color: #333; display: block; }
.iml-shop .ecom-qty-row { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.iml-shop .ecom-qty { display: flex; align-items: center; border: 2px solid #ddd; border-radius: 8px; overflow: hidden; }
.iml-shop .ecom-qty button { background: #f5f5f5; border: none; width: 38px; height: 42px; font-size: 1.1rem; cursor: pointer; color: #333; }
.iml-shop .ecom-qty button:hover { background: #e9e9e9; }
.iml-shop .ecom-qty input { width: 52px; text-align: center; border: none; border-left: 1.5px solid #ddd; border-right: 1.5px solid #ddd; height: 42px; font-size: 1rem; background: #fff; color: #111; outline: none; }
.iml-shop .ecom-stock-ok { font-size: 0.82rem; color: #28a745; font-weight: 600; margin-bottom: 8px; }
.iml-shop .ecom-stock-out { font-size: 0.95rem; color: #e74c3c; font-weight: 700; margin-bottom: 8px; }
.iml-shop .ecom-actions { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.iml-shop .ecom-btn-cart { flex: 1; padding: 13px; border-radius: 8px; border: 2px solid #111; background: #fff; color: #111; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.15s; }
.iml-shop .ecom-btn-cart:hover { background: #111; color: #fff; }
.iml-shop .ecom-btn-buy { flex: 1; padding: 13px; border-radius: 8px; border: none; background: #111; color: #fff; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: background 0.15s; }
.iml-shop .ecom-btn-buy:hover { background: #333; }

/* Product tabs */
.iml-shop .ecom-tabs { margin-top: 32px; }
.iml-shop .ecom-tab-nav { display: flex; border-bottom: 2px solid #eee; }
.iml-shop .ecom-tab-btn { padding: 10px 20px; border: none; background: none; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: #888; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; }
.iml-shop .ecom-tab-btn.active { color: #111; border-bottom-color: #111; }
.iml-shop .ecom-tab-content { display: none; padding: 20px 0; font-size: 0.95rem; color: #333; line-height: 1.7; }
.iml-shop .ecom-tab-content.active { display: block; }
.iml-shop .ecom-tab-content p { margin-bottom: 12px; }
.iml-shop .ecom-tab-content table td { padding: 8px; color: #555; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; }
.iml-shop .ecom-tab-content table td:first-child { color: #888; width: 140px; }

/* Share */
.iml-shop .ecom-share { display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; }
.iml-shop .ecom-share-btn { display: inline-flex !important; align-items: center; gap: 5px; font-size: 0.8rem !important; color: #666; border: 1px solid #ddd; border-radius: 6px; padding: 5px 10px; cursor: pointer; background: #fff; transition: all 0.15s; }
.iml-shop .ecom-share-btn:hover { background: #111; color: #fff; border-color: #111; }
.iml-shop .ecom-share-btn i { font-size: 0.95rem !important; display: inline !important; }

/* Work card category (used on ecom page) */
.iml-shop .work-card-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #888; }

/* ---------- Cart page ---------- */
.iml-shop .cart-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: #111; }
.iml-shop .cart-row { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
@media(max-width: 768px) { .iml-shop .cart-row { grid-template-columns: 1fr; } }
.iml-shop .cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eee; align-items: center; }
.iml-shop .cart-item-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #f5f5f5; }
.iml-shop .cart-item-info { flex: 1; min-width: 0; }
.iml-shop .cart-item-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111; }
.iml-shop .cart-item-variants { font-size: 0.8rem; color: #888; margin-bottom: 4px; }
.iml-shop .cart-item-price { font-size: 0.88rem; color: #555; }
.iml-shop .cart-item-remove { flex-shrink: 0; background: none; border: 1.5px solid #eee; color: #bbb; font-size: 1rem; cursor: pointer; padding: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s, color 0.15s; }
.iml-shop .cart-item-remove:hover { color: #e74c3c; border-color: #e74c3c; }
.iml-shop .cart-empty-state { text-align: center; padding: 60px 20px; color: #aaa; }
.iml-shop .cart-empty-state .icon { font-size: 3rem; margin-bottom: 10px; display: block; }
.iml-shop .cart-summary-wrap { min-width: 0; }
.iml-shop .cart-summary { background: #f9f9f9; border-radius: 12px; padding: 20px; position: sticky; top: 20px; width: 100%; }
.iml-shop .cart-summary h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; color: #111; }
.iml-shop .cart-summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; color: #555; }
.iml-shop .cart-summary-row.total { font-size: 1.1rem; font-weight: 700; color: #111; border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px; }
.iml-shop .cart-checkout-btn { display: block; width: 100%; padding: 13px 10px; background: #111; color: #fff !important; border: none; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; margin-top: 14px; text-align: center; text-decoration: none !important; }
.iml-shop .cart-checkout-btn:hover { background: #333; }
.iml-shop .cart-continue-btn { display: block; width: 100%; padding: 10px; background: transparent; border: 1.5px solid #ddd; color: #777 !important; border-radius: 8px; font-size: 0.85rem; cursor: pointer; margin-top: 8px; text-align: center; text-decoration: none !important; }
.iml-shop .cart-continue-btn:hover { border-color: #111; color: #111 !important; }

/* ---------- Checkout page ---------- */
.iml-shop .checkout-steps { display: flex; align-items: center; margin-bottom: 28px; }
.iml-shop .checkout-step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.iml-shop .checkout-step-dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; background: #e0e0e0; color: #999; transition: all 0.2s; }
.iml-shop .checkout-step.active .checkout-step-dot,
.iml-shop .checkout-step.done .checkout-step-dot { background: #111; color: #fff; }
.iml-shop .checkout-step-label { font-size: 0.72rem; margin-top: 4px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.iml-shop .checkout-step.active .checkout-step-label { color: #111; }
.iml-shop .checkout-step-line { flex: 1; height: 2px; background: #e0e0e0; margin: 0 -6px; position: relative; top: -8px; }
.iml-shop .checkout-step-line.done { background: #111; }
.iml-shop .checkout-row { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media(max-width: 768px) { .iml-shop .checkout-row { grid-template-columns: 1fr; } }
.iml-shop .checkout-form-card { background: #fff; border: 1.5px solid #eee; border-radius: 10px; padding: 24px; }
.iml-shop .checkout-form-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; color: #111; }
.iml-shop .checkout-form-label { font-size: 0.83rem; font-weight: 600; margin-bottom: 5px; color: #444; display: block; }
.iml-shop .checkout-order-card { background: #f9f9f9; border-radius: 10px; padding: 20px; position: sticky; top: 20px; min-width: 0; width: 100%; }
.iml-shop .checkout-order-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; color: #111; }
.iml-shop .co-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; align-items: center; }
.iml-shop .co-item-img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.iml-shop .co-item-info { flex: 1; min-width: 0; }
.iml-shop .co-item-title { font-weight: 600; font-size: 0.88rem; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iml-shop .co-item-variants { color: #888; font-size: 0.78rem; margin-top: 2px; }
.iml-shop .co-item-price { font-size: 0.85rem; font-weight: 700; white-space: nowrap; color: #333; }
.iml-shop .cart-summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 8px; color: #555; }
.iml-shop .cart-summary-row.total { font-size: 1.1rem; font-weight: 700; color: #111; border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px; }
.iml-shop .checkout-place-btn { display: block; width: 100%; padding: 13px; background: #111; color: #fff !important; border: none; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; margin-top: 14px; text-align: center; text-decoration: none; }
.iml-shop .checkout-place-btn:hover { background: #333; }
.iml-shop .checkout-back-btn { background: none; border: none; color: #888; cursor: pointer; font-size: 0.85rem; margin-bottom: 14px; padding: 0; display: inline-block; }
.iml-shop .checkout-back-btn:hover { color: #111; }

/* Checkout form fields */
.iml-shop .c_form-control {
    display: block; width: 100%; padding: 10px 13px;
    border: 1.5px solid #ddd; border-radius: 8px; background: #fff;
    font-family: inherit; font-size: 0.93rem; color: #111;
    transition: border-color 0.15s; margin-bottom: 0;
    box-shadow: none !important;
}
.iml-shop .c_form-control:focus { border-color: #111; outline: none; box-shadow: none !important; }
.iml-shop .form-group { margin-bottom: 12px; }
.iml-shop .row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.iml-shop .col-sm-6 { width: 50%; padding: 0 8px; }
@media(max-width: 576px) { .iml-shop .col-sm-6 { width: 100%; } }

/* Payment gateways */
.iml-shop .gateway-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.iml-shop .gateway-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid #eee; border-radius: 8px; cursor: pointer; transition: border-color 0.15s; background: #fff; }
.iml-shop .gateway-item:hover, .iml-shop .gateway-item.selected { border-color: #111; }
.iml-shop .gateway-item input[type=radio] { accent-color: #111; width: 16px; height: 16px; flex-shrink: 0; }
.iml-shop .gateway-item label { cursor: pointer; font-size: 0.9rem; font-weight: 500; margin: 0; flex: 1; color: #111; }
.iml-shop .gateway-icon { font-size: 1.2rem; width: 28px; text-align: center; }

/* Success state */
.iml-shop .order-success { text-align: center; padding: 40px 20px; }
.iml-shop .order-success-icon { font-size: 3rem; margin-bottom: 14px; display: block; color: #22c55e; }
.iml-shop .order-success h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.iml-shop .order-success p { color: #888; margin-bottom: 16px; }

/* Alert */
.iml-shop .alert { padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; }
.iml-shop .alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.iml-shop .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ---------- Dark theme ---------- */
.iml-shop.iml-shop-dark { color: #eee; background: transparent; }
.iml-shop.iml-shop-dark .work-card { background: #1e1e1e; }
.iml-shop.iml-shop-dark .work-card-title { color: #eee; }
.iml-shop.iml-shop-dark .work-card-btn.btn-read { border-color: #eee; color: #eee; }
.iml-shop.iml-shop-dark .work-card-btn.btn-read:hover { background: #eee; color: #111; }
.iml-shop.iml-shop-dark .shop-cat-btn { background: #2a2a2a; color: #ccc; border-color: #444; }
.iml-shop.iml-shop-dark .shop-cat-btn:hover,
.iml-shop.iml-shop-dark .shop-cat-btn.active { background: #fff; color: #111; }
.iml-shop.iml-shop-dark .shop-search,
.iml-shop.iml-shop-dark .shop-sort,
.iml-shop.iml-shop-dark .shop-layout-btns button { background: #2a2a2a; border-color: #444; color: #ddd; }
.iml-shop.iml-shop-dark .shop-search input { color: #ddd; background: transparent; }
.iml-shop.iml-shop-dark .shop-search button { background: #fff; color: #111; }
.iml-shop.iml-shop-dark .ecom-title { color: #fff; }
.iml-shop.iml-shop-dark .ecom-price-block .price-regular,
.iml-shop.iml-shop-dark .ecom-price-block .price-offer { color: #fff; }
.iml-shop.iml-shop-dark .ecom-tab-btn.active { color: #fff; border-bottom-color: #fff; }
.iml-shop.iml-shop-dark .ecom-tab-content { color: #ccc; }
.iml-shop.iml-shop-dark .cart-summary,
.iml-shop.iml-shop-dark .checkout-order-card { background: #1e1e1e; }
.iml-shop.iml-shop-dark .cart-item { border-bottom-color: #333; }
.iml-shop.iml-shop-dark .cart-item-title,
.iml-shop.iml-shop-dark .cart-summary h3,
.iml-shop.iml-shop-dark .checkout-order-card h3 { color: #eee; }
.iml-shop.iml-shop-dark .checkout-form-card { background: #1e1e1e; border-color: #333; }
.iml-shop.iml-shop-dark .checkout-form-label,
.iml-shop.iml-shop-dark .checkout-form-card h3 { color: #ddd; }
.iml-shop.iml-shop-dark .c_form-control { background: #2a2a2a; border-color: #444; color: #eee; }
.iml-shop.iml-shop-dark .gateway-item { background: #1e1e1e; border-color: #333; }
.iml-shop.iml-shop-dark .gateway-item label { color: #eee; }
.iml-shop .shop-price-filter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
