/* Boutique — styles transverses (tous thèmes) */

/* Outils header : panier / compte / recherche restent sur une ligne */
.header__inner,
.header-main,
.header-right,
.header-1 .header-main,
.mega-menu-wrapper .header-main {
    flex-wrap: nowrap !important;
}
.header__inner > .nav,
.header-right .mean__menu-wrapper,
.header-right .main-menu {
    min-width: 0;
}
.shop-header-tools,
.header-tools {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.shop-header-tools .shop-cart-link,
.shop-header-tools .search-trigger,
.header-tools .search-trigger,
.header-tools .shop-cart-link {
    flex-shrink: 0;
}
.header-right {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 8px;
}
.header-right .header-button,
.header-right .common-btn,
.header-right .call-icon span {
    flex-shrink: 0;
}
@media (max-width: 1199px) {
    .header-right .header-button,
    .header-right .common-btn.d-sm-flex {
        display: none !important;
    }
}

.shop-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: var(--primary, #0b1f33);
    border: 1px solid var(--line, #dce5ef);
    background: #fff;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.shop-cart-link--sm,
.shop-header-tools--sm .shop-cart-link,
.header-tools .shop-cart-link,
.header-tools .search-trigger.shop-cart-link {
    width: 34px;
    height: 34px;
    font-size: .88rem;
    border-radius: 10px;
}
.shop-cart-link:hover {
    background: #f4f7fb;
    border-color: #b8c7d8;
    color: var(--primary, #0b1f33);
}

.shop-cart-link__count,
.shop-cart-fab__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--primary, #0b1f33);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-cart-fab {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--primary, #0b1f33);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(11, 31, 51, .28);
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}
.shop-cart-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(11, 31, 51, .34);
    color: #fff !important;
}
.shop-cart-fab__count {
    position: static;
    background: #fff;
    color: var(--primary, #0b1f33) !important;
}
.shop-cart-fab__label { font-size: .92rem; }

/* Quantités — contraste forcé (sungo/vrtua input blanc) */
.shop-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #c9d5e3;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    max-width: 160px;
}
.shop-qty__btn {
    width: 40px;
    border: 0;
    background: #eef3f8;
    color: #122033 !important;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}
.shop-qty__btn:hover { background: #e2eaf2; }
.shop-qty input[type="number"],
.shop-add-form input[type="number"],
.shop-cart__table input[type="number"],
.shop-card__cart input[type="number"] {
    width: 64px !important;
    min-width: 52px;
    border: 0 !important;
    border-left: 1px solid #c9d5e3 !important;
    border-right: 1px solid #c9d5e3 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #122033 !important;
    text-align: center;
    font: inherit;
    font-weight: 700;
    padding: 10px 4px !important;
    -moz-appearance: textfield;
    appearance: textfield;
}
.shop-qty input[type="number"]:focus,
.shop-add-form input[type="number"]:focus,
.shop-cart__table input[type="number"]:focus {
    outline: 2px solid color-mix(in srgb, var(--primary, #0b1f33) 35%, transparent);
    outline-offset: -2px;
    color: #122033 !important;
    background: #fff !important;
}
.shop-qty input[type="number"]::-webkit-outer-spin-button,
.shop-qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, .7fr) auto auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line, #dce5ef);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 35, 55, .04);
}
.shop-toolbar__search {
    display: grid;
    gap: 0;
    position: relative;
}
.shop-toolbar__search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c8b9b;
}
.shop-toolbar__search input,
.shop-toolbar__sort select {
    width: 100%;
    border: 1px solid #c9d5e3;
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
    background: #fff !important;
    color: #122033 !important;
}
.shop-toolbar__search input { padding-left: 38px; }
.shop-toolbar__sort { display: grid; gap: 6px; font-size: .85rem; color: #5b6b7c; }
.shop-toolbar__views {
    display: inline-flex;
    border: 1px solid #c9d5e3;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.shop-view-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #334155;
    cursor: pointer;
}
.shop-view-btn.is-active {
    background: var(--primary, #0b1f33);
    color: #fff;
}

.shop-catalog__lead { color: #5b6b7c; max-width: 56ch; }
.shop-catalog__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 16px;
    color: #5b6b7c;
}
.shop-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.shop-cats .btn {
    padding: 7px 12px !important;
    font-size: .82rem !important;
    border-radius: 999px !important;
}
.shop-cats .btn.is-active {
    background: var(--primary, #0b1f33);
    color: #fff;
    border-color: var(--primary, #0b1f33);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.shop-grid--list {
    grid-template-columns: 1fr;
}
.shop-grid--list .shop-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: stretch;
}
.shop-grid--list .shop-card__media {
    aspect-ratio: auto;
    min-height: 100%;
}
.shop-grid--list .shop-card__media img {
    height: 100%;
    min-height: 200px;
    aspect-ratio: auto;
}
.shop-grid--list .shop-card__actions,
.shop-grid--list .shop-card__cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.shop-card {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 35, 55, .04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover {
    transform: translateY(-3px);
    border-color: #cfdcea;
    box-shadow: 0 16px 36px rgba(15, 35, 55, .1);
}
.shop-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    overflow: hidden;
}
.shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.shop-card:hover .shop-card__media img {
    transform: scale(1.04);
}
.shop-card__quick {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(11, 31, 51, .92);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    transition: opacity .2s ease, transform .2s ease;
}
.shop-card:hover .shop-card__quick {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.shop-card__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    background: #fff7ed;
    color: #c2410c;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 35, 55, .08);
}
.shop-card__badge--off { background: #f1f5f9; color: #64748b; }
.shop-card__body {
    padding: 14px 14px 16px;
    display: grid;
    gap: 8px;
    flex: 1;
    color: #122033;
    align-content: start;
}
.shop-card__cat {
    margin: 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7b8a9b;
}
.shop-card__body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
}
.shop-card__body h3 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card__body h3 a:hover { color: var(--primary, #0b1f33); }
.shop-card__excerpt {
    color: #5b6b7c;
    margin: 0;
    font-size: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 2px;
}
.shop-card__price,
.shop-card__meta strong {
    color: var(--primary, #0b1f33);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.01em;
}
.shop-stock--ok { color: #0f766e; font-weight: 700; font-size: .78rem; }
.shop-stock--off { color: #94a3b8; font-weight: 700; font-size: .78rem; }
.shop-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}
.shop-card__cart {
    display: contents;
}
.shop-card__buy {
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary, #0b1f33);
    text-decoration: none;
}
.shop-card__buy:hover { text-decoration: underline; }

.shop-qty--sm {
    max-width: 128px;
    border-radius: 10px;
}
.shop-qty--sm .shop-qty__btn {
    width: 32px;
    font-size: 1rem;
}
.shop-qty--sm input[type="number"] {
    width: 48px;
    padding: 8px 4px;
    font-size: .9rem;
}

.shop-catalog__cta {
    margin-top: 28px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b1f33, #12324f);
    color: #edf3f8 !important;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}
/* Spécificité élevée : les thèmes forcent souvent h3/p en noir dans #main .section */
body #main .shop-catalog__cta h3,
body.theme-sungo #main .section .shop-catalog__cta h3,
body.theme-vrtua #main .section .shop-catalog__cta h3,
body.theme-atelier #main .shop-catalog__cta h3,
body.theme-ligne #main .shop-catalog__cta h3,
body.theme-siege #main .shop-catalog__cta h3 {
    color: #ffffff !important;
    margin: 0 0 6px;
}
body #main .shop-catalog__cta p,
body.theme-sungo #main .section .shop-catalog__cta p,
body.theme-vrtua #main .section .shop-catalog__cta p,
body #main .shop-catalog__cta,
body #main .shop-catalog__cta * {
    color: #d7e3ef;
}
body #main .shop-catalog__cta h3 { color: #ffffff !important; }
body #main .shop-catalog__cta p { margin: 0; color: #c5d4e4 !important; }
.shop-catalog__cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
body #main .shop-catalog__cta .btn--primary {
    background: #ffffff !important;
    color: #0b1f33 !important;
    border-color: #ffffff !important;
}
body #main .shop-catalog__cta .btn--outline {
    background: rgba(255, 255, 255, .12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .4) !important;
}

.shop-pdp-top {
    padding: 18px 0 0;
    background: #f7fafc;
}
.shop-pdp-top__crumbs {
    margin: 0;
    font-size: .9rem;
}
.shop-pdp { padding-top: 22px; }
.shop-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
    align-items: start;
}
.shop-detail__media {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 90px;
}
.shop-gallery__main {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    border: 1px solid #e6edf5;
    box-shadow: 0 10px 28px rgba(15, 35, 55, .06);
}
.shop-gallery__main img,
.shop-detail__media > img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.shop-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    gap: 8px;
}
.shop-gallery__thumb {
    border: 2px solid #e6edf5;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s ease, transform .15s ease;
}
.shop-gallery__thumb.is-active,
.shop-gallery__thumb:hover {
    border-color: var(--primary, #0b1f33);
    transform: translateY(-1px);
}
.shop-gallery__thumb img {
    width: 100%;
    height: 68px;
    object-fit: cover;
    display: block;
    aspect-ratio: auto;
}
.shop-detail__body {
    display: grid;
    gap: 10px;
    align-content: start;
}
.shop-detail__title {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.2;
    color: #0f172a;
    font-weight: 800;
}
.shop-detail__sku {
    margin: 0;
    color: #7b8a9b;
    font-size: .88rem;
}
.shop-detail__price {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--primary, #0b1f33);
    margin: 4px 0 0;
    letter-spacing: -.02em;
}
.shop-detail__status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.shop-detail__status .shop-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0fdfa;
    font-size: .86rem;
}
.shop-detail__status .shop-stock--off { background: #f8fafc; }
.shop-detail__min {
    font-size: .82rem;
    color: #64748b;
    font-weight: 600;
}
.shop-detail__excerpt {
    margin: 4px 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 48ch;
}
.shop-pdp-desc__inner {
    max-width: 820px;
    margin: 0 auto;
}
.shop-pdp-desc__head {
    text-align: center;
    margin-bottom: 22px;
}
.shop-pdp-desc__head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.shop-pdp-desc__lead {
    margin: 0 auto;
    max-width: 42ch;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.5;
}
.shop-detail__desc {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    padding: clamp(22px, 3.5vw, 36px) clamp(20px, 4vw, 40px);
    box-shadow: 0 10px 28px rgba(15, 35, 55, .05);
    text-align: center;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.7;
}
.shop-detail__desc.rich-text,
.shop-detail__desc.rich-text p,
.shop-detail__desc.rich-text li {
    color: #334155;
}
.shop-detail__desc p { margin: 0 0 1em; }
.shop-detail__desc p:last-child { margin-bottom: 0; }
.shop-detail__desc h2,
.shop-detail__desc h3,
.shop-detail__desc h4 {
    color: #0f172a;
    margin: 1.2em 0 .55em;
    text-align: center;
}
.shop-detail__desc ul,
.shop-detail__desc ol {
    display: inline-block;
    text-align: left;
    margin: .4em auto 1em;
    padding-left: 1.25em;
    max-width: 36rem;
}
.shop-detail__desc img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.1em auto;
    border-radius: 12px;
}
.shop-detail__desc a {
    color: var(--primary, #0b1f33);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.shop-add-form {
    margin-top: 8px;
    display: grid;
    gap: 12px;
    max-width: 460px;
    padding: 16px;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 35, 55, .05);
}
.shop-add-form--off {
    color: #64748b;
}
.shop-add-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}
.shop-add-form__qty {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 600;
    font-size: .9rem;
}
.shop-add-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-add-form__hint {
    margin: 0;
    color: #64748b;
    font-size: .82rem;
}
.shop-pdp-desc {
    padding-top: 12px;
    padding-bottom: 8px;
}

.section--shop { padding-top: 28px; }
.page-hero--compact { min-height: 140px; }
.page-hero--compact h1 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.shop-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f4f8f6;
    border: 1px solid #d9e8df;
    color: #245c3d;
    font-size: .86rem;
    font-weight: 600;
}
.shop-trust-bar i { margin-right: 6px; opacity: .9; }

.shop-checkout__block {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #e3ebf4;
    border-radius: 14px;
    background: #fbfcfe;
    display: grid;
    gap: 12px;
}
.shop-checkout__block legend {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    color: var(--primary, #0b1f33);
    padding: 0 6px;
}
.shop-checkout__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.shop-checkout__fields label.shop-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #334155 !important;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #d5e0ec;
    border-radius: 12px;
    background: #fff;
    width: fit-content;
    max-width: 100%;
}
.shop-checkout__fields label.shop-check span {
    color: #122033 !important;
}
.shop-checkout__fields label.shop-check input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 22px !important;
    max-width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #0b1f33 !important;
    border-radius: 6px !important;
    background: #fff !important;
    background-image: none !important;
    flex: 0 0 22px;
    cursor: pointer;
    box-shadow: none !important;
    accent-color: #0b1f33;
}
.shop-checkout__fields label.shop-check input[type="checkbox"]:checked {
    background-color: #0b1f33 !important;
    border-color: #0b1f33 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.3 6.6 11.3 12.5 4.7'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
}
.shop-checkout__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef6ff;
    color: #334155;
}
.shop-checkout__note i { color: #2563eb; margin-top: 2px; }
.shop-checkout__fields [data-delivery-wrap].is-hidden { display: none; }

/* Délais de livraison — cartes radio */
.shop-delay { display: grid; gap: 10px; }
.shop-delay__label {
    margin: 0;
    font-weight: 700;
    font-size: .9rem;
    color: #122033 !important;
}
.shop-delay__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}
.shop-delay__card {
    position: relative;
    display: block !important;
    margin: 0;
    cursor: pointer;
}
.shop-delay__card input {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    margin: 0 !important;
    pointer-events: none;
}
.shop-delay__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    min-height: 64px;
    padding: 12px 14px;
    border: 1.5px solid #d5e0ec;
    border-radius: 14px;
    background: #fff;
    color: #122033 !important;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.shop-delay__body i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eef3f8;
    color: #0b1f33;
    font-size: .95rem;
}
.shop-delay__body strong {
    font-size: .92rem;
    font-weight: 700;
    color: #122033 !important;
    line-height: 1.3;
}
.shop-delay__card:hover .shop-delay__body {
    border-color: #9db4cb;
    background: #f8fafc;
}
.shop-delay__card input:checked + .shop-delay__body {
    border-color: #0b1f33;
    background: #f0f5fa;
    box-shadow: 0 0 0 3px rgba(11, 31, 51, .12);
}
.shop-delay__card input:checked + .shop-delay__body i {
    background: #0b1f33;
    color: #fff;
}
.shop-delay__card input:focus-visible + .shop-delay__body {
    outline: 2px solid #0b1f33;
    outline-offset: 2px;
}

