/* ============================================================
   Care Ur Baby — Storefront Phase 3
   Product Details + Cart + Wishlist
   Scope: Theme 2 frontend presentation and responsive behavior only.
   Depends on Phase 1 design tokens. No commerce calculation changes.
   ============================================================ */

.phase1-storefront .phase3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--p1-primary);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.phase1-storefront .phase3-item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid var(--p1-border);
    border-radius: 999px;
    background: var(--p1-surface-soft);
    color: var(--p1-heading);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.phase1-storefront .phase3-link-button,
.phase1-storefront .phase3-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--p1-border);
    border-radius: 12px;
    background: #fff;
    color: var(--p1-heading);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.phase1-storefront .phase3-link-button:hover {
    border-color: var(--p1-primary);
    color: var(--p1-primary);
    background: var(--p1-primary-soft);
    transform: translateY(-1px);
}

/* ============================================================
   Product Details
   ============================================================ */
.phase1-storefront .phase3-product-page {
    overflow: clip;
    background: linear-gradient(180deg, #fbfdfc 0, #fff 420px);
}

.phase1-storefront .phase3-product-breadcrumb {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.phase1-storefront .phase3-product-breadcrumb .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.phase1-storefront .phase3-product-breadcrumb .breadcrumb::-webkit-scrollbar {
    display: none;
}

.phase1-storefront .phase3-product-breadcrumb .breadcrumb-item,
.phase1-storefront .phase3-product-breadcrumb .breadcrumb-item a {
    color: var(--p1-muted);
    font-size: 12px;
    text-decoration: none;
}

.phase1-storefront .phase3-product-breadcrumb .breadcrumb-item.active {
    max-width: 360px;
    overflow: hidden;
    color: var(--p1-heading);
    text-overflow: ellipsis;
}

.phase1-storefront .phase3-product-details {
    padding: 18px 0 clamp(46px, 5vw, 72px);
}

.phase1-storefront .phase3-product-layout {
    --bs-gutter-y: 28px;
}

.phase1-storefront .phase3-product-details .product-details__slider {
    position: sticky;
    top: 116px;
    padding: 12px;
    border: 1px solid var(--p1-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 42, 38, .06);
}

.phase1-storefront .phase3-product-details .product-details__slider-thumb {
    overflow: hidden;
    border-radius: 15px;
    background: #f7faf9;
}

.phase1-storefront .phase3-product-details .product-details-slider-single {
    height: clamp(390px, 42vw, 560px);
    background: #f8faf9;
}

.phase1-storefront .phase3-product-details .product-details-slider-single img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.phase1-storefront .phase3-product-details .product-details-slider-gallery {
    margin-top: 10px !important;
}

.phase1-storefront .phase3-product-details .product-details-slider-gallery .swiper-slide {
    height: auto;
}

.phase1-storefront .phase3-product-details .sm-gallery {
    height: 86px;
    padding: 5px;
    border: 1px solid var(--p1-border);
    border-radius: 11px;
    background: #fff;
}

.phase1-storefront .phase3-product-details .sm-gallery:hover {
    border-color: rgba(4, 106, 88, .42);
}

.phase1-storefront .phase3-buying-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px clamp(18px, 2.5vw, 32px);
    border: 1px solid var(--p1-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 42, 38, .07);
}

.phase1-storefront .phase3-buying-panel > * {
    min-width: 0;
}

.phase1-storefront .phase3-product-heading {
    order: 1;
}

.phase1-storefront .phase3-product-heading .title-animation {
    margin: 0 !important;
    color: var(--p1-heading);
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 780;
    letter-spacing: -.025em;
}

.phase1-storefront .phase3-product-price {
    order: 2;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 13px 0 0 !important;
}

.phase1-storefront .phase3-product-price h6 {
    margin: 0;
}

.phase1-storefront .phase3-product-price .main-price-container {
    color: var(--p1-primary);
    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1.1;
    font-weight: 850;
}

.phase1-storefront .phase3-product-price del {
    color: #9aa6a3;
    font-size: 15px;
    font-weight: 650;
}

.phase1-storefront .phase3-stock-category {
    order: 3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 13px 0 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--p1-border);
}

.phase1-storefront .phase3-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    white-space: nowrap;
}

.phase1-storefront .phase3-stock-badge.is-in-stock {
    background: #eaf7f0;
    color: #157347;
}

.phase1-storefront .phase3-stock-badge.is-out-of-stock {
    background: #fff0f1;
    color: #b4232f;
}

.phase1-storefront .phase3-category-link {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid var(--p1-border);
    border-radius: 999px;
    color: var(--p1-text);
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    text-decoration: none;
}

.phase1-storefront .phase3-category-link:hover {
    border-color: var(--p1-primary);
    color: var(--p1-primary);
}

.phase1-storefront .phase3-option-block {
    order: 4;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px;
    width: 100%;
    margin: 18px 0 0 !important;
}

.phase1-storefront .phase3-option-block > h4,
.phase1-storefront .phase3-option-block > p {
    flex: 0 0 70px;
    width: 70px !important;
    min-width: 70px;
    padding-top: 8px;
    color: var(--p1-heading) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.phase1-storefront .phase3-option-block .product-colors,
.phase1-storefront .phase3-option-block .product-sizes-container,
.phase1-storefront .phase3-option-block .product-sizes {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

.phase1-storefront .phase3-product-details .product-colors {
    gap: 12px;
}

.phase1-storefront .phase3-product-details .color-option-wrapper {
    min-width: 44px;
}

.phase1-storefront .phase3-product-details .product-colors .color-option {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #d7e0de, 0 3px 8px rgba(16, 42, 38, .08);
}

.phase1-storefront .phase3-product-details .product-colors .color-option.active {
    outline: 2px solid var(--p1-primary) !important;
    outline-offset: 3px;
}

.phase1-storefront .phase3-product-details .size-option {
    min-width: 46px !important;
    height: 38px !important;
    padding: 0 14px !important;
    border: 1px solid #d8e2df !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--p1-heading) !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

.phase1-storefront .phase3-product-details .size-option.active {
    border-color: var(--p1-primary) !important;
    background: var(--p1-primary) !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(4, 106, 88, .16) !important;
}

.phase1-storefront .phase3-product-details #openSizeModal {
    flex: 0 0 auto;
    min-height: 38px !important;
    height: 38px !important;
    margin-left: 8px !important;
    padding: 0 13px !important;
    border-radius: 9px !important;
    white-space: nowrap;
}

.phase1-storefront .phase3-lens-options {
    order: 5;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid var(--p1-border);
    border-radius: 14px;
    background: #fbfdfc;
}

.phase1-storefront .phase3-lens-options .lens-type-header-row {
    gap: 12px;
}

.phase1-storefront .phase3-lens-options .lens-choose-btn {
    width: auto !important;
    flex: 1 1 auto;
    justify-content: flex-end !important;
}

.phase1-storefront .phase3-lens-options .lens-choose-btn .form-check {
    width: auto !important;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 9px;
}

.phase1-storefront .phase3-assurance-grid {
    order: 6;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin: 20px 0 0 !important;
    padding: 10px !important;
    border: 1px solid var(--p1-border) !important;
    border-radius: 14px !important;
    background: var(--p1-surface-soft) !important;
}

.phase1-storefront .phase3-assurance-grid .phase5-assurance-item,
.phase1-storefront .phase3-assurance-grid a.phase5-assurance-item {
    min-height: 64px !important;
    padding: 9px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
}

.phase1-storefront .phase3-assurance-grid .phase5-assurance-icon {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    background: var(--p1-primary-soft) !important;
    color: var(--p1-primary) !important;
}

.phase1-storefront .phase3-assurance-grid .phase5-assurance-item strong {
    color: var(--p1-heading) !important;
    font-size: 11px !important;
}

.phase1-storefront .phase3-assurance-grid .phase5-assurance-item span:not(.phase5-assurance-icon) {
    color: var(--p1-muted) !important;
    font-size: 9px !important;
}

.phase1-storefront .phase3-purchase-actions {
    order: 7;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 20px 0 0 !important;
}

.phase1-storefront .phase3-quantity {
    width: 118px;
    margin: 0 !important;
}

.phase1-storefront .phase3-quantity .qty-btn-minus,
.phase1-storefront .phase3-quantity .qty-btn-plus,
.phase1-storefront .phase3-quantity .qty-input {
    min-height: 48px !important;
    height: 48px !important;
}

.phase1-storefront .phase3-quantity .qty-btn-minus,
.phase1-storefront .phase3-quantity .qty-btn-plus {
    flex: 0 0 36px;
    width: 36px !important;
    padding: 0 !important;
    border: 1px solid var(--p1-primary) !important;
}

.phase1-storefront .phase3-quantity .qty-input {
    flex: 1 1 auto;
    min-width: 44px;
    width: 46px !important;
    padding: 0 4px !important;
    border-top: 1px solid var(--p1-border) !important;
    border-bottom: 1px solid var(--p1-border) !important;
    color: var(--p1-heading);
    font-size: 14px;
    font-weight: 800;
}

.phase1-storefront .phase3-add-cart,
.phase1-storefront .phase3-buy-now {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}

.phase1-storefront .phase3-add-cart {
    border: 1px solid var(--p1-primary) !important;
    background: var(--p1-primary) !important;
    color: #fff !important;
}

.phase1-storefront .phase3-buy-now {
    border: 1px solid var(--p1-primary) !important;
    background: #fff !important;
    color: var(--p1-primary) !important;
}

.phase1-storefront .phase3-soldout {
    order: 7;
    margin: 20px 0 0 !important;
    padding: 13px 15px;
    border: 1px solid #f0d3d6;
    border-radius: 11px;
    background: #fff5f5;
}

.phase1-storefront .phase3-soldout span {
    color: #b4232f !important;
    font-size: 13px;
    font-weight: 850 !important;
}

.phase1-storefront .phase3-product-note {
    order: 8;
    margin-top: 16px !important;
}

.phase1-storefront .phase3-product-note label {
    color: var(--p1-heading);
    font-size: 12px !important;
    font-weight: 800 !important;
}

.phase1-storefront .phase3-product-note textarea {
    min-height: 74px;
    padding: 11px 12px !important;
    border: 1px solid var(--p1-border) !important;
    border-radius: 10px !important;
    background: #fbfdfc;
    color: var(--p1-heading);
    font-size: 13px !important;
    box-shadow: none !important;
}

.phase1-storefront .phase3-product-meta-list {
    order: 9;
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--p1-border);
}

.phase1-storefront .phase3-product-meta-list p {
    margin: 0 !important;
    color: var(--p1-muted);
    font-size: 12px !important;
    line-height: 1.5;
}

.phase1-storefront .phase3-product-meta-list strong {
    color: var(--p1-heading);
}

.phase1-storefront .phase3-secondary-actions {
    order: 10;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

.phase1-storefront .phase3-secondary-actions > button {
    width: 100% !important;
    min-height: 42px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.phase1-storefront .phase3-quick-overview {
    order: 11;
    margin: 17px 0 0 !important;
    border: 1px solid var(--p1-border) !important;
    border-radius: 13px !important;
    overflow: hidden;
    box-shadow: none !important;
}

.phase1-storefront .phase3-quick-overview .card-header {
    padding: 10px 13px;
    border-bottom: 1px solid var(--p1-border);
    background: var(--p1-surface-soft);
}

.phase1-storefront .phase3-quick-overview .card-body {
    padding: 12px 13px;
}

.phase1-storefront .phase3-quick-overview li {
    align-items: flex-start !important;
    gap: 10px;
    margin-bottom: 8px !important;
}

.phase1-storefront .phase3-quick-overview li:last-child {
    margin-bottom: 0 !important;
}

.phase1-storefront .phase3-quick-overview li strong,
.phase1-storefront .phase3-quick-overview li span {
    width: auto !important;
}

.phase1-storefront .phase3-quick-overview li strong {
    flex: 0 0 38%;
    font-size: 12px;
}

.phase1-storefront .phase3-quick-overview li span {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.phase1-storefront .phase3-product-tabs {
    margin-top: 6px;
    padding: clamp(42px, 5vw, 72px) 0;
    border-top: 1px solid var(--p1-border);
    background: #fff;
}

.phase1-storefront .phase3-product-tabs .product-tab__inner {
    padding: 0;
}

.phase1-storefront .phase3-product-tabs .product-tab__btns {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px;
    border: 1px solid var(--p1-border);
    border-radius: 14px;
    background: var(--p1-surface-soft);
}

.phase1-storefront .phase3-product-tabs .product-tab__btn {
    min-height: 42px;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--p1-text);
    font-size: 12px;
    font-weight: 800;
}

.phase1-storefront .phase3-product-tabs .product-tab__btn.active {
    background: #fff;
    color: var(--p1-primary);
    box-shadow: 0 4px 14px rgba(16, 42, 38, .08);
}

.phase1-storefront .phase3-product-tabs .product-tab-content-single {
    padding: clamp(18px, 2vw, 28px);
    border: 1px solid var(--p1-border);
    border-radius: 16px;
    background: #fff;
}

.phase1-storefront .phase3-product-tabs .content,
.phase1-storefront .phase3-product-tabs .product-desc {
    color: var(--p1-text);
    font-size: 15px;
    line-height: 1.75;
}

.phase1-storefront .phase3-product-tabs .product-desc img {
    height: auto !important;
    border-radius: 12px;
}

.phase1-storefront .phase3-product-tabs table {
    margin: 0;
    border-color: var(--p1-border);
}

.phase1-storefront .phase3-product-tabs th,
.phase1-storefront .phase3-product-tabs td {
    padding: 12px 14px;
    border-color: var(--p1-border);
    font-size: 13px;
    vertical-align: middle;
}

.phase1-storefront .phase3-product-tabs th {
    width: 34%;
    color: var(--p1-heading);
    background: var(--p1-surface-soft);
    font-weight: 800;
}

.phase1-storefront .phase3-product-tabs video {
    display: block;
    width: 100% !important;
    max-width: 950px !important;
    height: auto !important;
    max-height: 560px;
    margin: 0 auto;
    border-radius: 14px !important;
    background: #0f172a;
}

.phase1-storefront .phase3-related-products {
    padding: clamp(46px, 5vw, 76px) 0 clamp(66px, 6vw, 96px);
    background: var(--p1-surface-soft);
}

.phase1-storefront .phase3-related-products .title-animation {
    margin-bottom: 28px;
    font-size: clamp(27px, 3vw, 40px);
}

.phase1-storefront .phase3-related-products .swiper {
    padding: 4px 3px 8px;
}

.phase1-storefront .phase3-mobile-buybar {
    border-top-color: var(--p1-border) !important;
    background: rgba(255, 255, 255, .98) !important;
}

.phase1-storefront .phase3-mobile-buybar .phase5-mobile-add-btn {
    background: var(--p1-primary) !important;
}

/* ============================================================
   Cart
   ============================================================ */
.phase1-storefront .phase3-cart-page {
    padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 100px);
    background: linear-gradient(180deg, #fbfdfc 0, #fff 260px);
}

.phase1-storefront .phase3-cart-items-card,
.phase1-storefront .phase3-summary-card,
.phase1-storefront .phase3-wishlist-shell {
    border: 1px solid var(--p1-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 42, 38, .06);
    overflow: hidden;
}

.phase1-storefront .phase3-cart-card-heading,
.phase1-storefront .phase3-wishlist-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--p1-border);
}

.phase1-storefront .phase3-cart-card-heading h2,
.phase1-storefront .phase3-summary-card h2,
.phase1-storefront .phase3-wishlist-heading h2 {
    margin: 0;
    color: var(--p1-heading);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 780;
}

.phase1-storefront .phase3-cart-table {
    overflow-x: auto;
}

.phase1-storefront .phase3-cart-table table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.phase1-storefront .phase3-cart-table thead th {
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid var(--p1-border);
    background: var(--p1-surface-soft);
    color: var(--p1-muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.phase1-storefront .phase3-cart-table thead th:first-child {
    width: 48%;
}

.phase1-storefront .phase3-cart-table td {
    padding: 17px 18px;
    border: 0;
    border-bottom: 1px solid var(--p1-border);
    vertical-align: middle;
}

.phase1-storefront .phase3-cart-table tbody tr:last-child td {
    border-bottom: 0;
}

.phase1-storefront .phase3-cart-table .cart-product-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.phase1-storefront .phase3-cart-table .cart-product-wrapper .thumb {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    margin: 0;
}

.phase1-storefront .phase3-cart-table .cart-product-wrapper .thumb > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--p1-border);
    border-radius: 12px;
    background: var(--p1-surface-soft);
}

.phase1-storefront .phase3-cart-table .cart-product-wrapper .thumb img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.phase1-storefront .phase3-cart-table .delete-item {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid #f0d3d6;
    border-radius: 50%;
    background: #fff;
    color: #b4232f;
    font-size: 17px;
    box-shadow: 0 4px 10px rgba(16, 42, 38, .08);
}

.phase1-storefront .phase3-cart-table .cart-product-wrapper .content {
    flex: 1 1 auto;
    min-width: 0;
}

.phase1-storefront .phase3-cart-product-name a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--p1-heading) !important;
    font-size: 14px;
    line-height: 1.38;
    font-weight: 800;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.phase1-storefront .phase3-cart-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 7px;
}