/* Selects du checkout (indicatif téléphone, etc.) */
.shop-checkout__fields select,
.shop-checkout__fields .shop-phone select {
    width: 100%;
    border: 1px solid #c9d5e3 !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
    color: #122033 !important;
    padding: 12px 38px 12px 14px !important;
    font: inherit !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
}
.shop-checkout__fields select:focus,
.shop-checkout__fields .shop-phone select:focus {
    outline: none !important;
    border-color: #0b1f33 !important;
    box-shadow: 0 0 0 3px rgba(11, 31, 51, .12) !important;
}
.shop-checkout__fields .shop-phone {
    display: grid;
    grid-template-columns: minmax(120px, 150px) 1fr;
    gap: 8px;
    align-items: stretch;
}
.shop-checkout__fields .shop-phone input {
    background: #fff !important;
    color: #122033 !important;
    border: 1px solid #c9d5e3 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
}

@media (max-width: 720px) {
    .shop-checkout__row { grid-template-columns: 1fr; }
    .shop-delay__options { grid-template-columns: 1fr; }
    .shop-checkout__fields .shop-phone { grid-template-columns: 1fr; }
}

.shop-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
    gap: 18px;
    align-items: start;
}
.shop-cart__panel {
    background: #fff;
    border: 1px solid var(--line, #dce5ef);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 35, 55, .04);
    padding: 14px 16px;
}
.shop-cart__panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f6;
}
.shop-cart__panel-head h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.shop-cart__panel-head .muted { margin: 0; font-size: .86rem; }
.shop-cart__count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef3f8;
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}
.shop-cart__login-hint {
    margin: 0;
    font-size: .86rem;
    color: #5b6b7c;
    text-align: right;
}
.shop-cart__login-hint a { color: var(--primary, #0b1f33); font-weight: 700; text-decoration: none; }
.shop-cart__login-hint a:hover { text-decoration: underline; }

.shop-cart__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.shop-cart__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}
.shop-cart__item:last-child { border-bottom: 0; }
.shop-cart__thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e8eef5;
}
.shop-cart__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-cart__info { min-width: 0; }
.shop-cart__name {
    display: block;
    color: #122033;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
    margin-bottom: 4px;
}
.shop-cart__name:hover { color: var(--primary, #0b1f33); }
.shop-cart__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    color: #7b8a99;
    font-size: .78rem;
}
.shop-cart__unit { color: #475569; font-weight: 600; }
.shop-qty--sm { max-width: 118px; border-radius: 10px; }
.shop-qty--sm .shop-qty__btn {
    width: 30px;
    font-size: 1rem;
    background: #f5f8fb;
}
.shop-qty--sm input[type="number"] {
    width: 44px !important;
    min-width: 40px;
    padding: 7px 2px !important;
    font-size: .9rem;
}
.shop-cart__line-total {
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 92px;
}
.shop-cart__line-total strong {
    font-size: .95rem;
    color: #122033;
}
.shop-cart__remove {
    width: 30px;
    height: 30px;
    border: 1px solid #e8eef5;
    border-radius: 8px;
    background: #fff;
    color: #9a3412;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
}
.shop-cart__remove:hover { background: #fff7ed; }
.shop-cart__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
}
.btn--sm {
    padding: 8px 12px !important;
    font-size: .85rem !important;
    border-radius: 10px !important;
}
.shop-cart__totals {
    background: #fff;
    border: 1px solid var(--line, #dce5ef);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 35, 55, .04);
    padding: 16px;
    display: grid;
    gap: 10px;
    position: sticky;
    top: 88px;
}
.shop-cart__totals h2,
.shop-checkout__summary h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}
.shop-cart__totals p,
.shop-checkout__summary > p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: #334155;
    font-size: .92rem;
}
.shop-cart__total {
    border-top: 1px solid #eef2f6;
    padding-top: 10px;
    font-size: 1.05rem;
}
.btn--block { width: 100%; justify-content: center; }
.shop-cart__reassure {
    margin: 0 !important;
    display: block !important;
    text-align: center;
    font-size: .8rem;
    color: #64748b !important;
}
.shop-cart__auth-note {
    margin: 0 !important;
    font-size: .8rem;
    color: #5b6b7c !important;
    text-align: center;
    line-height: 1.4;
}
.shop-cart__trust {
    list-style: none;
    margin: 4px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #eef2f6;
    display: grid;
    gap: 6px;
}
.shop-cart__trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: #3d5a4a;
    font-weight: 600;
}
.shop-cart__trust i { color: #1f8a4c; font-size: .75rem; }
.shop-empty--panel {
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid var(--line, #dce5ef);
    border-radius: 14px;
}
.shop-empty--panel i {
    font-size: 1.6rem;
    color: var(--primary, #0b1f33);
    margin-bottom: 8px;
}
.shop-empty--panel h2 { font-size: 1.2rem; margin: 0 0 8px; }
.btn--ghost {
    background: transparent;
    border: 0;
    color: var(--primary, #0b1f33);
    text-decoration: underline;
    padding: 8px 4px;
}
.shop-checkout__welcome {
    margin: 0 0 4px;
    font-size: .9rem;
    color: #5b6b7c;
}
.shop-phone {
    display: grid;
    grid-template-columns: minmax(120px, 150px) 1fr;
    gap: 8px;
    align-items: stretch;
}
.shop-phone select,
.shop-phone input {
    width: 100%;
    border: 1px solid #c9d5e3 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font: inherit !important;
    background-color: #fff !important;
    color: #122033 !important;
}
.shop-phone select {
    padding-right: 38px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
    cursor: pointer;
}
.shop-phone select:focus,
.shop-phone input:focus {
    outline: none !important;
    border-color: #0b1f33 !important;
    box-shadow: 0 0 0 3px rgba(11, 31, 51, .12) !important;
}
@media (max-width: 640px) {
    .shop-phone { grid-template-columns: 1fr; }
}
.shop-checkout__fields,
.shop-checkout__summary {
    padding: 16px !important;
    border-radius: 14px !important;
}
.shop-checkout__grid { gap: 18px !important; }

@media (max-width: 1200px) {
    .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .shop-toolbar { grid-template-columns: 1fr 1fr; }
    .shop-grid { grid-template-columns: 1fr 1fr; }
    .shop-grid--list .shop-card,
    .shop-detail,
    .shop-cart__layout { grid-template-columns: 1fr; }
    .shop-detail__media { position: static; }
    .shop-cart__totals { position: static; }
    .shop-cart__panel-head { flex-direction: column; }
    .shop-cart__login-hint { text-align: left; }
}
@media (max-width: 640px) {
    .shop-toolbar { grid-template-columns: 1fr; }
    .shop-grid,
    .shop-grid--list { grid-template-columns: 1fr; }
    .shop-grid--list .shop-card { grid-template-columns: 1fr; }
    .shop-card__quick { display: none; }
    .shop-cart-fab__label { display: none; }
    .shop-cart__item {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb info remove"
            "thumb qty total";
        gap: 8px 10px;
    }
    .shop-cart__thumb { grid-area: thumb; width: 48px; height: 48px; }
    .shop-cart__info { grid-area: info; }
    .shop-qty--sm { grid-area: qty; }
    .shop-cart__line-total {
        grid-area: total;
        grid-template-columns: 1fr auto;
        align-items: center;
        min-width: 0;
        justify-items: end;
    }
    .shop-cart__remove { grid-area: remove; }
    .shop-trust-bar { font-size: .8rem; gap: 8px 12px; }
}