.phase1-storefront .phase3-cart-variants span {
    display: inline-flex;
    padding: 3px 7px;
    border-radius: 7px;
    background: var(--p1-surface-soft);
    color: var(--p1-muted);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 650;
}

.phase1-storefront .phase3-cart-table .price,
.phase1-storefront .phase3-cart-table .sub {
    color: var(--p1-heading);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.phase1-storefront .phase3-cart-table .sub {
    color: var(--p1-primary);
}

.phase1-storefront .phase3-cart-table .measure {
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    align-items: center;
    width: auto;
    border: 1px solid var(--p1-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.phase1-storefront .phase3-cart-table .measure button,
.phase1-storefront .phase3-cart-table .measure .item-quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--p1-heading);
    font-size: 11px;
}

.phase1-storefront .phase3-cart-table .measure button:hover {
    background: var(--p1-primary-soft);
    color: var(--p1-primary);
}

.phase1-storefront .phase3-cart-table .measure .item-quantity {
    border-right: 1px solid var(--p1-border);
    border-left: 1px solid var(--p1-border);
    font-size: 12px;
    font-weight: 850;
}

.phase1-storefront .phase3-cart-footer-actions {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 !important;
    padding: 14px 20px !important;
    border-top: 1px solid var(--p1-border);
    background: #fff !important;
}

.phase1-storefront .phase3-auto-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--p1-muted);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 650;
}

.phase1-storefront .phase3-auto-update i {
    color: var(--p1-primary);
    font-size: 16px;
}

.phase1-storefront .phase3-coupon-box {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin: 0 !important;
    padding: 18px 20px !important;
    border-top: 1px solid var(--p1-border);
    background: var(--p1-surface-soft) !important;
}

.phase1-storefront .phase3-coupon-box .left-c h6 {
    margin: 0;
    color: var(--p1-heading);
    font-size: 15px;
    font-weight: 800;
}

.phase1-storefront .phase3-coupon-box .right-c {
    width: 100%;
}

.phase1-storefront .phase3-coupon-box .right-c form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}

.phase1-storefront .phase3-coupon-box .input-single {
    flex: 1 1 auto;
    max-width: 360px;
    margin: 0;
}

.phase1-storefront .phase3-coupon-box input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #dce6e3;
    border-radius: 10px;
    background: #fff;
    color: var(--p1-heading);
    font-size: 13px;
    outline: none;
}

.phase1-storefront .phase3-coupon-box input:focus {
    border-color: var(--p1-primary);
    box-shadow: 0 0 0 3px rgba(4, 106, 88, .08);
}

.phase1-storefront .phase3-coupon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--p1-primary);
    border-radius: 10px;
    background: var(--p1-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.phase1-storefront .phase3-coupon-message {
    text-align: right;
    font-size: 11px;
}

.phase1-storefront .phase3-cart-summary {
    position: sticky;
    top: 116px;
}

.phase1-storefront .phase3-summary-card .card-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid var(--p1-border);
    background: #fff;
}

.phase1-storefront .phase3-summary-card .card-body {
    padding: 18px 20px 20px;
}

.phase1-storefront .phase3-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--p1-border);
    color: var(--p1-text);
    font-size: 13px;
}

.phase1-storefront .phase3-summary-row strong {
    color: var(--p1-heading);
    font-size: 13px;
    font-weight: 850;
    text-align: right;
    white-space: nowrap;
}

.phase1-storefront .phase3-discount-row strong {
    color: #157347;
}

.phase1-storefront .phase3-total-row {
    margin-top: 3px;
    padding: 16px 0 8px;
    border-bottom: 0;
    color: var(--p1-heading);
    font-size: 15px;
    font-weight: 800;
}

.phase1-storefront .phase3-total-row strong {
    color: var(--p1-primary);
    font-size: 20px;
}

.phase1-storefront .phase3-remove-coupon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff0f1;
    color: #b4232f;
    font-size: 9px;
}

.phase1-storefront .phase3-summary-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 13px 0 16px;
    color: var(--p1-muted);
    font-size: 10px;
    line-height: 1.45;
}

.phase1-storefront .phase3-summary-note i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--p1-primary);
    font-size: 15px;
}

.phase1-storefront .phase3-checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 10px 15px;
    border: 1px solid var(--p1-primary);
    border-radius: 11px;
    background: var(--p1-primary);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(4, 106, 88, .15);
}

.phase1-storefront .phase3-checkout-button:hover {
    color: #fff;
    background: var(--p1-primary-dark);
}

/* ============================================================
   Wishlist
   ============================================================ */
.phase1-storefront .phase3-wishlist-page {
    padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 100px) !important;
    background: linear-gradient(180deg, #fbfdfc 0, #fff 260px);
}

.phase1-storefront .phase3-wishlist-heading {
    align-items: flex-start;
}

.phase1-storefront .phase3-wishlist-heading > div:first-child {
    max-width: 660px;
}

.phase1-storefront .phase3-wishlist-heading p {
    margin: 7px 0 0;
    color: var(--p1-muted);
    font-size: 13px;
    line-height: 1.55;
}

.phase1-storefront .phase3-wishlist-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.phase1-storefront .phase3-wishlist-table-wrap {
    margin: 0;
    overflow: auto;
}

.phase1-storefront .phase3-wishlist-table {
    min-width: 760px;
    margin: 0;
    border: 0;
}

.phase1-storefront .phase3-wishlist-table thead th {
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid var(--p1-border);
    background: var(--p1-surface-soft);
    color: var(--p1-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.phase1-storefront .phase3-wishlist-table thead th:first-child {
    width: 44%;
}

.phase1-storefront .phase3-wishlist-table td {
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid var(--p1-border);
    vertical-align: middle;
}

.phase1-storefront .phase3-wishlist-table tbody tr:last-child td {
    border-bottom: 0;
}

.phase1-storefront .phase3-wishlist-product-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.phase1-storefront .phase3-wishlist-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    overflow: hidden;
    border: 1px solid var(--p1-border);
    border-radius: 12px;
    background: var(--p1-surface-soft);
}

.phase1-storefront .phase3-wishlist-image img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.phase1-storefront .phase3-wishlist-product-copy {
    min-width: 0;
}

.phase1-storefront .phase3-wishlist-name {
    display: -webkit-box;
    overflow: hidden;
    color: var(--p1-heading);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.phase1-storefront .phase3-wishlist-name:hover {
    color: var(--p1-primary);
}

.phase1-storefront .phase3-wishlist-product-copy > span {
    display: block;
    margin-top: 5px;
    color: var(--p1-muted);
    font-size: 10px;
}

.phase1-storefront .phase3-wishlist-price strong {
    color: var(--p1-primary);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.phase1-storefront .phase3-wishlist-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--p1-primary);
    border-radius: 10px;
    background: var(--p1-primary);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    white-space: nowrap;
}

.phase1-storefront .phase3-wishlist-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #f0d3d6;
    border-radius: 10px;
    background: #fff;
    color: #b4232f;
    font-size: 17px;
}

.phase1-storefront .phase3-wishlist-remove:hover {
    background: #fff0f1;
}

/* Shared empty states */
.phase1-storefront .phase3-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 620px;
    min-height: 340px;
    margin: 0 auto;
    padding: 36px 24px;
    border: 1px dashed #d7e1de;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.phase1-storefront .phase3-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 17px;
    border-radius: 50%;
    background: var(--p1-primary-soft);
    color: var(--p1-primary);
    font-size: 34px;
}

.phase1-storefront .phase3-empty-state h3 {
    margin: 0;
    font-size: clamp(23px, 3vw, 30px);
}

.phase1-storefront .phase3-empty-state p {
    max-width: 420px;
    margin: 9px 0 20px;
    color: var(--p1-muted);
    font-size: 13px;
}

.phase1-storefront .phase3-empty-button {
    border-color: var(--p1-primary);
    background: var(--p1-primary);
    color: #fff;
}

.phase1-storefront .phase3-empty-button:hover {
    border-color: var(--p1-primary-dark);
    background: var(--p1-primary-dark);
    color: #fff;
}

/* ============================================================
   Responsive — tablet
   ============================================================ */
@media (max-width: 1199.98px) {
    .phase1-storefront .phase3-product-details .product-details__slider,
    .phase1-storefront .phase3-cart-summary {
        top: 92px;
    }

    .phase1-storefront .phase3-buying-panel {
        padding: 20px;
    }

    .phase1-storefront .phase3-purchase-actions {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .phase1-storefront .phase3-buy-now {
        grid-column: 2;
    }

    .phase1-storefront .phase3-secondary-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .phase1-storefront .phase3-secondary-actions > button:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .phase1-storefront .phase3-product-details .product-details__slider {
        position: static;
    }

    .phase1-storefront .phase3-product-details .product-details-slider-single {
        height: clamp(330px, 47vw, 450px);
    }

    .phase1-storefront .phase3-buying-panel {
        padding: 18px;
    }

    .phase1-storefront .phase3-option-block {
        gap: 9px;
    }

    .phase1-storefront .phase3-option-block > h4,
    .phase1-storefront .phase3-option-block > p {
        flex-basis: 58px;
        width: 58px !important;
        min-width: 58px;
    }

    .phase1-storefront .phase3-purchase-actions {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .phase1-storefront .phase3-add-cart,
    .phase1-storefront .phase3-buy-now {
        font-size: 12px !important;
    }

    .phase1-storefront .phase3-cart-summary {
        position: static;
    }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 767.98px) {
    .phase1-storefront .phase3-product-page {
        overflow: hidden;
    }

    .phase1-storefront .phase3-product-breadcrumb {
        padding-top: 9px !important;
        padding-bottom: 9px !important;
    }

    .phase1-storefront .phase3-product-breadcrumb .breadcrumb-item,
    .phase1-storefront .phase3-product-breadcrumb .breadcrumb-item a {
        font-size: 10px;
    }

    .phase1-storefront .phase3-product-details {
        padding: 5px 0 90px !important;
    }

    .phase1-storefront .phase3-product-layout {
        --bs-gutter-y: 16px;
    }

    .phase1-storefront .phase3-product-details .product-details__slider {
        padding: 8px;
        border-radius: 15px;
        box-shadow: 0 6px 20px rgba(16, 42, 38, .05);
    }

    .phase1-storefront .phase3-product-details .product-details__slider-thumb {
        border-radius: 11px;
    }

    .phase1-storefront .phase3-product-details .product-details-slider-single {
        height: min(92vw, 410px);
    }

    .phase1-storefront .phase3-product-details .product-details-slider-single img {
        padding: 4px;
    }

    .phase1-storefront .phase3-product-details .product-details-slider-gallery {
        margin-top: 8px !important;
    }

    .phase1-storefront .phase3-product-details .sm-gallery {
        height: 68px;
        border-radius: 9px;
    }

    .phase1-storefront .phase3-buying-panel {
        padding: 17px 14px;
        border-radius: 15px;
        box-shadow: none;
    }

    .phase1-storefront .phase3-product-heading .title-animation {
        font-size: clamp(23px, 7vw, 30px);
        line-height: 1.18;
    }

    .phase1-storefront .phase3-product-price {
        margin-top: 9px !important;
    }

    .phase1-storefront .phase3-product-price .main-price-container {
        font-size: 25px;
    }

    .phase1-storefront .phase3-stock-category {
        margin-top: 10px;
        padding-bottom: 14px;
    }

    .phase1-storefront .phase3-option-block {
        display: block !important;
        margin-top: 16px !important;
    }

    .phase1-storefront .phase3-option-block > h4,
    .phase1-storefront .phase3-option-block > p {
        display: block;
        width: auto !important;
        min-width: 0;
        margin: 0 0 10px !important;
        padding: 0;
    }

    .phase1-storefront .phase3-product-details .product-colors {
        gap: 11px;
    }

    .phase1-storefront .phase3-product-details #size-container {
        position: relative;
        padding-bottom: 44px;
    }

    .phase1-storefront .phase3-product-details #openSizeModal {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0 !important;
    }

    .phase1-storefront .phase3-lens-options {
        margin-top: 16px;
        padding: 12px;
    }

    .phase1-storefront .phase3-lens-options .lens-type-header-row {
        display: block !important;
    }

    .phase1-storefront .phase3-lens-options .lens-choose-btn {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        width: 100% !important;
        margin-top: 9px;
    }

    .phase1-storefront .phase3-lens-options .lens-choose-btn .form-check {
        width: 100% !important;
        margin: 0 !important;
        padding: 8px 9px;
    }

    .phase1-storefront .phase3-lens-options .lens-choose-btn label {
        font-size: 11px !important;
    }

    .phase1-storefront .phase3-lens-options .lens-summary-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .phase1-storefront .phase3-lens-options .lens-summary-prescription {
        grid-column: 1 / -1;
        width: 100% !important;
    }

    .phase1-storefront .phase3-lens-options .lens-summary-lensprice,
    .phase1-storefront .phase3-lens-options .lens-summary-total {
        display: block !important;
        width: 100% !important;
    }

    .phase1-storefront .phase3-assurance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 16px !important;
        padding: 7px !important;
    }

    .phase1-storefront .phase3-assurance-grid .phase5-assurance-item,
    .phase1-storefront .phase3-assurance-grid a.phase5-assurance-item {
        min-height: 66px !important;
        padding: 7px !important;
        gap: 6px !important;
    }

    .phase1-storefront .phase3-assurance-grid .phase5-assurance-icon {
        flex-basis: 28px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 15px !important;
    }

    .phase1-storefront .phase3-purchase-actions {
        display: grid !important;
        grid-template-columns: 104px minmax(0, 1fr) !important;
        gap: 8px !important;
        margin-top: 16px !important;
    }

    .phase1-storefront .phase3-quantity {
        width: 104px;
    }

    .phase1-storefront .phase3-quantity .qty-btn-minus,
    .phase1-storefront .phase3-quantity .qty-btn-plus {
        flex-basis: 32px;
        width: 32px !important;
    }

    .phase1-storefront .phase3-add-cart {
        display: flex !important;
    }

    .phase1-storefront .phase3-buy-now {
        display: flex !important;
        grid-column: 1 / -1 !important;
    }

    .phase1-storefront .phase3-product-note {
        margin-top: 14px !important;
    }

    .phase1-storefront .phase3-product-meta-list {
        margin-top: 14px;
    }

    .phase1-storefront .phase3-secondary-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 14px !important;
    }

    .phase1-storefront .phase3-secondary-actions > button:last-child {
        grid-column: 1 / -1 !important;
    }

    .phase1-storefront .phase3-quick-overview {
        margin-top: 14px !important;
    }

    .phase1-storefront .phase3-quick-overview li {
        display: grid !important;
        grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
    }

    .phase1-storefront .phase3-quick-overview li strong,
    .phase1-storefront .phase3-quick-overview li span {
        width: 100% !important;
    }

    .phase1-storefront .phase3-product-tabs {
        padding: 38px 0 42px;
    }

    .phase1-storefront .phase3-product-tabs .product-tab__btns {
        justify-content: flex-start !important;
        overflow-x: auto;
        margin-bottom: 14px;
        padding: 5px;
        scrollbar-width: none;
    }

    .phase1-storefront .phase3-product-tabs .product-tab__btns::-webkit-scrollbar {
        display: none;
    }

    .phase1-storefront .phase3-product-tabs .product-tab__btn {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 7px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .phase1-storefront .phase3-product-tabs .product-tab-content-single {
        padding: 14px;
        border-radius: 13px;
    }

    .phase1-storefront .phase3-product-tabs .content,
    .phase1-storefront .phase3-product-tabs .product-desc {
        font-size: 13px;
        line-height: 1.7;
    }

    .phase1-storefront .phase3-product-tabs .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .phase1-storefront .phase3-product-tabs th,
    .phase1-storefront .phase3-product-tabs td {
        padding: 10px;
        font-size: 11px;
    }

    .phase1-storefront .phase3-related-products {
        padding: 42px 0 72px;
    }

    .phase1-storefront .phase3-related-products .title-animation {
        margin-bottom: 20px;
        font-size: 27px;
    }

    /* Cart becomes product cards on mobile. */
    .phase1-storefront .phase3-cart-page,
    .phase1-storefront .phase3-wishlist-page {
        padding: 34px 0 76px !important;
    }

    .phase1-storefront .phase3-cart-items-card,
    .phase1-storefront .phase3-summary-card,
    .phase1-storefront .phase3-wishlist-shell {
        border-radius: 15px;
        box-shadow: none;
    }

    .phase1-storefront .phase3-cart-card-heading,
    .phase1-storefront .phase3-wishlist-heading {
        padding: 16px 14px;
    }

    .phase1-storefront .phase3-cart-card-heading h2,
    .phase1-storefront .phase3-summary-card h2,
    .phase1-storefront .phase3-wishlist-heading h2 {
        font-size: 19px;
    }

    .phase1-storefront .phase3-cart-table {
        overflow: visible;
        padding: 10px;
    }

    .phase1-storefront .phase3-cart-table table,
    .phase1-storefront .phase3-cart-table tbody,
    .phase1-storefront .phase3-cart-table tr,
    .phase1-storefront .phase3-cart-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .phase1-storefront .phase3-cart-table thead {
        display: none;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        margin-bottom: 10px;
        padding: 12px;
        border: 1px solid var(--p1-border);
        border-radius: 13px;
        background: #fff;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-row:last-child {
        margin-bottom: 0;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-row td {
        padding: 10px 0;
        border: 0;
        border-top: 1px solid var(--p1-border);
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-row .phase3-cart-product-cell {
        grid-column: 1 / -1;
        padding-top: 0;
        padding-bottom: 12px;
        border-top: 0;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-data {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 50px;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-data::before {
        content: attr(data-label);
        color: var(--p1-muted);
        font-size: 10px;
        font-weight: 750;
    }

    .phase1-storefront .phase3-cart-table .cart-product-wrapper {
        align-items: flex-start;
        gap: 11px;
    }

    .phase1-storefront .phase3-cart-table .cart-product-wrapper .thumb {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
    }

    .phase1-storefront .phase3-cart-product-name a {
        font-size: 13px;
    }

    .phase1-storefront .phase3-cart-table .price,
    .phase1-storefront .phase3-cart-table .sub {
        font-size: 12px;
    }

    .phase1-storefront .phase3-cart-table .measure {
        grid-template-columns: 30px 34px 30px;
    }

    .phase1-storefront .phase3-cart-table .measure button,
    .phase1-storefront .phase3-cart-table .measure .item-quantity {
        height: 32px;
        min-height: 32px;
    }

    .phase1-storefront .phase3-cart-footer-actions {
        display: block !important;
        padding: 13px 14px !important;
    }

    .phase1-storefront .phase3-cart-footer-actions .phase3-link-button {
        width: 100%;
    }

    .phase1-storefront .phase3-auto-update {
        justify-content: center;
        width: 100%;
        margin-top: 9px;
        text-align: center;
    }

    .phase1-storefront .phase3-coupon-box {
        display: block !important;
        padding: 15px 14px !important;
    }

    .phase1-storefront .phase3-coupon-box .right-c {
        margin-top: 10px;
    }

    .phase1-storefront .phase3-coupon-box .right-c form {
        align-items: stretch;
    }

    .phase1-storefront .phase3-coupon-box .input-single {
        max-width: none;
    }

    .phase1-storefront .phase3-coupon-message {
        text-align: left;
    }

    .phase1-storefront .phase3-summary-card .card-header,
    .phase1-storefront .phase3-summary-card .card-body {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Wishlist becomes clean product cards on mobile. */
    .phase1-storefront .phase3-wishlist-heading {
        display: block;
    }

    .phase1-storefront .phase3-wishlist-heading p {
        font-size: 12px;
    }

    .phase1-storefront .phase3-wishlist-heading-actions {
        justify-content: flex-start;
        margin-top: 13px;
    }

    .phase1-storefront .phase3-wishlist-heading-actions .phase3-link-button {
        flex: 1 1 auto;
    }

    .phase1-storefront .phase3-wishlist-table-wrap {
        overflow: visible;
        padding: 10px;
    }

    .phase1-storefront .phase3-wishlist-table,
    .phase1-storefront .phase3-wishlist-table tbody,
    .phase1-storefront .phase3-wishlist-table tr,
    .phase1-storefront .phase3-wishlist-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .phase1-storefront .phase3-wishlist-table thead {
        display: none;
    }

    .phase1-storefront .phase3-wishlist-row {
        position: relative;
        margin-bottom: 10px;
        padding: 12px;
        border: 1px solid var(--p1-border);
        border-radius: 13px;
        background: #fff;
    }

    .phase1-storefront .phase3-wishlist-row:last-child {
        margin-bottom: 0;
    }

    .phase1-storefront .phase3-wishlist-table .phase3-wishlist-row td {
        padding: 9px 0;
        border: 0;
        border-top: 1px solid var(--p1-border);
    }

    .phase1-storefront .phase3-wishlist-table .phase3-wishlist-row .phase3-wishlist-product {
        padding: 0 42px 12px 0;
        border-top: 0;
    }

    .phase1-storefront .phase3-wishlist-image {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
    }

    .phase1-storefront .phase3-wishlist-name {
        font-size: 13px;
    }

    .phase1-storefront .phase3-wishlist-data {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 46px;
    }

    .phase1-storefront .phase3-wishlist-data::before {
        content: attr(data-label);
        color: var(--p1-muted);
        font-size: 10px;
        font-weight: 750;
    }

    .phase1-storefront .phase3-wishlist-cart-btn {
        min-height: 38px;
    }

    .phase1-storefront .phase3-wishlist-remove-cell {
        position: absolute;
        top: 10px;
        right: 10px;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .phase1-storefront .phase3-wishlist-remove {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .phase1-storefront .phase3-empty-state {
        min-height: 300px;
        padding: 30px 18px;
        border-radius: 15px;
    }

    .phase1-storefront .phase3-empty-icon {
        width: 62px;
        height: 62px;
        font-size: 29px;
    }
}

@media (max-width: 430px) {
    .phase1-storefront .phase3-product-details .product-details-slider-single {
        height: min(94vw, 390px);
    }

    .phase1-storefront .phase3-assurance-grid .phase5-assurance-item strong {
        font-size: 10px !important;
    }

    .phase1-storefront .phase3-assurance-grid .phase5-assurance-item span:not(.phase5-assurance-icon) {
        font-size: 8px !important;
    }

    .phase1-storefront .phase3-purchase-actions {
        grid-template-columns: 96px minmax(0, 1fr) !important;
    }

    .phase1-storefront .phase3-quantity {
        width: 96px;
    }

    .phase1-storefront .phase3-quantity .qty-btn-minus,
    .phase1-storefront .phase3-quantity .qty-btn-plus {
        flex-basis: 30px;
        width: 30px !important;
    }

    .phase1-storefront .phase3-add-cart,
    .phase1-storefront .phase3-buy-now {
        padding: 0 9px !important;
        font-size: 11px !important;
    }

    .phase1-storefront .phase3-mobile-buybar .phase5-mobile-add-btn {
        min-width: 132px !important;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-row {
        grid-template-columns: 1fr;
    }

    .phase1-storefront .phase3-cart-table .phase3-cart-product-cell {
        grid-column: auto !important;
    }

    .phase1-storefront .phase3-cart-card-heading {
        align-items: flex-start;
    }
}

@media (max-width: 359.98px) {
    .phase1-storefront .phase3-product-details .product-details-slider-single {
        height: 310px;
    }

    .phase1-storefront .phase3-buying-panel {
        padding-left: 12px;
        padding-right: 12px;
    }

    .phase1-storefront .phase3-product-heading .title-animation {
        font-size: 22px;
    }

    .phase1-storefront .phase3-assurance-grid {
        gap: 5px !important;
        padding: 5px !important;
    }

    .phase1-storefront .phase3-assurance-grid .phase5-assurance-item,
    .phase1-storefront .phase3-assurance-grid a.phase5-assurance-item {
        min-height: 64px !important;
        padding: 6px 5px !important;
    }

    .phase1-storefront .phase3-purchase-actions {
        grid-template-columns: 90px minmax(0, 1fr) !important;
    }

    .phase1-storefront .phase3-quantity {
        width: 90px;
    }

    .phase1-storefront .phase3-mobile-buybar .phase5-mobile-add-btn {
        min-width: 122px !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .phase1-storefront .phase3-coupon-box .right-c form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 78px;
    }

    .phase1-storefront .phase3-wishlist-heading-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .phase1-storefront .phase3-wishlist-heading-actions .phase3-item-count {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phase1-storefront .phase3-product-page *,
    .phase1-storefront .phase3-cart-page *,
    .phase1-storefront .phase3-wishlist-page * {
        scroll-behavior: auto !important;
    }
}


/* ============================================================
   Cart mobile hardening — compact native cards
   Keeps the desktop table untouched while avoiding legacy table
   rules that can stretch cart rows on narrow screens.
   ============================================================ */
.phase1-storefront .phase3-mobile-cart-list {
    display: none;
}

@media (max-width: 767.98px) {
    .phase1-storefront .phase3-cart-page {
        padding: 24px 0 64px !important;
    }

    .phase1-storefront .phase3-cart-page > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .phase1-storefront .phase3-cart-layout {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 16px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .phase1-storefront .phase3-cart-layout > [class*="col-"] {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .phase1-storefront .phase3-cart-items-card,
    .phase1-storefront .phase3-summary-card {
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .phase1-storefront .phase3-cart-card-heading {
        align-items: center !important;
        gap: 12px !important;
        padding: 16px !important;
    }

    .phase1-storefront .phase3-cart-card-heading h2 {
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .phase1-storefront .phase3-cart-card-heading .phase3-item-count {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .phase1-storefront .phase3-cart-desktop-table {
        display: none !important;
    }

    .phase1-storefront .phase3-mobile-cart-list {
        display: grid !important;
        gap: 12px !important;
        padding: 12px !important;
        background: #f8fbfa !important;
    }

    .phase1-storefront .phase3-mobile-cart-item {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 14px !important;
        border: 1px solid var(--p1-border) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 5px 16px rgba(16, 42, 38, .045) !important;
    }

    .phase1-storefront .phase3-mobile-cart-remove {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #f2cfd3 !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: #d92d3a !important;
        font-size: 21px !important;
        line-height: 1 !important;
        box-shadow: 0 4px 12px rgba(16, 42, 38, .08) !important;
    }

    .phase1-storefront .phase3-mobile-cart-product {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 12px !important;
        min-width: 0 !important;
        padding-right: 32px !important;
    }

    .phase1-storefront .phase3-mobile-cart-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 92px !important;
        height: 92px !important;
        overflow: hidden !important;
        border: 1px solid var(--p1-border) !important;
        border-radius: 12px !important;
        background: var(--p1-surface-soft) !important;
    }

    .phase1-storefront .phase3-mobile-cart-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 4px !important;
        object-fit: contain !important;
    }

    .phase1-storefront .phase3-mobile-cart-copy {
        min-width: 0 !important;
        padding-top: 2px !important;
    }

    .phase1-storefront .phase3-mobile-cart-name {
        display: -webkit-box !important;
        overflow: hidden !important;
        margin: 0 !important;
        color: var(--p1-heading) !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        overflow-wrap: anywhere !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .phase1-storefront .phase3-mobile-cart-options {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-top: 8px !important;
    }

    .phase1-storefront .phase3-mobile-cart-options span {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 4px 7px !important;
        border-radius: 7px !important;
        background: var(--p1-surface-soft) !important;
        color: var(--p1-muted) !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
        font-weight: 650 !important;
        overflow-wrap: anywhere !important;
    }

    .phase1-storefront .phase3-mobile-cart-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 14px !important;
        padding-top: 12px !important;
        border-top: 1px solid var(--p1-border) !important;
    }

    .phase1-storefront .phase3-mobile-cart-stat {
        min-width: 0 !important;
    }

    .phase1-storefront .phase3-mobile-cart-stat span,
    .phase1-storefront .phase3-mobile-cart-quantity-row > span {
        display: block !important;
        margin: 0 0 3px !important;
        color: var(--p1-muted) !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
    }

    .phase1-storefront .phase3-mobile-cart-stat strong {
        display: block !important;
        color: var(--p1-heading) !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        font-weight: 850 !important;
        white-space: nowrap !important;
    }

    .phase1-storefront .phase3-mobile-cart-subtotal {
        text-align: right !important;
    }

    .phase1-storefront .phase3-mobile-cart-subtotal strong {
        color: var(--p1-primary) !important;
    }

    .phase1-storefront .phase3-mobile-cart-quantity-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin-top: 11px !important;
        padding-top: 11px !important;
        border-top: 1px solid var(--p1-border) !important;
    }

    .phase1-storefront .phase3-mobile-cart-quantity-row > span {
        margin: 0 !important;
    }

    .phase1-storefront .phase3-mobile-cart-measure {
        display: grid !important;
        grid-template-columns: 34px 38px 34px !important;
        align-items: center !important;
        width: 106px !important;
        max-width: 106px !important;
        min-width: 106px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid var(--p1-border) !important;
        border-radius: 9px !important;
        background: #fff !important;
    }

    .phase1-storefront .phase3-mobile-cart-measure button,
    .phase1-storefront .phase3-mobile-cart-measure .item-quantity {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 34px !important;
        min-width: 0 !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: var(--p1-heading) !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    .phase1-storefront .phase3-mobile-cart-measure .item-quantity {
        border-right: 1px solid var(--p1-border) !important;
        border-left: 1px solid var(--p1-border) !important;
        font-size: 12px !important;
        font-weight: 850 !important;
    }

    .phase1-storefront .phase3-cart-footer-actions {
        padding: 12px !important;
    }

    .phase1-storefront .phase3-cart-footer-actions .phase3-link-button {
        min-height: 44px !important;
        border-radius: 10px !important;
    }

    .phase1-storefront .phase3-auto-update {
        margin-top: 8px !important;
        font-size: 10px !important;
    }

    .phase1-storefront .phase3-coupon-box {
        padding: 14px 12px !important;
    }

    .phase1-storefront .phase3-cart-summary {
        position: static !important;
        top: auto !important;
    }

    .phase1-storefront .phase3-summary-card .card-header {
        padding: 16px 15px 13px !important;
    }

    .phase1-storefront .phase3-summary-card .card-body {
        padding: 14px 15px 16px !important;
    }
}

@media (max-width: 359.98px) {
    .phase1-storefront .phase3-cart-page > .container {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    .phase1-storefront .phase3-mobile-cart-list {
        padding: 9px !important;
    }

    .phase1-storefront .phase3-mobile-cart-item {
        padding: 11px !important;
    }

    .phase1-storefront .phase3-mobile-cart-product {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .phase1-storefront .phase3-mobile-cart-image {
        width: 78px !important;
        height: 78px !important;
    }

    .phase1-storefront .phase3-mobile-cart-name {
        font-size: 13px !important;
    }
}
