:root{
    --amz-navy:#131921;
    --amz-sub:#232f3e;
    --amz-orange:#ff9900;
    --amz-orange-dark:#e68a00;
    --amz-yellow:#febd69;
    --product-image-bg:#F7F4F7;
    --page-bg:#eaeded;
    --logo-alfi-color:#ED1C24;
    --logo-mart-color:#FFFFFF;
    --shadow:0 1px 4px rgba(0,0,0,.14);
}

*{box-sizing:border-box}
body{background:var(--page-bg);min-width:320px;font-family:"Amazon Ember",Arial,sans-serif;color:#0f1111}
.amazon-header{background:var(--amz-navy);box-shadow:0 2px 6px rgba(0,0,0,.22)}
.amazon-header .alfi-mainbar,.amazon-header .subnav{width:100%;max-width:none;margin:0;padding-left:clamp(12px,2vw,36px)!important;padding-right:clamp(12px,2vw,36px)!important}
.alfi-mainbar{min-height:72px;gap:18px;flex-wrap:nowrap}
.alfi-logo{position:relative;color:#fff!important;font-weight:800;margin-right:.45rem;min-width:172px;line-height:1;text-decoration:none;letter-spacing:-.4px;display:flex;align-items:center}.alfi-logo-img{display:block;width:172px;height:45px;object-fit:contain}.alfi-logo-text{font-size:1.55rem;display:inline-block}
.alfi-logo-art{position:relative;display:block;width:172px;aspect-ratio:998/269;flex:0 0 auto}
.alfi-logo-layer{position:absolute;inset:0;display:block;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.alfi-logo-layer-alfi{color:var(--logo-alfi-color);-webkit-mask-image:url("/images/alfimart-logo-alfi-mask.png");mask-image:url("/images/alfimart-logo-alfi-mask.png")}
.alfi-logo-layer-mart{color:var(--logo-mart-color);-webkit-mask-image:url("/images/alfimart-logo-mart-mask.png");mask-image:url("/images/alfimart-logo-mart-mask.png")}
.delivery-block{align-items:center;gap:4px;color:#fff;text-decoration:none;border:1px solid transparent;border-radius:3px;padding:8px 9px;min-width:128px;max-width:190px}.delivery-block:hover,.account-link:hover,.orders-link:hover,.cart-link:hover,.language-menu .nav-link:hover{border-color:rgba(255,255,255,.65);color:#fff!important}.delivery-block small{display:block;color:#c8d0d8;line-height:1;max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delivery-block strong{display:block;line-height:1.1;max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-form.alfi-search{flex:1;min-width:280px;max-width:980px;height:46px;margin:0 auto}.search-category{max-width:78px;border-radius:7px 0 0 7px!important;background:#f3f3f3;border:0;border-right:1px solid #d5d9d9;color:#333}.search-input{border-radius:0!important;border:0;font-size:1rem;padding-left:14px}.search-submit{border-radius:0 7px 7px 0!important;background:var(--amz-yellow);border:0;color:#111;font-weight:700;width:68px;min-width:68px;font-size:1.45rem;display:flex;align-items:center;justify-content:center}.search-submit:hover,.search-submit:focus{background:#f3a847;color:#111}
.header-actions{gap:14px!important;margin-left:auto}.header-actions .nav-link{white-space:nowrap;border:1px solid transparent;border-radius:3px;padding:8px 9px;color:#fff!important}.account-link small,.orders-link small{color:#fff;font-size:.78rem}.account-link strong,.orders-link strong{display:block;font-size:.98rem;line-height:1.1}.orders-link{min-height:42px;display:flex!important;align-items:center}.cart-link{display:flex!important;align-items:end;gap:6px;padding-right:0!important}.cart-icon-wrap{position:relative;display:inline-flex;font-size:1.65rem;line-height:1}.cart-link .badge{position:absolute;top:-9px;left:13px;border-radius:999px;font-size:.74rem;min-width:20px}.language-menu .nav-link{padding:10px 8px}.btn-amz{background:var(--amz-orange);border-color:var(--amz-orange);color:#fff!important;font-weight:600}.btn-amz:hover,.btn-amz:focus{background:var(--amz-orange-dark);border-color:var(--amz-orange-dark);color:#fff!important}
.subnav{background:var(--amz-sub);min-height:40px;display:flex;align-items:center;gap:24px;overflow-x:auto}.subnav a,.subnav span{color:#fff;text-decoration:none;white-space:nowrap}.subnav a:hover{text-decoration:underline}.admin-entry-link{margin-left:auto;color:#ffdf9a!important;font-weight:700}.admin-entry-link:hover{color:#fff!important}
.hero-slide{height:300px;background:linear-gradient(120deg,#37475a,var(--amz-yellow));color:#111;padding:70px 8%}.hero-slide.alt{background:linear-gradient(120deg,#131921,var(--amz-orange));color:#fff}.category-tile{display:block;background:#fff;border-radius:4px;padding:32px;text-align:center;text-decoration:none;color:#111;font-weight:700;box-shadow:var(--shadow)}
.product-card{border:0;box-shadow:var(--shadow);height:100%}.product-img{height:190px;object-fit:contain;background:#fff}.product-title{min-height:42px;color:#0066c0}.stars{color:#ffa41c}.price,.detail-price{color:#b12704;font-size:1.35rem;font-weight:700}.old-price{text-decoration:line-through;color:#777}.filter-box,.buy-box,.auth-card,.deals{background:#fff;border-radius:6px;padding:20px;box-shadow:var(--shadow)}
/* Full-width responsive products page */
.products-page{width:100%;max-width:none;padding-left:clamp(12px,2vw,36px);padding-right:clamp(12px,2vw,36px)}
.products-page .filter-box{position:sticky;top:95px}
@media(max-width:991.98px){.products-page .filter-box{position:static}}
.auth-card{max-width:460px;margin:50px auto}.detail-main-img{width:100%;height:430px;object-fit:contain;background:#fff;border:1px solid #ddd}.thumb-row{display:flex;gap:10px;margin-top:10px}.thumb{height:72px;width:72px;object-fit:cover;border:1px solid #ddd;cursor:pointer}.cart-row{background:#fff;padding:15px;border-bottom:1px solid #ddd}.cart-total{font-size:1.5rem;font-weight:700;background:#fff;padding:16px;margin:15px 0}.footer{background:#131921;color:#fff}.page-section{padding-left:clamp(18px,4vw,56px);padding-right:clamp(18px,4vw,56px)}
.table-responsive{border-radius:6px}.toast-container{z-index:1080}
@media(max-width:992px){.amazon-header .navbar{gap:.75rem}.search-form{width:100%;order:3;margin-top:10px}.header-actions{margin-left:auto}.hero-slide{height:240px;padding:48px 6%}}
@media(max-width:768px){.amazon-header .navbar,.amazon-header .subnav{padding-left:16px!important;padding-right:16px!important}.navbar-brand{margin-right:.75rem}.alfi-logo{min-width:140px}.alfi-logo-img,.alfi-logo-art{width:140px}.alfi-logo-img{height:38px}.header-actions{gap:.75rem!important}.product-img{height:140px}.subnav{overflow-x:auto;gap:18px}.auth-card{margin:28px auto}.detail-main-img{height:300px}}

/* Advanced admin area */
.admin-tabs .nav-link{color:#232f3e;font-weight:600}.admin-tabs .nav-link.active{background:var(--amz-orange);color:#111}.admin-tabs .client-view-link{margin-left:auto;border:1px solid #d5d9d9;border-radius:6px;color:#111}.admin-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-page-header .btn{white-space:nowrap}.admin-action-card{color:#111;border:1px solid #ddd;transition:.15s ease}.admin-action-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.admin-product-thumb{width:74px;height:74px;object-fit:contain;background:#fff;border:1px solid #ddd;border-radius:6px;padding:3px}.admin-product-thumb-empty{display:flex;align-items:center;justify-content:center;font-size:.78rem;color:#777;text-align:center}.admin-image-preview{height:220px;background:#fff;border:1px dashed #bbb;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.admin-image-preview img{max-width:100%;max-height:100%;object-fit:contain;display:none}.admin-tabs{position:sticky;top:0;z-index:5}
@media(max-width:768px){.admin-tabs{position:static}.admin-product-thumb{width:58px;height:58px}.admin-image-preview{height:170px}}

/* Dedicated admin layout: cleaner admin workspace with easy customer-store switch */
.admin-body{background:#f4f6f8;color:#111827;min-height:100vh}.admin-shell{display:flex;min-height:100vh}.admin-sidebar{position:sticky;top:0;align-self:flex-start;width:270px;height:100vh;background:#111827;color:#fff;display:flex;flex-direction:column;padding:18px 14px;box-shadow:0 0 30px rgba(0,0,0,.12);z-index:1040}.admin-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;padding:8px 10px 20px}.admin-brand:hover{color:#fff}.admin-brand-logo-wrap{width:150px;height:42px;display:flex;align-items:center;justify-content:flex-start;overflow:visible;flex:0 0 auto}.admin-brand-logo{width:150px;height:40px;object-fit:contain}.admin-brand-copy{display:flex;align-items:flex-end;min-height:40px}.admin-brand-mark{width:42px;height:42px;border-radius:12px;background:#f59e0b;color:#111827;display:flex;align-items:center;justify-content:center;font-weight:800}.admin-brand small{display:block;color:#9ca3af;font-size:.78rem;margin-top:1px;white-space:nowrap}.admin-side-nav{display:flex;flex-direction:column;gap:6px;margin-top:8px}.admin-side-nav a{display:flex;align-items:center;gap:10px;color:#d1d5db;text-decoration:none;padding:11px 12px;border-radius:12px;font-weight:600}.admin-side-nav a i{font-size:1.08rem;width:22px;text-align:center}.admin-side-nav a:hover{background:#1f2937;color:#fff}.admin-side-nav a.active{background:#f59e0b;color:#111827}.admin-sidebar-footer{margin-top:auto;padding:14px 4px 2px}.admin-main{flex:1;min-width:0}.admin-topbar{position:sticky;top:0;z-index:1030;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb;min-height:78px;padding:14px 24px;display:flex;align-items:center;gap:14px}.admin-top-title-wrap{min-width:0}.admin-top-title{margin:0;font-size:1.95rem;line-height:1.08;font-weight:800;color:#111827;letter-spacing:-.025em}.admin-top-subtitle{margin-top:3px;color:#6b7280;font-size:.92rem;line-height:1.25}.admin-top-actions{display:flex;align-items:center;gap:10px}.admin-user-pill{display:inline-flex;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:6px 10px;font-weight:600;font-size:.9rem}.admin-content{padding:22px 24px 24px}.admin-content .admin-page{max-width:1380px;margin:0 auto}.admin-page-header{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px 20px;box-shadow:0 8px 20px rgba(15,23,42,.04)}.admin-content .card{border:1px solid #e5e7eb;border-radius:16px}.admin-content .table{margin-bottom:0}.admin-content .table thead th{background:#f9fafb;color:#374151;border-bottom:1px solid #e5e7eb}.admin-content .btn-warning,.admin-content .bg-warning{background:#f59e0b!important;border-color:#f59e0b!important}.admin-sidebar-backdrop{display:none}
@media(max-width:991.98px){.admin-sidebar{position:fixed;left:-280px;transition:left .18s ease}.admin-sidebar-open .admin-sidebar{left:0}.admin-sidebar-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:1035}.admin-sidebar-open .admin-sidebar-backdrop{display:block}.admin-topbar{padding:12px 14px}.admin-top-actions{gap:6px}.admin-top-actions .admin-user-pill{display:none}.admin-content{padding:14px}.admin-content .admin-page-header{padding:14px}.admin-top-actions .btn-outline-dark{padding-left:8px;padding-right:8px}}
@media(max-width:575.98px){.admin-top-title{font-size:1.45rem}.admin-top-subtitle{display:none}.admin-topbar{align-items:flex-start}.admin-top-actions{flex-direction:column;align-items:flex-end}.admin-top-actions .btn{font-size:.78rem}.admin-content{padding:10px}.admin-page-header h2{font-size:1.3rem}}

/* Amazon-style variation controls */
.amazon-variant-group .variant-choice {
    background: #fff;
    border: 1px solid #adb5bd;
    color: #111827;
    min-height: 42px;
}
.amazon-variant-group .variant-choice.is-selected,
.amazon-variant-group .variant-choice.btn-warning {
    background: #fff8e6;
    border-color: #f0a500;
    color: #111827;
}
.amazon-variant-group .variant-choice:disabled {
    background: #f8f9fa;
    color: #6c757d;
}
.amazon-swatch-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin: 0 auto 4px;
}

/* Amazon-inspired shopping cart layout */
.amazon-cart-panel {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(15,23,42,.08);
}
.amazon-cart-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 12px;
    border-bottom: 1px solid #ddd;
}
.amazon-cart-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 500;
    color: #111;
}
.amazon-cart-subtitle {
    font-size: 1.7rem;
    font-weight: 500;
    color: #111;
}

.amazon-your-items-tabs {
    display: flex;
    gap: 22px;
    margin: 12px 20px 0;
    border-bottom: 1px solid #d5d9d9;
}
.amazon-your-items-tab {
    appearance: none;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #2162a1;
    font-weight: 600;
    padding: 10px 2px 9px;
}
.amazon-your-items-tab:hover { color: #c7511f; }
.amazon-your-items-tab.active { color: #0f1111; border-bottom-color: #2162a1; }
.amazon-your-items-pane { padding: 10px 20px 22px; }
.amazon-your-items-empty { color: #565959; padding: 28px 4px; }
.amazon-buy-again-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}
.amazon-buy-again-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #eaeded;
    border-radius: 8px;
    background: #fff;
}
.amazon-buy-again-card img { width: 100%; height: 180px; object-fit: contain; }
.amazon-buy-again-title { color: #0f1111; text-decoration: none; line-height: 1.3; min-height: 2.6em; }
.amazon-buy-again-title:hover { color: #c7511f; text-decoration: underline; }
.amazon-buy-again-variant, .amazon-buy-again-seller { color: #565959; font-size: .82rem; }
.amazon-buy-again-price { font-size: 1.05rem; margin-top: auto; }
@media (max-width: 575.98px) {
    .amazon-your-items-tabs { margin-inline: 14px; gap: 16px; }
    .amazon-your-items-pane { padding-inline: 14px; }
    .amazon-buy-again-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .amazon-buy-again-card { padding: 10px; }
    .amazon-buy-again-card img { height: 130px; }
}
.amazon-cart-link,
.amazon-cart-actions .btn-link,
.amazon-cart-row a {
    color: #0066c0;
    text-decoration: none;
}
.amazon-cart-link:hover,
.amazon-cart-actions .btn-link:hover,
.amazon-cart-row a:hover {
    color: #c45500;
    text-decoration: underline;
}
.amazon-cart-price-heading {
    color: #565959;
    font-size: .95rem;
    white-space: nowrap;
}
.amazon-cart-row {
    display: grid;
    grid-template-columns: 30px minmax(120px, 250px) minmax(0, 1fr) 110px;
    gap: 10px;
    align-items: center;
    padding: 28px 24px;
    border-bottom: 1px solid #e7e7e7;
}
.amazon-cart-row:last-child {
    border-bottom: 0;
}
.amazon-cart-select,
.amazon-cart-select-spacer {
    display: flex;
    align-items: center;
    justify-content: center;
}
.amazon-cart-select .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    cursor: pointer;
}
.amazon-cart-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.amazon-cart-img {
    width: 100%;
    max-width: 210px;
    height: 190px;
    object-fit: contain;
    background: #fff;
}
.amazon-cart-img-placeholder {
    width: 190px;
    height: 190px;
    background: #f7f7f7;
    border: 1px solid #ddd;
}
.amazon-cart-info {
    align-self: start;
    min-width: 0;
}
.amazon-cart-product-title {
    display: inline-block;
    color: #111!important;
    font-size: clamp(1.06rem, 1.4vw, 1.45rem);
    line-height: 1.22;
    margin-bottom: 4px;
}
.amazon-stock {
    font-size: .95rem;
    margin-top: 4px;
}
.amazon-stock.in-stock { color: #007600; }
.amazon-stock.low-stock { color: #b12704; }
.amazon-stock.out-stock { color: #b12704; }
.amazon-delivery {
    display: flex;
    align-items: center;
    height: 2.9em;
    color: #111;
    line-height: 1.35;
    margin-top: 4px;
    overflow: hidden;
}
.amazon-gift,
.amazon-cart-variant-line {
    color: #565959;
    font-size: .95rem;
    margin-top: 3px;
}
.amazon-cart-variant-line strong {
    color: #111;
}
.amazon-cart-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.amazon-qty-pill {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #f59e0b;
    border-radius: 999px;
    overflow: hidden;
    height: 38px;
    background: #fff;
    box-sizing: border-box;
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.amazon-qty-pill button {
    border: 0;
    background: transparent;
    color: #111;
    width: 36px;
    height: 34px;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.amazon-qty-pill button:hover {
    background: #fff8e1;
    color: #c45500;
}
.amazon-qty-pill button:disabled {
    opacity: .55;
    cursor: wait;
}
.amazon-qty-pill span {
    min-width: 34px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}
.amazon-qty-pill.is-updating {
    opacity: .72;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .13);
}
.amazon-cart-row {
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}
.amazon-cart-row.is-updating {
    opacity: .72;
    background: #fffdf7;
}
.amazon-saved-qty {
    color: #565959;
}
.amazon-cart-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: .96rem;
}
.amazon-cart-actions .btn-link {
    font-size: .96rem;
}
.amazon-action-sep::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #ddd;
    margin: 0 12px;
    vertical-align: middle;
}
.amazon-cart-price {
    align-self: start;
    text-align: right;
    font-weight: 700;
    font-size: 1.08rem;
    color: #111;
    white-space: nowrap;
}
.amazon-checkout-card {
    top: 92px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.14);
    padding: 18px;
}
.amazon-selected-summary {
    color: #111;
    font-size: 1.05rem;
}
.amazon-selected-summary strong {
    display: block;
    font-size: 1.5rem;
    color: #111;
}
.address-selection-page {
    background: #f3f3f3;
    margin-top: 0 !important;
    padding-top: 22px;
    padding-bottom: 34px;
}
.address-selection-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 28px;
    max-width: 1500px;
    margin: 0 auto;
}
.address-selection-card,
.address-selection-summary-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    padding: 28px 32px;
}
.address-selection-card h1 {
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}
.address-selection-card h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 18px 0 20px;
}
.delivery-address-list {
    display: grid;
    gap: 22px;
}
.delivery-address-option {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    color: #111;
    cursor: pointer;
}
.delivery-address-option.is-extra {
    display: none;
}
.address-selection-page.show-all-addresses .delivery-address-option.is-extra {
    display: grid;
}
.delivery-address-option input {
    width: 18px;
    height: 18px;
    margin-top: 8px;
}
.delivery-address-copy {
    display: grid;
    gap: 2px;
    font-size: 1.02rem;
    line-height: 1.28;
}
.delivery-address-copy strong {
    font-weight: 700;
}
.delivery-default-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #f3f3f3;
    border: 1px solid #d5d9d9;
    color: #565959;
    font-size: .75rem;
    padding: 1px 8px;
    margin-top: 3px;
}
.delivery-address-actions {
    color: #565959;
    margin-top: 2px;
}
.delivery-address-actions a,
.address-show-more,
.address-add-link {
    color: #0066c0;
    text-decoration: none;
}
.delivery-address-actions a:hover,
.address-show-more:hover,
.address-add-link:hover {
    color: #c45500;
    text-decoration: underline;
}
.address-show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 26px 0 0;
    font-size: 1rem;
}
.address-add-link {
    display: inline-block;
    margin-top: 24px;
    font-size: 1rem;
}
.address-bottom-action {
    margin-top: 36px;
}
.address-deliver-button {
    border: 1px solid #fcd200;
    background: #ffd814;
    color: #0f1111;
    height: 40px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 500;
}
.address-deliver-button:hover,
.address-deliver-button:focus {
    background: #f7ca00;
    border-color: #f2c200;
}
.address-selection-summary-card {
    position: sticky;
    top: 96px;
    align-self: start;
}
.address-selection-summary-line,
.address-selection-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 8px 0;
    color: #111;
}
.address-selection-summary-line strong,
.address-selection-summary-total strong {
    white-space: nowrap;
    font-weight: 500;
}
.address-selection-summary-total {
    border-top: 1px solid #e7e7e7;
    margin-top: 12px;
    padding-top: 14px;
    font-size: 1.2rem;
    font-weight: 700;
}
.address-selection-summary-total strong {
    font-size: 1.35rem;
    font-weight: 700;
}
@media (max-width: 991.98px) {
    .amazon-checkout-card { position: static!important; }
    .address-selection-layout { grid-template-columns: 1fr; }
    .address-selection-summary-card { position: static; order: -1; }
    .amazon-cart-row {
        grid-template-columns: 30px 132px minmax(0,1fr);
    }
    .amazon-cart-price {
        grid-column: 3;
        text-align: left;
    }
    .amazon-cart-img { height: 140px; }
    .amazon-cart-img-link { min-height: 140px; }
}
@media (max-width: 575.98px) {
    .amazon-cart-header { padding: 18px 14px 10px; }
    .amazon-cart-row {
        grid-template-columns: 28px 92px minmax(0,1fr);
        gap: 10px;
        padding: 18px 14px;
    }
    .amazon-cart-img { height: 100px; }
    .amazon-cart-img-link { min-height: 100px; }
    .amazon-cart-product-title { font-size: 1rem; }
    .amazon-cart-actions { width: 100%; }
    .amazon-action-sep::after { margin: 0 8px; }
}


/* Search autocomplete */
.search-autocomplete-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.search-autocomplete-wrap .search-input {
    width: 100%;
}
.search-suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    z-index: 9999;
    display: none;
    max-height: 430px;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
}
.search-suggestion-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}
.search-suggestion-item:hover,
.search-suggestion-item.is-active {
    background: #f5f5f5;
}
.search-suggestion-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 4px;
    flex: 0 0 auto;
}
.search-suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.25;
}
.search-suggestion-meta {
    font-size: 13px;
    color: #555;
    margin-top: 2px;
}
.search-suggestion-empty {
    padding: 10px 12px;
    color: #555;
    font-size: 14px;
}
.search-suggestion-name mark {
    background: #fff1b8;
    color: inherit;
    padding: 0;
}
.search-suggestion-submit {
    min-height: 46px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 0;
}
.search-suggestion-search-icon {
    width: 44px;
    text-align: center;
    font-size: 1.5rem;
    color: #4b5563;
}
.filter-search-autocomplete-wrap {
    display: block;
    overflow: visible;
    z-index: 20;
}
.filter-search-autocomplete-wrap .form-control {
    width: 100%;
}
.filter-search-suggestions {
    min-width: 320px;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: auto !important;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
}
@media (max-width: 991.98px) {
    .filter-search-suggestions {
        min-width: 100%;
        right: 0 !important;
    }
}


/* Search bar refinements */
.search-form.alfi-search {
    display: grid !important;
    grid-template-columns: 62px minmax(0,1fr) 54px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #0f1111;
    border-radius: 7px;
    overflow: visible;
    box-shadow: 0 1px 2px rgba(15,17,17,.14);
}
.search-category,
.search-form.alfi-search .search-input,
.search-submit {
    height: 46px;
}
.search-category {
    max-width: none;
    width: 100%;
    border-radius: 10px 0 0 10px !important;
    border: 0;
    border-right: 1px solid #d5d9d9;
    box-shadow: none !important;
    padding-left: 14px;
    font-size: .96rem;
}
.search-autocomplete-wrap {
    display: flex;
    align-items: stretch;
}
.search-autocomplete-wrap .search-input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 46px;
    padding: 0 14px;
    font-size: .98rem;
    background: #fff;
}
.search-form.alfi-search:focus-within {
    box-shadow: 0 0 0 3px rgba(255,153,0,.35);
}
.search-submit {
    border-radius: 0 10px 10px 0 !important;
    width: 58px;
    min-width: 58px;
    box-shadow: none !important;
}
.search-suggestions-box {
    top: calc(100% + 4px);
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15,17,17,.18);
}
@media(max-width:992px){
    .search-form.alfi-search {
        width: 100%;
        max-width: none;
    }
}


/* Final search bar size fix: Bootstrap d-flex needs !important override */
.search-form.alfi-search {
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) 54px !important;
    height: 44px;
    border: 2px solid #f3a847;
    border-radius: 7px;
    overflow: visible;
}
.search-form.alfi-search .search-category {
    width: var(--search-category-width, 62px) !important;
    min-width: var(--search-category-width, 62px) !important;
    max-width: var(--search-category-width, 62px) !important;
    height: 40px;
    font-size: 14px;
}
.search-form.alfi-search .search-autocomplete-wrap,
.search-form.alfi-search .search-input {
    min-width: 0;
    width: 100%;
    height: 40px;
}
.search-form.alfi-search .search-submit {
    width: 54px !important;
    min-width: 54px !important;
    height: 40px;
}

/* Price style: black amount, smaller dark-green currency */
.price-currency {
    color: #006400;
    font-size: .72em;
    font-weight: 700;
    margin-right: 2px;
}
.price-amount {
    color: #111;
    font-weight: 700;
}
.detail-price,
.product-price,
.small-price,
.cart-price,
.amazon-cart-price {
    color: #111 !important;
}


/* Orange button text update */
.btn-amz,
.btn-amz:hover,
.btn-amz:focus,
.btn-warning:not(.variant-choice),
.btn-warning:not(.variant-choice):hover,
.btn-warning:not(.variant-choice):focus,
.view-orders-btn,
.orders-btn,
.orange-action-btn {
    color: #fff !important;
}
.btn-amz a,
.btn-warning:not(.variant-choice) a,
.view-orders-btn a,
.orders-btn a,
.orange-action-btn a {
    color: #fff !important;
    text-decoration: none;
}

/* Variation image selected-card controls */
.variation-selected-card { min-height: 118px; }
.variation-selected-trash {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.selected-variation-images-empty { max-width: 520px; }
.variation-image-tile .variation-image-remove {
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
}

/* Improved admin product and variation workspace */
.admin-product-stats .admin-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    min-height: 118px;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.admin-product-stats .admin-stat-card span {
    color: #6b7280;
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.admin-product-stats .admin-stat-card strong {
    display: block;
    color: #111827;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.05;
}
.admin-product-stats .admin-stat-card small { color: #6b7280; }
.admin-product-toolbar .input-group-text { border-color: #dee2e6; }
.admin-products-table-wrap { border-radius: 0 0 16px 16px; }
.admin-products-table thead th { white-space: nowrap; }
.admin-products-table tbody tr { transition: background-color .15s ease, transform .15s ease; }
.admin-products-table tbody tr:hover { background: #fffdf7; }
.admin-product-image-cell { width: 92px; }
.admin-product-cell { min-width: 0; width: clamp(300px, 34vw, 620px); max-width: 620px; }
.admin-product-name {
    color: #111827;
    font-size: 1.02rem;
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.28;
}
.admin-product-meta {
    max-width: clamp(280px, 32vw, 580px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-product-image-open {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
}
.admin-product-image-open:hover .admin-product-thumb {
    outline: 2px solid #ff9900;
    outline-offset: 2px;
}
.admin-product-info-open {
    max-width: clamp(300px, 34vw, 620px);
    cursor: pointer;
    border-radius: 10px;
    padding: 2px 4px;
    margin: -2px -4px;
}
.admin-product-info-open:hover .admin-product-name {
    color: #c2410c;
    text-decoration: underline;
}
.admin-product-info-open:focus {
    outline: 2px solid rgba(255,153,0,.45);
    outline-offset: 2px;
}

.admin-variation-empty {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    color: #6b7280;
}
.admin-variation-empty i { font-size: 1.5rem; color: #f59e0b; }
.admin-variation-empty strong { display: block; color: #111827; }
.admin-variation-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 12px; }
.admin-variation-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
    display: grid;
    grid-template-columns: 74px minmax(0,1fr);
    gap: 12px;
    position: relative;
    box-shadow: 0 4px 14px rgba(15,23,42,.035);
}
.admin-variation-card.is-default { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.admin-variation-image {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.admin-variation-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-variation-main { min-width: 0; }
.admin-variation-attrs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-variation-attr {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .78rem;
    color: #111827;
}
.admin-variation-attr span { color: #6b7280; }
.admin-variation-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}
.variation-image-tile { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.variation-image-tile:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,23,42,.08); }
.selected-variation-image-card .variation-selected-card { box-shadow: 0 3px 10px rgba(15,23,42,.05); }
@media(max-width:575.98px){
    .admin-product-stats .admin-stat-card { min-height: 104px; padding: 13px; }
    .admin-products-table .toggle-product { margin-top: 6px; }
    .admin-variation-card { grid-template-columns: 60px minmax(0,1fr); }
    .admin-variation-image { width: 60px; height: 60px; }
}

/* Admin product image thumbnails */
.admin-product-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}
.admin-product-image-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #d5d9d9;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15,17,17,.06);
}
.admin-product-image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.admin-image-icon-btn,
.admin-image-main-badge {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 13px;
}
.admin-image-icon-btn {
    border: 1px solid rgba(0,0,0,.15);
    background: rgba(255,255,255,.94);
    color: #111827;
    padding: 0;
}
.admin-image-icon-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.admin-image-delete-btn { top: 5px; right: 5px; color: #dc3545; }
.admin-image-main-btn { top: 5px; left: 5px; color: #f59e0b; }
.admin-image-main-badge { top: 5px; left: 5px; background: #198754; color: #fff; }
.admin-new-upload-tile { cursor: pointer; }
.admin-new-main-radio {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 18px;
    height: 18px;
    accent-color: #ff9900;
}
.admin-upload-file-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 5px 4px;
    font-size: 10px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}

/* Improved customer product pager */
.product-pager .pagination {
    display: inline-flex;
    border: 1px solid #d5d9d9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 17, 17, .12);
    background: #fff;
}
.product-pager .page-item { margin: 0; }
.product-pager .page-link {
    border: 0;
    border-right: 1px solid #e6e9ec;
    min-width: 54px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #111827;
    font-size: 1.05rem;
    background: #fff;
}
.product-pager .page-prev,
.product-pager .page-next { min-width: 128px; }
.product-pager .page-item:last-child .page-link { border-right: 0; }
.product-pager .page-item.active .page-link {
    color: #111827;
    background: #fff;
    box-shadow: inset 0 0 0 2px #111827;
    font-weight: 700;
}
.product-pager .page-item.disabled .page-link { color: #6b7280; background: #fff; }
.product-pager .page-ellipsis .page-link { pointer-events: none; }

/* Admin image actions at the bottom of each thumbnail */
.admin-image-delete-btn { top: auto; bottom: 5px; right: 5px; color: #dc3545; }
.admin-image-main-btn { top: auto; bottom: 5px; left: 5px; color: #f59e0b; }
.admin-image-main-badge { top: auto; bottom: 5px; left: 5px; background: #198754; color: #fff; }
.admin-new-main-radio { top: auto; bottom: 7px; left: 7px; }
.admin-product-image-tile::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    background: linear-gradient(transparent, rgba(255,255,255,.92));
    pointer-events: none;
}
.admin-product-image-tile .admin-image-icon-btn,
.admin-product-image-tile .admin-image-main-badge,
.admin-product-image-tile .admin-new-main-radio,
.admin-product-image-tile .admin-upload-file-name { z-index: 2; }

/* Compact image actions: icon-only, no surrounding circles */
.admin-product-image-tile .admin-image-icon-btn,
.admin-product-image-tile .admin-image-main-badge {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-size: 1.35rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(255,255,255,.95), 0 0 3px rgba(255,255,255,.95);
}
.admin-product-image-tile .admin-image-icon-btn:hover {
    transform: translateY(-1px) scale(1.06);
    box-shadow: none;
}
.admin-product-image-tile .admin-image-delete-btn { color: #dc3545; right: 9px; bottom: 8px; }
.admin-product-image-tile .admin-image-main-btn { color: #f59e0b; left: 9px; bottom: 8px; }
.admin-product-image-tile .admin-image-main-badge { color: #198754; left: 9px; bottom: 8px; }

/* Bulk product selection */
.admin-product-select-cell {
    width: 44px;
    text-align: center;
}
.admin-bulk-bar {
    background: #fff7e6;
    border: 1px solid #f59e0b;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
}
.admin-products-table .form-check-input { cursor: pointer; }

/* Amazon-style customer orders page */
.orders-amazon-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 18px 8px 32px;
    color: #0f1111;
}
.orders-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}
.orders-title-row h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin: 0;
    font-weight: 500;
}
.orders-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 650px;
}
.orders-search-box {
    height: 45px;
    border: 1px solid #a6a6a6;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    flex: 1;
}
.orders-search-box i { font-size: 1.25rem; color: #111820; }
.orders-search-box input {
    border: 0;
    outline: none;
    width: 100%;
    font-size: 1.05rem;
    background: transparent;
}
.orders-search-form button {
    height: 45px;
    border: 0;
    border-radius: 999px;
    background: #232f3e;
    color: #fff;
    font-weight: 700;
    padding: 0 22px;
    white-space: nowrap;
}
.orders-tabs {
    display: flex;
    align-items: flex-end;
    gap: 26px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 22px;
}
.orders-tabs button {
    border: 0;
    background: transparent;
    padding: 0 14px 11px;
    color: #0066c0;
    font-size: 1.04rem;
    cursor: pointer;
}
.orders-tabs button.active {
    color: #111;
    font-weight: 700;
    border-bottom: 2px solid #f59e0b;
}
.orders-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    margin: 0 0 16px 4px;
}
.orders-filter-row select {
    border: 1px solid #adb5bd;
    border-radius: 9px;
    padding: 8px 34px 8px 12px;
    background-color: #fff;
    font-size: 1rem;
}
.orders-amazon-list { display: grid; gap: 16px; }
.amazon-order-card {
    border: 1px solid #d5d9d9;
    border-radius: 9px;
    overflow: visible;
    background: #fff;
}
.amazon-order-head {
    display: grid;
    grid-template-columns: 170px 130px 1fr minmax(300px, auto);
    gap: 24px;
    align-items: start;
    background: #f0f2f2;
    padding: 12px 18px;
    border-bottom: 1px solid #e3e6e6;
    border-radius: 9px 9px 0 0;
    position: relative;
}
.amazon-order-meta span,
.amazon-order-number span {
    display: block;
    color: #565959;
    font-size: .88rem;
    text-transform: uppercase;
}
.amazon-order-meta strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #374151;
    font-weight: 400;
    font-size: 1.02rem;
}
.amazon-order-meta.ship-to {
    position: relative;
    z-index: 5;
}
.ship-to-trigger {
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #0066c0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    font-size: 1.02rem;
    line-height: 1.25;
    cursor: pointer;
    text-align: left;
}
.ship-to-trigger:hover,
.ship-to-trigger:focus {
    color: #c45500;
    text-decoration: underline;
    outline: none;
}
.amazon-ship-popover {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -74px;
    width: min(340px, calc(100vw - 32px));
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #b8b8b8;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .14);
    padding: 18px 46px 18px 22px;
    color: #111;
    font-size: .95rem;
    line-height: 1.35;
    text-transform: none;
    z-index: 50;
}
.amazon-ship-popover strong {
    display: block;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.amazon-ship-popover-arrow {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #fff;
    border-left: 1px solid #adb5bd;
    border-top: 1px solid #adb5bd;
    transform: translateX(-50%) rotate(45deg);
}
.amazon-ship-popover-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #8a8f94;
    border-radius: 10px;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.amazon-ship-popover-close i { display: none; }
.amazon-ship-popover-close::before,
.amazon-ship-popover-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
}
.amazon-ship-popover-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.amazon-ship-popover-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.amazon-ship-popover-close:hover,
.amazon-ship-popover-close:focus-visible { background: #f0f2f2; }
.ship-to-phone { margin-top: 5px; color: #565959; }
.amazon-order-meta.ship-to:not(.is-dismissed):hover .amazon-ship-popover,
.amazon-order-meta.ship-to:not(.is-dismissed):focus-within .amazon-ship-popover,
.amazon-order-meta.ship-to.is-open .amazon-ship-popover {
    display: block;
}
.amazon-order-number {
    text-align: right;
    color: #565959;
    justify-self: end;
}
.amazon-order-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
    margin-top: 2px;
}
.amazon-order-number a {
    color: #0066c0;
    text-decoration: none;
    font-size: 1.01rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.amazon-order-number a:hover,
.amazon-order-product:hover { color: #c45500; text-decoration: underline; }
.amazon-order-number .sep { color: #d5d9d9; margin: 0; }
.amazon-order-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
    padding: 16px 18px 18px;
}
.amazon-order-content h2 {
    margin: 0 0 4px;
    font-size: 1.22rem;
    font-weight: 700;
}
.amazon-order-content p { margin: 0 0 12px; font-size: .92rem; }
.amazon-order-status-line {
    margin-bottom: 10px;
}
.amazon-order-status-line h2 {
    margin-top: 0;
}
.amazon-order-status-line p {
    margin: 0;
}
.amazon-order-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 8px 0 10px;
}
.amazon-order-item + .amazon-order-item { border-top: 1px solid #eee; }
.amazon-order-img-wrap {
    width: 82px;
    min-height: 76px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.amazon-order-img-wrap img {
    max-width: 82px;
    max-height: 82px;
    object-fit: contain;
}
.amazon-order-qty {
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d5d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}
.amazon-order-product {
    color: #0066c0;
    text-decoration: none;
    font-size: .94rem;
    line-height: 1.35;
}
.amazon-order-item-options { color: #565959; margin-top: 3px; font-size: .84rem; }
.amazon-order-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 9px;
}
.amazon-buy-again,
.amazon-secondary-pill,
.amazon-action-yellow,
.amazon-action-outline {
    min-height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
}
.amazon-buy-again {
    gap: 8px;
    border: 0;
    background: #ffd814;
    color: #111;
    padding: 0 16px;
    font-size: .88rem;
}
.amazon-buy-again:hover { background: #f7ca00; color: #111; }
.amazon-secondary-pill,
.amazon-action-outline {
    border: 1px solid #a6a6a6;
    background: #fff;
    color: #111;
    padding: 0 16px;
    font-size: .88rem;
}
.amazon-order-side-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 0;
}
.amazon-action-yellow {
    background: #ffd814;
    color: #111;
    padding: 0 16px;
}
.amazon-action-yellow:hover { background: #f7ca00; color: #111; }
.amazon-action-outline:hover,
.amazon-secondary-pill:hover { background: #f7fafa; color: #111; }
.amazon-cancel-order-action { width: 100%; font: inherit; }
.amazon-order-cancel-panel {
    border-top: 1px solid #d5d9d9;
    padding: 22px 24px 24px;
    background: #fff;
    border-radius: 0 0 9px 9px;
}
.amazon-order-cancel-panel[hidden] { display: none; }
.amazon-order-cancel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.amazon-order-cancel-heading h3 { margin: 0 0 3px; font-size: 1.2rem; }
.amazon-order-cancel-heading p { margin: 0; color: #565959; }
.amazon-order-cancel-close {
    border: 0;
    background: transparent;
    padding: 5px 7px;
    color: #565959;
    font-size: 1.05rem;
}
.amazon-order-cancel-items { display: grid; gap: 8px; }
.amazon-order-cancel-item {
    display: grid;
    grid-template-columns: auto 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border: 1px solid #e3e6e6;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
}
.amazon-order-cancel-item:hover { background: #f7fafa; }
.amazon-order-cancel-item img { width: 58px; height: 58px; object-fit: contain; }
.amazon-order-cancel-item strong,
.amazon-order-cancel-item small { display: block; }
.amazon-order-cancel-item small { color: #565959; margin-top: 3px; }
.amazon-order-cancel-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: end;
    gap: 16px;
    margin-top: 16px;
}
.amazon-order-cancel-controls label > span { display: block; font-weight: 600; margin-bottom: 6px; }
.amazon-order-cancel-submit {
    min-height: 40px;
    border: 1px solid #d00;
    border-radius: 999px;
    background: #fff;
    color: #b12704;
    padding: 0 24px;
    font-weight: 600;
}
.amazon-order-cancel-submit:hover { background: #fff5f5; }
@media (max-width: 992px) {
    .orders-title-row { align-items: stretch; flex-direction: column; }
    .orders-search-form { max-width: none; }
    .amazon-order-head { grid-template-columns: 1fr 1fr; gap: 14px; }
    .amazon-order-number { text-align: left; justify-self: start; grid-column: 1 / -1; }
    .amazon-order-links { justify-content: flex-start; }
    .amazon-order-body { grid-template-columns: 1fr; }
    .amazon-order-side-actions { max-width: 320px; }
}
@media (max-width: 576px) {
    .orders-search-form { flex-direction: column; align-items: stretch; }
    .orders-tabs { gap: 6px; overflow-x: auto; }
    .amazon-order-head { grid-template-columns: 1fr; }
    .amazon-order-links { flex-wrap: wrap; white-space: normal; }
    .amazon-order-item { grid-template-columns: 90px 1fr; gap: 14px; }
    .amazon-order-img-wrap { width: 86px; }
    .amazon-order-img-wrap img { max-width: 86px; max-height: 86px; }
    .amazon-ship-popover { left: 0; width: min(320px, 88vw); }
    .amazon-ship-popover-arrow { left: 24px; }
    .amazon-order-cancel-panel { padding: 18px 16px; }
    .amazon-order-cancel-controls { grid-template-columns: 1fr; }
    .amazon-order-cancel-submit { width: 100%; }
}



/* Temu-inspired customer product cards */
.temu-product-card{
    background:#fff;
    border:0;
    border-radius:0;
    height:100%;
    display:flex;
    flex-direction:column;
    overflow:visible;
    box-shadow:none;
}
.temu-product-visual-wrap{
    position:relative;
    margin-bottom:12px;
}
.temu-product-image-link{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f7f7f7;
    border-radius:4px;
    aspect-ratio:1 / 1;
    padding:12px;
    text-decoration:none;
    overflow:hidden;
}
.temu-product-img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
.temu-card-badges{
    position:absolute;
    left:8px;
    bottom:-10px;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    pointer-events:none;
}
.temu-deal-badge{
    display:inline-flex;
    align-items:center;
    height:28px;
    padding:0 10px;
    border-radius:8px;
    background:#df1a52;
    color:#fff;
    font-size:.85rem;
    font-weight:700;
    box-shadow:0 2px 4px rgba(0,0,0,.08);
}
.temu-quick-action{
    position:absolute;
    right:10px;
    bottom:10px;
    width:46px;
    height:46px;
    border-radius:50%;
    border:1.5px solid #0f1111;
    background:#ffd814;
    color:#0f1111;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:1.3rem;
    box-shadow:0 2px 6px rgba(15,17,17,.18);
    z-index:2;
}
.temu-quick-action:hover,
.temu-quick-action:focus{
    background:#f7ca00;
    color:#0f1111;
}
.temu-product-body{
    display:flex;
    flex-direction:column;
    flex:1;
    color:#0f1111;
    padding:0 8px 6px;
    box-sizing:border-box;
}
.temu-product-title{
    color:#222;
    text-decoration:none;
    font-size:1rem;
    line-height:1.28;
    min-height:2.56em;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-bottom:8px;
}
.temu-product-title:hover{
    color:#0066c0;
}
.temu-price-row{
    display:flex;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:1px;
    color:#0f1111;
    margin-bottom:4px;
    line-height:1;
    font-family:"Amazon Ember",Arial,sans-serif;
}
.temu-price-currency{
    color:#0f1111;
    font-size:.72rem;
    font-weight:400;
    line-height:1;
    margin:.16em 2px 0 0;
}
.temu-price-whole{
    font-size:1.28rem;
    font-weight:400;
    letter-spacing:0;
    color:#0f1111;
    line-height:.95;
}
.temu-price-decimal{
    font-size:.7rem;
    font-weight:400;
    line-height:1;
    color:#0f1111;
    margin-top:.14em;
}
.temu-old-price{
    align-self:flex-end;
    color:#777;
    font-size:.82rem;
    text-decoration:line-through;
    margin-left:2px;
    line-height:1.5;
}
.temu-rating-row{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:4px;
    color:#222;
    font-size:.92rem;
}
.temu-rating-stars{
    color:#111;
    letter-spacing:1px;
    font-size:1rem;
    line-height:1;
}
.temu-review-count{
    color:#555;
}
.temu-delivery-lines{
    color:#444;
    font-size:.84rem;
    line-height:1.35;
    margin-top:auto;
}
.temu-delivery-lines strong{
    color:#111;
    font-weight:700;
}
.temu-free-delivery{
    color:#007600;
    font-weight:700;
}
.temu-add-cart{
    width:100%;
    height:30px;
    margin-top:10px;
    padding:2px 14px;
    border:1px solid #fcd200;
    border-radius:999px;
    background:#ffd814;
    color:#0f1111;
    font-size:13px;
    font-weight:500;
    line-height:1.25;
    cursor:pointer;
    box-shadow:0 2px 5px rgba(15,17,17,.12);
}
.temu-cart-action{
    width:100%;
    height:30px;
    margin-top:6px;
    display:flex;
    align-items:stretch;
}
.temu-cart-action .temu-add-cart{
    margin-top:0;
    height:100%;
}
.temu-card-quantity{
    width:100%;
    height:100%;
    box-sizing:border-box;
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 40px;
    align-items:center;
    border:2px solid #ffd814;
    border-radius:999px;
    background:#fff;
    color:#0f1111;
    overflow:hidden;
    box-shadow:0 2px 5px rgba(15,17,17,.08);
}
.temu-card-quantity > *{
    position:relative;
    top:-2px;
}
.temu-card-quantity.is-revealing{
    animation:temu-cart-outline-in .18s ease-out both;
}
.temu-card-quantity.is-revealing > *{
    animation:temu-cart-item-drop .38s cubic-bezier(.2,.9,.3,1.18) both;
}
.temu-card-quantity.is-revealing > :nth-child(1){
    animation-delay:.02s;
}
.temu-card-quantity.is-revealing > :nth-child(2){
    animation-delay:.055s;
}
.temu-card-quantity.is-revealing > :nth-child(3){
    animation-delay:.09s;
}
.temu-add-cart.is-revealing{
    animation:temu-cart-outline-in .22s cubic-bezier(.2,.8,.2,1) both;
}
.temu-card-qty-btn{
    width:40px;
    height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:#0f1111;
    font-size:1.45rem;
    font-weight:500;
    line-height:1;
    cursor:pointer;
}
.temu-card-qty-btn:hover{
    background:#f7f7f7;
}
.temu-card-qty-btn:disabled{
    color:#9ca3af;
    cursor:wait;
}
.temu-card-qty-btn svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.temu-card-qty-dec:hover .temu-recycle-bin-icon{
    color:#b12704;
    transform:scale(1.06);
}
.temu-recycle-bin-icon{
    transition:color .16s ease,transform .16s ease;
}
.temu-card-qty-label{
    min-width:0;
    align-self:stretch;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:14px;
    font-weight:500;
    line-height:1;
    white-space:nowrap;
}
.temu-cart-action.is-updating{
    opacity:.94;
    pointer-events:none;
}
@keyframes temu-cart-outline-in{
    from{opacity:.35;transform:scaleX(.94);}
    to{opacity:1;transform:scaleX(1);}
}
@keyframes temu-cart-item-drop{
    0%{opacity:0;transform:translateY(-11px) scale(.96);}
    72%{opacity:1;transform:translateY(1.5px) scale(1);}
    100%{opacity:1;transform:translateY(0) scale(1);}
}
@media (prefers-reduced-motion:reduce){
    .temu-card-quantity.is-revealing,
    .temu-card-quantity.is-revealing > *,
    .temu-add-cart.is-revealing{animation:none;}
}
.temu-add-cart:hover,
.temu-add-cart:focus{
    background:#f7ca00;
    border-color:#f2c200;
}
.temu-add-cart:disabled{
    background:#e7e7e7;
    border-color:#d5d9d9;
    color:#6b7280;
    cursor:not-allowed;
    box-shadow:none;
}
.amazon-related-grid{
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;
    gap:20px!important;
}
@media(max-width:768px){
    .temu-product-image-link{padding:10px;}
    .temu-product-body{padding:0 6px 6px;}
    .temu-quick-action{width:42px;height:42px;font-size:1.18rem;}
    .temu-price-whole{font-size:1rem;}
    .temu-product-title{font-size:.96rem;}
    .temu-delivery-lines{font-size:.8rem;}
    .amazon-related-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important;gap:16px!important;}
}


/* Product card quick-action removed */
.temu-product-card .temu-quick-action{
    display:none!important;
}


/* Amazon-style product review and delivery feedback forms */
.amazon-review-card,
.amazon-review-form {
    background:#fff;
}

.amazon-review-form {
    border:0;
}
.amazon-review-form.review-form-focus {
    border-radius:8px;
    box-shadow:0 0 0 3px rgba(255,153,0,.35);
    transition:box-shadow .18s ease;
}

.amazon-review-product-head {
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:22px;
}

.amazon-review-product-head h3 {
    font-size:1.55rem;
    font-weight:700;
    margin:0 0 4px;
    color:#111827;
}

.amazon-review-product-name {
    display:block;
    font-size:1.05rem;
    color:#111827;
    line-height:1.35;
    text-decoration:none;
}

.amazon-review-product-name:hover {
    color:#c45500;
    text-decoration:underline;
}

.amazon-review-product-link {
    display:inline-flex;
    text-decoration:none;
}

.amazon-review-product-img {
    width:82px;
    height:82px;
    object-fit:contain;
    background:#fff;
    cursor:pointer;
}

.amazon-star-rating {
    display:flex;
    gap:8px;
    margin:10px 0 26px;
}

.amazon-star {
    font-family: "Segoe UI Symbol", "Arial Unicode MS", Arial, Helvetica, sans-serif;
    font-family: Arial, Helvetica, sans-serif;
    border:0;
    background:transparent;
    color:#d56a00;
    font-size:3rem;
    font-weight:300;
    line-height:1;
    padding:0;
    cursor:pointer;
}

.amazon-star.is-selected {
    color:#ff9900;
}

.amazon-review-label {
    display:block;
    font-weight:700;
    color:#111827;
    margin-bottom:8px;
    font-size:1.05rem;
}

.amazon-review-textarea {
    min-height:150px;
    resize:vertical;
    font-size:1rem;
}

.amazon-review-title {
    font-size:1rem;
}

@media(max-width:768px) {
    .amazon-review-product-head {
        gap:12px;
    }
    .amazon-review-product-img {
        width:64px;
        height:64px;
    }
    .amazon-star {
        font-size:2.4rem;
    }
}


.amazon-star:focus {
    outline:2px solid #ff9900;
    outline-offset:3px;
    border-radius:4px;
}

.amazon-star:hover {
    transform:scale(1.04);
}


.amazon-order-img-link {
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

.amazon-order-img-link:hover img {
    transform:scale(1.03);
}

.amazon-order-img-wrap img {
    transition:transform .15s ease;
}




/* Thin outlined review stars */
.amazon-star {
    font-family: "Segoe UI Symbol", "Arial Unicode MS", Arial, Helvetica, sans-serif;
    font-weight:300;
    -webkit-text-stroke:0;
    text-shadow:none;
}
.amazon-star:not(.is-selected) {
    color:#c96a00;
    opacity:.95;
}

/* Customer order details: marketplace-style purchased order view */
.customer-order-detail-page{background:#f3f4f6;padding:18px 0 28px}.customer-order-shell{max-width:1440px;margin:0 auto}.customer-order-breadcrumb{display:flex;align-items:center;gap:10px;font-size:1.05rem;margin:6px 0 18px}.customer-order-breadcrumb a{color:#0055aa;text-decoration:none}.customer-order-breadcrumb strong{color:#c45500}.customer-order-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.customer-order-title-row h1{font-size:2.6rem;line-height:1.05;font-weight:500;margin:0 0 8px;color:#111}.customer-order-title-row p{font-size:1.2rem;margin:0;color:#111}.customer-order-title-row p span:before{content:"";display:inline-block;height:24px;border-left:1px solid #cfcfcf;margin:0 18px -6px}.customer-invoice-link{font-size:1.35rem;color:#0055aa;text-decoration:none;display:inline-flex;align-items:center;gap:8px;margin-bottom:2px}.customer-order-summary-card,.customer-delivery-card{background:#fff;border:1px solid #d5d9d9;border-radius:12px;box-shadow:0 2px 10px rgba(15,23,42,.04);margin-bottom:18px}.customer-order-summary-card{display:grid;grid-template-columns:1fr 1fr 1fr;padding:28px 34px}.customer-summary-col{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;padding-right:28px}.customer-summary-col+.customer-summary-col{border-left:1px solid #e5e7eb;padding-left:34px}.customer-summary-icon{width:44px;height:44px;border-radius:999px;background:#e8f3ff;color:#064ea4;display:flex;align-items:center;justify-content:center;font-size:1.35rem}.customer-summary-col h2{font-size:1.25rem;font-weight:700;margin:6px 0 18px}.customer-summary-col p{font-size:1.05rem;line-height:1.45;margin:0 0 16px}.customer-summary-col a{color:#0055aa;text-decoration:none}.mada-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d5d9d9;border-radius:4px;background:linear-gradient(#e8f8ff 0 48%,#e6f5d4 49% 100%);font-weight:700;font-size:.72rem;color:#333;min-width:44px;height:26px;margin-right:8px}.customer-order-total-col dl{display:grid;grid-template-columns:1fr auto;gap:8px 18px;margin:0;font-size:1rem}.customer-order-total-col dt{font-weight:400}.customer-order-total-col dd{margin:0;text-align:right}.customer-order-total-col .grand{font-weight:800;font-size:1.08rem;border-top:1px solid #e5e7eb;padding-top:10px;margin-top:4px}.customer-delivery-card{display:grid;grid-template-columns:minmax(0,1fr) 350px;padding:28px 34px;gap:34px}.customer-delivery-main{min-width:0}.customer-delivery-status{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}.customer-delivery-status span{width:42px;height:42px;border-radius:999px;background:#198754;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.6rem;flex:0 0 auto}.customer-delivery-status h2{font-size:1.55rem;margin:0 0 4px;font-weight:800}.customer-delivery-status p{font-size:1.05rem;margin:0;color:#111}.customer-order-product-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px;margin-top:12px}.customer-order-product-img{width:170px;height:170px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa;display:flex;align-items:center;justify-content:center;padding:12px}.customer-order-product-img img{max-width:100%;max-height:100%;object-fit:contain}.customer-order-product-title{font-size:1.18rem;line-height:1.35;color:#0055aa;text-decoration:none}.customer-order-product-title:hover{text-decoration:underline}.customer-order-product-options,.customer-order-seller,.customer-order-return{font-size:.96rem;color:#333;margin-top:5px}.customer-order-seller a{color:#0055aa;text-decoration:none}.customer-order-price{color:#b12704;font-size:1.05rem;margin-top:8px}.customer-order-product-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.customer-buy-again,.customer-view-item{height:42px;border-radius:999px;padding:0 24px;display:inline-flex;align-items:center;gap:8px;font-weight:600;text-decoration:none;border:1px solid #d5d9d9}.customer-buy-again{background:#ffd814;border-color:#fcd200;color:#111}.customer-view-item{background:#fff;color:#111}.customer-delivery-actions{border-left:1px solid #e5e7eb;padding-left:34px;display:flex;flex-direction:column;justify-content:center;gap:12px}.customer-delivery-actions a{min-height:58px;border:1px solid #d5d9d9;border-radius:12px;display:grid;grid-template-columns:34px 1fr 20px;align-items:center;gap:12px;padding:0 18px;color:#0055aa;text-decoration:none;font-size:1.05rem;background:#fff}.customer-delivery-actions a:hover{background:#f7fbff}.customer-feedback-wrap{max-width:1440px}@media(max-width:991.98px){.customer-order-summary-card,.customer-delivery-card{grid-template-columns:1fr}.customer-summary-col+.customer-summary-col{border-left:0;border-top:1px solid #e5e7eb;padding-left:0;padding-top:18px;margin-top:18px}.customer-delivery-actions{border-left:0;border-top:1px solid #e5e7eb;padding-left:0;padding-top:18px}.customer-order-title-row{align-items:flex-start;flex-direction:column}.customer-order-product-row{grid-template-columns:120px minmax(0,1fr)}.customer-order-product-img{width:120px;height:120px}}

/* Admin professional orders and fulfillment workspace */
.admin-orders-workspace{display:flex;flex-direction:column;gap:16px}.admin-orders-titlebar{display:flex;justify-content:space-between;align-items:center;gap:16px}.admin-orders-titlebar h2{font-size:1.8rem;font-weight:800;margin:0}.admin-orders-titlebar p{color:#6b7280;margin:2px 0 0}.admin-order-kpis{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.admin-order-kpis>div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;display:grid;grid-template-columns:44px 1fr;gap:2px 12px;align-items:center}.admin-order-kpis i{grid-row:1/4;width:38px;height:38px;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:1.35rem}.admin-order-kpis span{color:#6b7280;font-size:.85rem}.admin-order-kpis strong{font-size:1.55rem;line-height:1}.admin-order-kpis small{color:#8a94a6}.admin-order-filters{display:grid;grid-template-columns:minmax(240px,1fr) repeat(5,auto);gap:10px}.admin-orders-two-col{display:grid;grid-template-columns:minmax(620px,1.25fr) minmax(470px,.95fr);gap:14px;align-items:start}.admin-orders-list-card,.admin-order-detail-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 20px rgba(15,23,42,.04);overflow:hidden}.admin-orders-list-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e5e7eb}.admin-orders-list-head span{color:#6b7280;font-size:.88rem}.admin-orders-table{font-size:.88rem}.admin-orders-table th{white-space:nowrap}.admin-orders-table td{vertical-align:middle}.admin-orders-table small,.admin-paid-pill small{display:block;color:#6b7280}.admin-order-row{cursor:pointer}.admin-order-row.is-selected{background:#eef5ff;box-shadow:inset 3px 0 #0d6efd}.admin-order-thumb{width:46px;height:46px;object-fit:contain;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:3px}.admin-order-number{border:0;background:none;color:#0d6efd;font-weight:700;padding:0;text-align:left}.admin-status-pill,.admin-paid-pill,.admin-stock-pill{display:inline-flex;align-items:center;gap:5px;border-radius:8px;font-size:.78rem;font-weight:700;padding:4px 8px;white-space:nowrap}.admin-status-warning{background:#fff4e5;color:#b45309;border:1px solid #fed7aa}.admin-status-success,.admin-stock-pill{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.admin-status-primary{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe}.admin-status-info{background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd}.admin-status-danger{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.admin-paid-pill{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.admin-orders-pagination{display:flex;justify-content:space-between;padding:12px 16px;border-top:1px solid #e5e7eb;color:#6b7280}.admin-order-detail-panel{padding:16px}.admin-order-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.admin-order-detail-head h3{font-size:1.15rem;font-weight:800;margin:0 0 8px}.admin-order-action-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.admin-order-action-row .btn{font-size:.82rem;white-space:nowrap}.admin-detail-grid{display:grid;gap:10px;margin-bottom:10px}.admin-detail-grid.three{grid-template-columns:1fr 1fr 1fr}.admin-detail-grid.lower{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start}.admin-detail-grid.notes{grid-template-columns:1fr 1fr}.admin-detail-card{border:1px solid #e5e7eb;border-radius:14px;padding:12px;background:#fff;min-width:0}.admin-card-title{display:flex;align-items:center;gap:8px;font-weight:800;margin-bottom:10px}.admin-card-title a{margin-left:auto;font-weight:600;text-decoration:none}.admin-detail-card h4{font-size:.9rem;font-weight:800;margin:10px 0 6px}.admin-detail-card p{font-size:.86rem;line-height:1.45}.admin-detail-card label{font-size:.76rem;color:#6b7280;font-weight:700}.admin-detail-card dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:12px 0 0;font-size:.84rem}.admin-detail-card dd{margin:0}.admin-order-items-table{font-size:.78rem}.admin-order-item-cell{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;min-width:210px}.admin-order-item-cell .admin-order-thumb{width:42px;height:42px}.admin-order-item-cell small{display:block;color:#6b7280;margin-top:2px}.admin-checklist label{display:block;color:#111;font-weight:500;margin:8px 0}.admin-checklist input{margin-right:8px}.admin-order-timeline{list-style:none;padding-left:18px;margin:0;border-left:2px solid #e5e7eb}.admin-order-timeline li{position:relative;margin:0 0 12px;padding-left:12px;font-size:.84rem}.admin-order-timeline li:before{content:"";position:absolute;left:-24px;top:2px;width:10px;height:10px;border-radius:999px;background:#cbd5e1;border:2px solid #fff;box-shadow:0 0 0 1px #cbd5e1}.admin-order-timeline li.done:before{background:#22c55e;box-shadow:0 0 0 1px #22c55e}.admin-order-timeline li.active:before{background:#0d6efd;box-shadow:0 0 0 1px #0d6efd}.admin-order-detail-empty{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:60px 20px;text-align:center;color:#6b7280}.admin-order-detail-empty i{font-size:2rem;color:#f59e0b}.admin-order-detail-empty strong,.admin-order-detail-empty span{display:block;margin-top:8px}@media(max-width:1300px){.admin-orders-two-col{grid-template-columns:1fr}.admin-detail-grid.three,.admin-detail-grid.lower{grid-template-columns:1fr}.admin-order-filters{grid-template-columns:1fr 1fr}.admin-order-action-row{grid-template-columns:1fr 1fr}}@media(max-width:768px){.admin-order-kpis{grid-template-columns:1fr 1fr}.admin-order-filters{grid-template-columns:1fr}.admin-detail-grid.notes{grid-template-columns:1fr}.admin-order-action-row{grid-template-columns:1fr}.admin-orders-two-col{display:block}}
.admin-vodafone-payment-details{display:grid;gap:8px;margin:12px 0;padding:10px;border:1px solid #fecdd3;border-radius:10px;background:#fff7f8}
.admin-vodafone-payment-details div{display:grid;gap:2px}
.admin-vodafone-payment-details span{font-size:.72rem;color:#6b7280;font-weight:700}
.admin-vodafone-payment-details strong{font-size:.86rem;overflow-wrap:anywhere}

/* Professional product builder / icon-first variation workflow */
.product-builder-dialog{max-width:1320px}.product-builder-modal{border:0;border-radius:22px;overflow:hidden;box-shadow:0 24px 80px rgba(15,23,42,.22)}.product-builder-header,.variation-drawer-header{background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-bottom:0;padding:20px 24px}.product-builder-header .btn-close,.variation-drawer-header .btn-close{filter:invert(1) grayscale(100%);opacity:.85}.product-builder-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#fbbf24;font-weight:800;margin-bottom:4px}.product-builder-header .modal-title,.variation-drawer-header .modal-title{font-size:1.35rem;font-weight:800}.product-builder-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:0;background:#f8fafc;border-bottom:1px solid #e5e7eb}.product-builder-steps span{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 8px;color:#64748b;border-right:1px solid #e5e7eb;font-size:.88rem}.product-builder-steps span:last-child{border-right:0}.product-builder-steps span i{font-size:1.15rem}.product-builder-steps span.is-active{background:#fff7ed;color:#c2410c;box-shadow:inset 0 -3px #ff9900}.product-builder-section{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(15,23,42,.05)}.product-builder-media{position:sticky;top:16px}.builder-section-title{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #eef2f7}.builder-section-title.compact{margin:4px 0 12px;padding-bottom:8px}.builder-section-title>i{width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#fff7ed;color:#c2410c;font-size:1.25rem}.builder-section-title.compact>i{width:34px;height:34px;border-radius:10px;font-size:1rem}.builder-section-title strong{display:block;color:#111827;font-size:1.02rem}.builder-section-title small{display:block;color:#6b7280;font-size:.82rem;margin-top:1px}.product-builder-section .form-label{font-weight:700;color:#374151}.product-builder-section .form-control,.product-builder-section .form-select{border-radius:11px}.icon-action{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:11px}.icon-button-label{display:inline-flex;align-items:center;gap:7px;border-radius:12px;font-weight:800}.admin-variation-empty{display:flex;gap:14px;align-items:center;border:1px dashed #cbd5e1;border-radius:14px;padding:16px;background:#f8fafc}.admin-variation-empty i{width:42px;height:42px;border-radius:13px;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:1.35rem}.admin-variation-empty strong{display:block;color:#111827}.admin-variation-empty span{display:block;color:#6b7280}.admin-variation-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.admin-variation-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;position:relative;box-shadow:0 10px 28px rgba(15,23,42,.05);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.admin-variation-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,23,42,.09);border-color:#bfdbfe}.admin-variation-card.is-default{border-color:#ff9900;box-shadow:0 0 0 3px rgba(255,153,0,.12),0 14px 28px rgba(15,23,42,.07)}.admin-variation-image{width:92px;height:92px;border-radius:16px;border:1px solid #e5e7eb;background:#f9fafb;display:flex;align-items:center;justify-content:center;overflow:hidden}.admin-variation-image img{width:100%;height:100%;object-fit:contain}.admin-variation-main strong{font-size:1rem}.admin-variation-attrs{display:flex;flex-wrap:wrap;gap:6px}.admin-variation-attr{display:inline-flex;align-items:center;gap:5px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:5px 9px;font-size:.82rem}.admin-variation-attr span{color:#6b7280}.admin-variation-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #eef2f7}.variation-drawer-header+.modal-body{background:#f8fafc}.variation-drawer-header+.modal-body .row.g-3>div{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px}.variation-drawer-header+.modal-body .row.g-3>div.col-md-6{background:transparent;border:0;padding:0}.single-attribute-row,.main-product-attribute-row{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px}.variation-image-browser{background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:12px}.variation-image-tile{border-radius:12px!important;min-height:88px;background:#fff}.variation-image-tile img{border-radius:10px}.selected-variation-image-card .variation-selected-card{border-radius:12px!important}.admin-product-thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:10px}.admin-product-image-tile{border-radius:14px}.admin-image-preview{border-radius:18px;background:#f8fafc;border:1px dashed #cbd5e1;min-height:220px;display:flex;align-items:center;justify-content:center}.admin-image-preview img{max-width:100%;max-height:220px;object-fit:contain}.admin-variation-card .badge{border-radius:999px}.admin-variation-card .btn{border-radius:11px}@media(max-width:992px){.product-builder-steps{grid-template-columns:repeat(3,1fr)}.product-builder-media{position:static}.admin-variation-card-grid{grid-template-columns:1fr}}@media(max-width:576px){.product-builder-steps span b{display:none}.admin-variation-card{grid-template-columns:72px minmax(0,1fr)}.admin-variation-image{width:72px;height:72px}.admin-variation-actions{justify-content:flex-start}}

/* Admin orders: section-based layout without right-side details panel */
.admin-orders-full{display:block;width:100%}
.admin-order-sections{padding:0;background:#f8fafc}
.admin-order-section{background:#fff;border-bottom:1px solid #e5e7eb}
.admin-order-section:last-child{border-bottom:0}
.admin-order-section-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#fff;cursor:pointer;border-bottom:1px solid #eef2f7}
.admin-order-section-head>div{display:flex;align-items:center;gap:10px;min-width:0}
.admin-order-section-head i:first-child{font-size:1.15rem;width:30px;height:30px;border-radius:10px;background:#f8fafc;display:inline-flex;align-items:center;justify-content:center}
.admin-order-section-head strong{font-size:1rem;color:#111827}
.admin-order-section-head span{font-size:.82rem;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:3px 9px}
.admin-order-section .table-responsive{margin:0}
.admin-order-section .admin-orders-table{margin:0}
.admin-orders-full .admin-orders-list-card{overflow:hidden}
.admin-order-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:1080;display:flex;align-items:flex-start;justify-content:center;padding:26px 16px;overflow:auto}
.admin-order-modal{position:relative;width:min(1320px,100%);background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(15,23,42,.28);padding:14px}
.admin-order-modal>.admin-order-modal-close{position:absolute;top:14px;right:14px;z-index:3}
.admin-order-modal .admin-order-detail-panel{box-shadow:none;border:0;padding:8px;background:#fff}
.admin-order-modal .admin-order-detail-head{padding-right:44px}
body.admin-modal-open{overflow:hidden}
@media(max-width:768px){.admin-order-modal-backdrop{padding:10px}.admin-order-modal{border-radius:14px;padding:8px}.admin-order-section-head{padding:12px}.admin-order-section-head>div{gap:8px}.admin-order-section-head span{display:none}}

.admin-order-age{display:inline-flex;margin-top:4px;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:800;border:1px solid transparent;white-space:nowrap}.admin-order-age-fresh{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.admin-order-age-warning{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.admin-order-age-danger{background:#fee2e2;color:#b91c1c;border-color:#fecaca}.admin-order-alerts{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.admin-order-alerts span{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:800}.admin-order-warning-text{color:#b45309;font-weight:800}.admin-order-row-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.admin-order-row-actions .btn{padding:2px 6px;font-size:.72rem;line-height:1.2}.admin-order-row-actions .btn span{margin-left:3px}
.admin-order-timeline-event{position:relative;margin:0 0 12px;padding-left:12px;font-size:.84rem;line-height:1.35}.admin-order-timeline-event i{position:absolute;left:-24px;top:-2px;color:#64748b}.admin-order-timeline-event strong,.admin-order-timeline-event small,.admin-order-timeline-event span{display:block}.admin-order-timeline-event strong{font-weight:800}.admin-order-timeline-event small{color:#374151;margin-top:2px}.admin-order-timeline-event span{color:#6b7280;margin-top:2px}

/* Fast tab/page navigation */
.fast-nav-busy {
    position: relative;
    min-height: 120px;
}
.fast-nav-progress {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2000;
    overflow: hidden;
    background: rgba(255, 193, 7, .18);
}
.fast-nav-progress::before {
    content: "";
    display: block;
    width: 38%;
    height: 100%;
    background: #ff9900;
    animation: fastNavProgress 0.9s ease-in-out infinite;
}
@keyframes fastNavProgress {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(280%); }
}
.admin-side-nav a.active,
.admin-tabs .nav-link.active {
    font-weight: 700;
}

/* Shared customer-page width: match the product details page. */
.amazon-page,
.products-page,
.footer .amazon-page {
    width: calc(100% - 32px) !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Keep sign-in/register cards Amazon-style: centered card, page itself still full width. */
.amazon-auth-page {
    display: flex;
    justify-content: center;
}
.amazon-auth-page > * {
    width: min(100%, 620px);
}

/* Amazon-like grids: product cards keep a useful minimum size and wider screens add more columns. */
.amazon-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 14px;
    align-items: stretch;
    width: 100%;
}
.amazon-product-grid > .temu-product-card,
.amazon-product-grid > .product-card {
    min-width: 0;
}
.amazon-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    width: 100%;
}

/* Products page: fixed-useful filter rail + flexible product results, similar to Amazon. */
.amazon-filter-col {
    width: clamp(210px, 15vw, 280px);
    flex: 0 0 clamp(210px, 15vw, 280px);
}
.amazon-results-col {
    min-width: 0;
}
.products-page .row {
    align-items: flex-start;
}
.products-page .filter-box {
    position: sticky;
    top: 96px;
}

/* Keep nested order layouts fluid inside the shared 1600px customer-page shell. */
.orders-amazon-page,
.customer-order-shell,
.customer-feedback-wrap,
.admin-content .admin-page {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.orders-amazon-page {
    max-width: 1600px !important;
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header/search behavior closer to Amazon: full-width nav, search expands, actions keep natural size. */
.amazon-header .alfi-mainbar,
.amazon-header .subnav {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding-left: clamp(12px, 2vw, 36px) !important;
    padding-right: clamp(12px, 2vw, 36px) !important;
}
.search-form.alfi-search {
    max-width: none !important;
}

@media (min-width: 1600px) {
    .amazon-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    }
}

@media (min-width: 2200px) {
    .amazon-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .amazon-filter-col {
        width: 100%;
        flex: 0 0 100%;
    }
    .products-page .filter-box {
        position: static;
    }
    .amazon-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .amazon-page,
    .products-page,
    .footer .amazon-page,
    .orders-amazon-page {
        width: calc(100% - 20px) !important;
    }
    .amazon-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .amazon-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Amazon-style customer product image sizing
   Keeps image areas consistent across Home, Products, Wishlist/related product grids,
   while images scale inside the box instead of being cropped or stretched. */
.amazon-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    align-items: stretch;
}

.amazon-product-grid > .temu-product-card {
    max-width: 260px;
    width: 100%;
}

.temu-product-card {
    background: #fff;
}

.temu-product-visual-wrap {
    margin-bottom: 10px;
}

.temu-product-image-link {
    aspect-ratio: auto !important;
    height: clamp(165px, 12vw, 220px);
    min-height: 165px;
    max-height: 220px;
    padding: 14px;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
}

.temu-product-image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.03);
    pointer-events: none;
}

.temu-product-img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.amazon-related-grid .temu-product-image-link {
    height: clamp(150px, 11vw, 200px);
    min-height: 150px;
    max-height: 200px;
}

/* Older product-card image class, used by any page that does not use the shared Temu/Amazon card. */
.product-img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 210px;
    object-fit: contain;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Product details gallery: Amazon-style large, contained image area. */
.detail-main-img {
    width: 100%;
    height: clamp(340px, 42vw, 520px);
    max-height: 520px;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.thumb {
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

/* Cart/order thumbnails should remain contained, not cropped. */
.amazon-cart-img,
.amazon-order-img-wrap img,
.related-img {
    object-fit: contain !important;
    object-position: center;
    background: #fff;
}

@media (min-width: 1600px) {
    .amazon-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    }
    .temu-product-image-link {
        height: clamp(175px, 10vw, 220px);
    }
}

@media (min-width: 2200px) {
    .amazon-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    }
    .temu-product-image-link {
        height: 220px;
    }
}

@media (max-width: 991.98px) {
    .temu-product-image-link {
        height: clamp(150px, 22vw, 190px);
        min-height: 150px;
    }
}

@media (max-width: 575.98px) {
    .amazon-product-grid > .temu-product-card {
        max-width: none;
    }
    .temu-product-image-link {
        height: clamp(140px, 43vw, 180px);
        min-height: 140px;
        padding: 10px;
    }
    .detail-main-img {
        height: 320px;
    }
}

/* Homepage hero banners controlled from Admin Dashboard */
.amazon-hero .dynamic-hero-slide {
    min-height: clamp(260px, 24vw, 410px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 64px);
    padding: clamp(38px, 5vw, 78px) clamp(18px, 5vw, 88px);
    overflow: hidden;
}
.amazon-hero .hero-copy {
    max-width: 680px;
    position: relative;
    z-index: 2;
}
.amazon-hero .hero-copy h1 {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.03;
    margin-bottom: 12px;
}
.amazon-hero .hero-copy p {
    font-size: clamp(1rem, 1.45vw, 1.35rem);
    max-width: 620px;
}
.amazon-hero .hero-image-wrap {
    flex: 0 0 min(34vw, 460px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.amazon-hero .hero-image-wrap img {
    width: 100%;
    max-height: 310px;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(0,0,0,.18));
}
.admin-banner-preview {
    min-height: 250px;
    border-radius: 1rem;
    padding: clamp(24px, 4vw, 54px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
}
.admin-banner-preview h2 {
    font-weight: 800;
    margin-bottom: .5rem;
}
.admin-banner-preview img {
    max-width: 280px;
    max-height: 190px;
    object-fit: contain;
}
@media (max-width: 767.98px) {
    .amazon-hero .dynamic-hero-slide,
    .admin-banner-preview {
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }
    .amazon-hero .hero-image-wrap {
        flex-basis: auto;
        width: min(82vw, 320px);
    }
}

/* Final header brand/search polish: slimmer Amazon-style border and no white rounded-corner gaps */
.alfi-logo {
    min-width: 148px;
}
.alfi-logo-text {
    font-size: 1.5rem;
}
.search-form.alfi-search {
    display: grid !important;
    grid-template-columns: var(--search-category-width, 62px) minmax(0, 1fr) 52px !important;
    height: 42px !important;
    max-width: none !important;
    background: #fff;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    align-items: stretch !important;
}
.search-form.alfi-search:focus-within {
    border-color: #ff9900 !important;
    box-shadow: 0 0 0 2px rgba(255,153,0,.35) !important;
}
.search-form.alfi-search .search-category,
.search-form.alfi-search .search-autocomplete-wrap,
.search-form.alfi-search .search-input,
.search-form.alfi-search .search-submit {
    height: 100% !important;
    min-height: 0 !important;
}
.search-form.alfi-search .search-category {
    width: var(--search-category-width, 62px) !important;
    min-width: var(--search-category-width, 62px) !important;
    max-width: var(--search-category-width, 62px) !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-right: 1px solid #d5d9d9 !important;
}
.search-form.alfi-search .search-input {
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
.search-form.alfi-search .search-submit {
    width: 52px !important;
    min-width: 52px !important;
    border-radius: 0 !important;
    border: 0 !important;
    font-size: 1.25rem !important;
}
.search-suggestions-box {
    top: calc(100% + 3px) !important;
}

/* Global header search: allow autocomplete dropdown to open below the bar */
.search-form.alfi-search {
    overflow: visible !important;
}
.search-form.alfi-search .search-category {
    border-radius: 7px 0 0 7px !important;
}

.search-form.alfi-search .search-category {
    padding-left: 14px !important;
    padding-right: 30px !important;
    background-color: #f3f3f3 !important;
    background-position: right 10px center !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
}
.search-form.alfi-search .search-submit {
    border-radius: 0 7px 7px 0 !important;
}
.search-form.alfi-search .search-autocomplete-wrap {
    position: relative !important;
    overflow: visible !important;
    background: #fff;
}
.search-form.alfi-search .search-input {
    background: #fff !important;
}
.search-suggestions-box {
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 4px) !important;
    z-index: 3000 !important;
}


/* Compact dynamic category selector and Amazon-like delivery text */
.search-form.alfi-search {
    grid-template-columns: var(--search-category-width, 62px) minmax(0, 1fr) 52px !important;
}
.search-form.alfi-search .search-category {
    width: var(--search-category-width, 62px) !important;
    min-width: var(--search-category-width, 62px) !important;
    max-width: var(--search-category-width, 62px) !important;
    padding-left: 12px !important;
    padding-right: 24px !important;
    background-position: right 8px center !important;
}
.delivery-block span {
    min-width: 0;
}
.delivery-block small,
.delivery-block strong {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.delivery-block small {
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
}
.delivery-block strong {
    font-size: 14px;
    line-height: 15px;
    font-weight: 700;
}
@media (max-width: 1199.98px) {
    .delivery-block small,
    .delivery-block strong { max-width: 105px; }
}


/* Balanced category selector spacing: equal left and right space around the selected word */
.search-form.alfi-search {
    grid-template-columns: var(--search-category-width, 48px) minmax(0, 1fr) 52px !important;
}
.search-form.alfi-search .search-category {
    width: var(--search-category-width, 48px) !important;
    min-width: var(--search-category-width, 48px) !important;
    max-width: var(--search-category-width, 48px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    background-image: none !important;
    text-align: left !important;
}


/* Secondary navigation: icon-only Show all products link */
.subnav .show-all-products-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 3px;
    font-size: 1.2rem;
    line-height: 1;
}
.subnav .show-all-products-link:hover,
.subnav .show-all-products-link:focus {
    outline: 1px solid rgba(255,255,255,.85);
    outline-offset: -1px;
}

/* Search button: white magnifying glass */
.search-form.alfi-search .search-submit,
.search-form.alfi-search .search-submit:hover,
.search-form.alfi-search .search-submit:focus {
    color: #fff !important;
}
.search-form.alfi-search .search-submit i {
    color: #fff !important;
}

/* Header action icons: monoline / stroke / outline style, replacing text labels. */
.header-actions {
    gap: 10px !important;
}
.header-actions .header-outline-icon-link {
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #fff !important;
    text-decoration: none;
    line-height: 1;
}
.header-actions .header-outline-icon-link > i,
.header-actions .header-outline-icon-link .cart-icon-wrap > i {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 400;
}
.header-actions .header-outline-icon-link:hover,
.header-actions .header-outline-icon-link:focus {
    border-color: rgba(255,255,255,.65);
    color: #fff !important;
}
.header-actions .header-outline-icon-link.dropdown-toggle::after {
    margin-left: 5px;
    transform: scale(.85);
}
.header-actions .account-link,
.header-actions .orders-link,
.header-actions .cart-link,
.header-actions .language-menu .nav-link {
    min-height: 46px;
}
.header-actions .cart-link {
    align-items: center !important;
    gap: 0;
    padding-right: 0 !important;
}
.header-actions .cart-icon-wrap {
    position: relative;
    display: inline-flex;
    font-size: inherit;
    line-height: 1;
}
.header-actions .cart-link .badge {
    position: absolute;
    top: -12px;
    left: 14px;
    border-radius: 999px;
    font-size: .74rem;
    min-width: 20px;
}

/* Balance header spacing: measure the full search box, including category and magnifier, against the right icon group. */
@media (min-width: 992px) {
    .amazon-header .alfi-mainbar {
        column-gap: 36px !important;
    }

    .search-form.alfi-search {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .header-actions {
        margin-left: 0 !important;
    }
}

@media (min-width: 992px) {
    .amazon-header .alfi-mainbar {
        column-gap: 28px !important;
        padding-left: 36px !important;
        padding-right: 36px !important;
        flex-wrap: nowrap !important;
    }

    .amazon-header .alfi-search {
        flex: 1 1 auto !important;
        max-width: none !important;
        min-width: 420px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .amazon-header .header-actions {
        flex: 0 0 auto !important;
        /* Double the measured space between the full search area and the globe icon. */
        margin-left: 37px !important;
        padding-left: 0 !important;
        gap: 28px !important;
    }

    .amazon-header .header-actions .header-outline-icon-link {
        width: 44px;
        min-width: 44px;
    }
}

/* My Account address actions */
.account-address-card {
    border: 1px solid #e5e7eb;
}
.account-address-card .address-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.account-address-card .card-title {
    line-height: 1.2;
}
.account-address-card .address-card-line {
    color: #111827;
}
.address-card-actions {
    flex-shrink: 0;
}
.address-icon-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.address-icon-btn i {
    font-size: 1rem;
    line-height: 1;
}


/* Account icon/login state: keep the language globe separate, and convert only the account/man icon to an Amazon-style greeting after sign-in. */
.header-actions .account-link .account-text {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    line-height: 1.05;
}
.header-actions .account-link .account-greeting {
    display: block;
    color: #fff;
    font-size: .72rem;
    font-weight: 400;
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-actions .account-link .account-display-name {
    display: block;
    color: #fff;
    font-size: .94rem;
    font-weight: 600;
    letter-spacing: .1px;
    line-height: 1.08;
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-actions .account-link.account-signed-in {
    width: auto !important;
    min-width: 64px !important;
    max-width: 162px;
    padding: 4px 8px !important;
    justify-content: flex-start !important;
}
.header-actions .account-link.account-signed-in .account-icon {
    display: none;
}
.header-actions .account-link.account-signed-in .account-text {
    display: inline-flex;
}
.header-actions .account-link.account-signed-in.dropdown-toggle::after {
    align-self: center;
    flex: 0 0 auto;
    margin-left: 6px;
}

/* Smart product builder tabs/category suggestion update */
.product-builder-tabs .nav-link{border-radius:999px;font-weight:800;color:#475569;background:#f8fafc;border:1px solid #e5e7eb;padding:.55rem .85rem}.product-builder-tabs .nav-link.active{background:#fff7ed;color:#c2410c;border-color:#ff9900;box-shadow:0 0 0 3px rgba(255,153,0,.12)}#aiCategorySuggestion{min-height:74px}.tab-pane .product-builder-section{margin-bottom:0}

/* Amazon-style variation builder */
.amazon-variation-modal{border:0;border-radius:20px;overflow:hidden;box-shadow:0 28px 90px rgba(15,23,42,.24)}
.amazon-variation-header{background:#fff;border-bottom:1px solid #e5e7eb;color:#111827;padding:22px 24px}.amazon-variation-header .product-builder-kicker{color:#007185}.amazon-variation-header .modal-title{font-weight:900;font-size:1.45rem}.amazon-variation-help{border:1px solid #d5dbdb;background:#f7fafa;border-radius:4px;padding:14px 16px;color:#111827}.amazon-variation-step{display:flex;gap:14px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}.amazon-step-number{width:34px;height:34px;min-width:34px;border-radius:50%;background:#ff9900;color:#111827;font-weight:900;display:flex;align-items:center;justify-content:center}.amazon-variation-type-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.amazon-variation-type-tile{position:relative;display:flex;align-items:center;gap:10px;border:1px solid #d5dbdb;border-radius:4px;padding:11px 12px;cursor:pointer;background:#fff;min-height:48px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.amazon-variation-type-tile:hover{border-color:#007185;background:#f7fafa}.amazon-variation-type-tile input{position:absolute;opacity:0;pointer-events:none}.amazon-variation-type-tile>i{font-size:1.1rem;color:#565959}.amazon-variation-type-tile span:last-child{font-weight:700;color:#111827}.amazon-variation-type-tile.is-selected{border-color:#007185;box-shadow:0 0 0 3px rgba(0,113,133,.15);background:#f0fbff}.amazon-checkmark{width:22px;height:22px;border:1px solid #adb1b8;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;color:transparent;background:#fff}.amazon-variation-type-tile.is-selected .amazon-checkmark{background:#007185;border-color:#007185;color:#fff}.amazon-discard-note{font-size:.86rem;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:8px 10px}.amazon-value-card{border:1px solid #d5dbdb;border-radius:12px;padding:14px;background:#fff}.amazon-value-icon{width:34px;height:34px;border-radius:10px;background:#f0fbff;color:#007185;display:inline-flex;align-items:center;justify-content:center}.amazon-variation-table thead th{background:#f3f3f3;border-bottom:1px solid #d5dbdb;color:#111827;font-size:.82rem;text-transform:uppercase;letter-spacing:.02em}.amazon-variation-table tbody tr:hover{background:#f7fafa}@media(max-width:576px){.amazon-variation-step{display:block}.amazon-step-number{margin-bottom:10px}.amazon-variation-type-grid{grid-template-columns:1fr}}

/* Step-save product builder flow */
.product-builder-tabs .nav-link.is-step-locked {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.15);
}
.variation-mode-box {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fbfbfd;
  padding: 14px;
}
.variation-mode-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  height: 100%;
  border: 1px solid #d9dee8;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.variation-mode-card:hover {
  border-color: #ff9900;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}
.variation-mode-card input {
  margin-top: 3px;
  accent-color: #ff9900;
}
.variation-mode-card:has(input:checked) {
  border-color: #ff9900;
  background: #fff8ee;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, .14);
}
.variation-mode-card strong {
  display: block;
  color: #111827;
}
.variation-mode-card small {
  display: block;
  color: #6b7280;
  margin-top: 2px;
}
.variation-media-panel {
  border: 1px dashed #d9dee8;
  border-radius: 18px;
  background: #fcfcfd;
  padding: 14px;
}
.variation-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.variation-media-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}
.variation-media-thumb {
  width: 58px;
  height: 58px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #94a3b8;
}
.variation-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* V8: card-based sellable products inside Versions / Options */
.sellable-card-grid{display:grid;grid-template-columns:1fr;gap:16px}.sellable-product-card{border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.05);overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.sellable-product-card:hover{border-color:#bfdbfe;box-shadow:0 16px 34px rgba(15,23,42,.08);transform:translateY(-1px)}.sellable-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;border-bottom:1px solid #eef2f7;background:linear-gradient(180deg,#fff,#f8fafc)}.sellable-card-title{font-size:1.12rem;font-weight:900;color:#111827;line-height:1.2}.sellable-card-attrs{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px;font-size:.86rem}.sellable-card-attr{display:inline-flex;align-items:center;gap:5px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:4px 9px;color:#111827}.sellable-card-attr span{color:#64748b}.sellable-card-status{white-space:nowrap}.sellable-card-status .form-check-input{cursor:pointer}.sellable-card-status .form-check-label{font-weight:800;color:#334155}.sellable-card-body{display:grid;grid-template-columns:minmax(320px,1.35fr) minmax(280px,.9fr);gap:18px;padding:18px}.sellable-field-label{font-weight:900;color:#334155;margin-bottom:8px;text-transform:uppercase;letter-spacing:.03em;font-size:.78rem}.sellable-card-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start}.sellable-card-fields>div:first-child{grid-column:1/-1}.sellable-card-fields .form-control{border-radius:12px}.sellable-card-media .manager-variation-media{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;padding:12px}.sellable-card-media .selected-variation-images{display:flex;flex-wrap:wrap;gap:10px;margin:0!important}.sellable-card-media .selected-variation-image-card{width:96px;max-width:96px;flex:0 0 96px;padding:0!important}.sellable-card-media .variation-selected-card{height:128px}.sellable-card-media .variation-selected-card img{height:86px!important}.sellable-card-media .selected-variation-images-empty{margin:0 0 8px 0!important;max-width:none;border-style:dashed;background:#fff}.sellable-card-media .variation-selected-trash{position:absolute;top:-9px;right:-9px;border-radius:999px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0}.manager-media-actions{border-top:1px solid #e5e7eb;padding-top:10px}.manager-add-media-btn{border-radius:12px;font-weight:800}.sellable-card-footer{display:flex;justify-content:flex-end;padding:12px 18px;border-top:1px solid #eef2f7;background:#f8fafc}.sellable-card-footer .btn{border-radius:12px}.manager-media-upload-note{border-radius:10px}.amazon-variation-step .sellable-card-grid+.table-responsive{display:none}@media(max-width:992px){.sellable-card-body{grid-template-columns:1fr}.sellable-card-fields{grid-template-columns:1fr 1fr}}@media(max-width:576px){.sellable-card-header{display:block}.sellable-card-status{margin-top:12px}.sellable-card-fields{grid-template-columns:1fr}.sellable-card-media .selected-variation-image-card{width:82px;max-width:82px;flex-basis:82px}.sellable-card-media .variation-selected-card{height:116px}.sellable-card-media .variation-selected-card img{height:76px!important}}

/* V10 slimmer sellable cards + inline variation heading + video thumbnails */
.sellable-card-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.sellable-card-title-line .sellable-card-title{margin:0}
.sellable-card-title-line .sellable-card-attrs{margin-top:0}
.sellable-card-title-line .sellable-card-attr{padding:5px 11px;font-size:.92rem}
.manager-video-pending .selected-variation-videos{margin:0!important}
.selected-variation-video-card .video-play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;display:inline-flex;align-items:center;justify-content:center;pointer-events:none}
.selected-variation-video-card video{display:block;background:#f8fafc}
.sellable-card-media .selected-variation-video-card{width:96px;max-width:96px;flex:0 0 96px;padding:0!important}
.sellable-card-media .selected-variation-video-card .variation-selected-card{height:128px}

/* V13 compact variation cards + selectable main image */
.variation-main-star{
    position:absolute;
    top:-9px;
    left:-9px;
    z-index:3;
    width:30px;
    height:30px;
    border-radius:999px;
    border:1px solid #f59e0b;
    background:#fff7ed;
    color:#f59e0b;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    box-shadow:0 4px 12px rgba(15,23,42,.12);
}
.variation-main-star:hover{background:#f59e0b;color:#fff;}
.variation-selected-card.is-main-image{border-color:#f59e0b!important;box-shadow:0 0 0 2px rgba(245,158,11,.18);}
.amazon-variation-type-tile span:last-child{white-space:nowrap;}

/* V14 cleaner media thumbnail actions: icon-only star/trash, no circles */
.variation-selected-card .variation-main-star{
    top:6px;
    left:6px;
    width:auto;
    height:auto;
    min-width:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#f59e0b;
    padding:0;
    font-size:1.35rem;
    line-height:1;
    box-shadow:none;
    text-shadow:0 1px 2px rgba(255,255,255,.95),0 0 4px rgba(255,255,255,.9),0 1px 4px rgba(15,23,42,.28);
}
.variation-selected-card .variation-main-star:hover,
.variation-selected-card .variation-main-star:focus{
    background:transparent;
    color:#d97706;
    transform:scale(1.08);
}
.sellable-card-media .variation-selected-trash,
.variation-selected-card .variation-selected-trash{
    top:6px;
    right:6px;
    width:auto;
    height:auto;
    min-width:0;
    border:0!important;
    border-radius:0;
    background:transparent!important;
    color:#dc2626!important;
    padding:0;
    font-size:1.25rem;
    line-height:1;
    box-shadow:none;
    text-shadow:0 1px 2px rgba(255,255,255,.95),0 0 4px rgba(255,255,255,.9),0 1px 4px rgba(15,23,42,.28);
}
.sellable-card-media .variation-selected-trash:hover,
.variation-selected-card .variation-selected-trash:hover,
.sellable-card-media .variation-selected-trash:focus,
.variation-selected-card .variation-selected-trash:focus{
    background:transparent!important;
    color:#b91c1c!important;
    transform:scale(1.08);
}

/* V17 sleeker media thumbnails: plain image numbers, no badge circle and no extra bottom padding */
.variation-selected-card{position:relative;line-height:0;}
.variation-image-number-badge{
    position:absolute;
    right:7px;
    bottom:6px;
    min-width:0;
    height:auto;
    padding:0;
    border-radius:0;
    background:transparent;
    color:#fff;
    font-size:.86rem;
    font-weight:900;
    display:inline-block;
    line-height:1;
    box-shadow:none;
    text-shadow:0 1px 2px rgba(0,0,0,.9),0 0 3px rgba(0,0,0,.55),0 1px 2px rgba(255,255,255,.55);
}
.variation-selected-card.is-main-image .variation-image-number-badge{
    background:transparent;
    color:#f59e0b;
}
.sellable-card-media .variation-selected-card{height:auto;}
.sellable-card-media .variation-selected-card img{display:block;height:96px!important;}
@media(max-width:576px){
    .sellable-card-media .variation-selected-card{height:auto;}
    .sellable-card-media .variation-selected-card img{height:86px!important;}
}

/* V18: remove extra media gallery padding/empty space in sellable cards */
.sellable-card-media .manager-variation-media{
    display:inline-block;
    width:fit-content;
    max-width:100%;
    padding:8px 10px;
    border-radius:14px;
}
.sellable-card-media .selected-variation-images{
    gap:8px;
    margin:0!important;
    max-width:100%;
}
.sellable-card-media .selected-variation-image-card,
.sellable-card-media .selected-variation-video-card{
    width:86px;
    max-width:86px;
    flex:0 0 86px;
}
.sellable-card-media .variation-selected-card,
.sellable-card-media .selected-variation-video-card .variation-selected-card{
    height:auto!important;
}
.sellable-card-media .variation-selected-card img,
.sellable-card-media .selected-variation-video-card video{
    height:86px!important;
}
.manager-media-actions{
    margin-top:8px;
    padding-top:8px;
}
.sellable-card-body{
    padding:16px 18px;
}
@media(max-width:576px){
    .sellable-card-media .selected-variation-image-card,
    .sellable-card-media .selected-variation-video-card{
        width:78px;
        max-width:78px;
        flex-basis:78px;
    }
    .sellable-card-media .variation-selected-card img,
    .sellable-card-media .selected-variation-video-card video{
        height:78px!important;
    }
}

/* V19: slimmer sellable cards - move Remove into header and remove footer spacing */
.sellable-card-status{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
}
.sellable-header-remove{
    border-radius:12px;
    white-space:nowrap;
}
.sellable-product-card .sellable-card-footer{
    display:none!important;
}
.sellable-card-body{
    padding-bottom:16px!important;
}
@media(max-width:576px){
    .sellable-card-status{
        justify-content:space-between;
        width:100%;
    }
}


/* V20: thumbnail numbers sit directly on the image - no inner thumbnail padding */
.sellable-card-media .variation-selected-card{
    padding:0!important;
    overflow:hidden;
    background:#fff;
}
.sellable-card-media .variation-selected-card img,
.sellable-card-media .variation-selected-card video{
    display:block;
    width:100%!important;
    height:86px!important;
    margin:0!important;
    border-radius:10px!important;
    object-fit:cover;
}
.sellable-card-media .variation-image-number-badge{
    right:6px;
    bottom:6px;
    z-index:4;
    padding:0!important;
    margin:0!important;
}
.sellable-card-media .variation-main-star,
.sellable-card-media .variation-selected-trash{
    z-index:5;
}
@media(max-width:576px){
    .sellable-card-media .variation-selected-card img,
    .sellable-card-media .variation-selected-card video{
        height:78px!important;
    }
}

/* V22: make variation media thumbnails true square tiles */
.sellable-card-media .selected-variation-image-card,
.sellable-card-media .selected-variation-video-card{
    width:86px!important;
    max-width:86px!important;
    flex:0 0 86px!important;
}
.sellable-card-media .variation-selected-card,
.sellable-card-media .selected-variation-video-card .variation-selected-card{
    width:86px!important;
    height:86px!important;
    min-height:86px!important;
    padding:0!important;
    overflow:hidden;
    position:relative;
}
.sellable-card-media .variation-selected-card img,
.sellable-card-media .variation-selected-card video,
.sellable-card-media .selected-variation-video-card video{
    width:100%!important;
    height:100%!important;
    display:block!important;
    margin:0!important;
    object-fit:contain!important;
    border-radius:10px!important;
}
.sellable-card-media .variation-image-number-badge{
    position:absolute;
    right:5px;
    bottom:3px;
    z-index:6;
    line-height:1;
    background:transparent!important;
    padding:0!important;
    margin:0!important;
    font-weight:900;
    color:#475569;
    text-shadow:0 1px 2px rgba(255,255,255,.95),0 1px 3px rgba(15,23,42,.45);
}
.sellable-card-media .variation-selected-card.is-main-image .variation-image-number-badge{
    color:#f59e0b;
}
@media(max-width:576px){
    .sellable-card-media .selected-variation-image-card,
    .sellable-card-media .selected-variation-video-card{
        width:78px!important;
        max-width:78px!important;
        flex-basis:78px!important;
    }
    .sellable-card-media .variation-selected-card,
    .sellable-card-media .selected-variation-video-card .variation-selected-card{
        width:78px!important;
        height:78px!important;
        min-height:78px!important;
    }
}

/* V26: product-list shortcuts and inline simple-product price edit */
.admin-product-category-open,
.admin-product-price-open,
.admin-price-display {
    border: 0;
    background: transparent;
    padding: 2px 4px;
    margin: -2px -4px;
    color: inherit;
    text-align: left;
    border-radius: 8px;
}
.admin-product-category-open:hover,
.admin-product-price-open:hover,
.admin-price-display:hover {
    color: #c2410c;
    text-decoration: underline;
    background: #fff7ed;
}
.admin-product-price-currency {
    display: inline-block;
    margin-right: 3px;
    font-size: .72rem;
    font-weight: 400;
    line-height: 1;
    vertical-align: baseline;
}
.admin-product-price-amount {
    font-size: 1rem;
    font-weight: 700;
}
.admin-inline-price { min-width: 150px; }
.admin-price-editor {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 260px;
}
.admin-price-editor .admin-price-input { max-width: 110px; }
.category-focus-pulse {
    box-shadow: 0 0 0 4px rgba(255,153,0,.22) !important;
    border-color: #ff9900 !important;
}

/* V27: compact icon counters and status action button on product list */
.admin-product-mini-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.admin-mini-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    padding: 2px 7px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: .78rem;
    line-height: 1;
    font-weight: 700;
}
.admin-mini-stat i { color: #0f766e; font-size: .9rem; }
.admin-mini-stat strong { font-weight: 800; }
.admin-mini-stat-muted { color: #94a3b8; }
.admin-mini-stat-muted i { color: #94a3b8; }
.admin-status-toggle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .45rem;
    border-width: 1px;
    background: #fff;
}
.admin-status-toggle.is-active {
    border-color: rgba(22, 163, 74, .35);
    color: #15803d;
    background: #f0fdf4;
}
.admin-status-toggle.is-active:hover {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
}
.admin-status-toggle.is-inactive {
    border-color: rgba(220, 38, 38, .35);
    color: #dc2626;
    background: #fff1f2;
}
.admin-status-toggle.is-inactive:hover {
    color: #fff;
    background: #dc2626;
    border-color: #dc2626;
}
.admin-status-toggle i { font-size: 1rem; }

.admin-stock-mini {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 28px;
    padding: .25rem .55rem;
    border-radius: .55rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: .82rem;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}
.admin-stock-mini i { font-size: .95rem; }
.admin-stock-mini.is-ok { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.admin-stock-mini.is-low { color: #92400e; background: #fef3c7; border-color: #fde68a; }
.admin-stock-mini.is-out { color: #dc2626; background: #fee2e2; border-color: #fecaca; }

/* V29: cleaner product list without separate Status column */
.admin-products-table th.text-center,
.admin-products-table td.text-center {
    text-align: center !important;
    vertical-align: middle;
}
.admin-products-table td.text-center .admin-product-category-open,
.admin-products-table td.text-center .admin-product-price-open,
.admin-products-table td.text-center .admin-price-display {
    text-align: center;
}
.admin-actions-cell {
    text-align: center !important;
}
.admin-actions-cell .btn {
    margin-left: .12rem;
    margin-right: .12rem;
}

/* V38: slimmer admin product filters without duplicate field labels */
.admin-product-toolbar .card-body {
    padding-top: .8rem;
    padding-bottom: .8rem;
}

/* V42: Admin category icons and clearer Category / Subcategory flow */
.admin-categories-table .admin-category-name {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-categories-table .admin-category-name.is-subcategory {
    padding-left: 1rem;
    font-weight: 500;
}

.admin-categories-table .admin-category-arrow {
    color: #64748b;
    font-weight: 700;
}

.admin-category-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: .55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7e6;
    color: #b36200;
    border: 1px solid #ffd08a;
    flex: 0 0 auto;
}

.admin-categories-table .admin-category-name.is-subcategory .admin-category-icon {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: .45rem;
    background: #f8fafc;
    color: #475569;
    border-color: #dbe3ec;
}

/* V43: category table grouped by main category, subcategories in one line */
.admin-categories-table th,
.admin-categories-table td {
    vertical-align: middle;
}

.admin-category-main-cell {
    min-width: 210px;
    white-space: nowrap;
}

.admin-category-description {
    max-width: 360px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-subcategory-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    max-width: 520px;
}

.admin-subcategory-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .18rem .42rem .18rem .22rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    white-space: nowrap;
    font-size: .88rem;
}

.admin-subcategory-chip .admin-category-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    font-size: .72rem;
    background: #fff;
}

.admin-subcategory-delete {
    border: 0;
    background: transparent;
    color: #9b1c1c;
    padding: 0 .1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.admin-subcategory-delete:hover {
    color: #dc2626;
}

.admin-category-action-cell {
    white-space: nowrap;
    text-align: center;
    width: 1%;
}

/* V44: category bulk selection and icon-based actions */
.admin-category-select-cell {
    width: 42px;
    text-align: center;
    white-space: nowrap;
}

.admin-categories-table .admin-actions-cell {
    width: 118px;
}

.admin-categories-table .admin-actions-cell .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
}

.admin-category-main-cell {
    max-width: 260px;
}

.admin-subcategory-chip-list {
    min-width: 260px;
}

/* V47: categories page uses status power icon only, no separate Status column */
.admin-subcategory-add {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 1px dashed #cbd5e1;
    background: #fff;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.admin-subcategory-add:hover {
    border-color: #0f766e;
    background: #f0fdfa;
    color: #0f766e;
}
.admin-no-subcategories {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
}
.admin-icon-bulk-actions .btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.admin-categories-table th:nth-child(2) { width: 22%; }
.admin-categories-table th:nth-child(3) { width: 36%; }
.admin-categories-table th:nth-child(4) { width: 30%; }
.admin-categories-table th:nth-child(5) { width: 12%; }

/* V49 admin sidebar count badges */
.admin-side-nav a{position:relative}.admin-side-nav a span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-nav-badge{margin-left:auto;min-width:24px;height:22px;padding:0 7px;border-radius:999px;display:none;align-items:center;justify-content:center;background:#e5e7eb;color:#111827;font-size:.75rem;font-weight:800;line-height:1;border:1px solid rgba(255,255,255,.16)}.admin-nav-badge-alert{background:#f59e0b;color:#111827}.admin-side-nav a.active .admin-nav-badge{background:#111827;color:#fff}.admin-side-nav a.active .admin-nav-badge-alert{background:#111827;color:#fff}.admin-side-nav a:hover .admin-nav-badge{background:#fff;color:#111827}

/* V50 admin table consistency: compact icon actions and selection */
.admin-table-actions .btn,
.admin-icon-bulk-actions .btn {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .45rem;
}
.admin-review-product-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 3px;
}
.admin-reviews-table td,
.admin-users-table td {
    vertical-align: middle;
}
.admin-order-section .admin-bulk-bar {
    margin: 10px 0;
}

/* V51: cleaner order date dropdown arrow and no Wishlist UI */
.orders-filter-row .orders-date-select,
.orders-filter-row select#ordersDateFilter {
    -webkit-appearance: none;
    appearance: none;
    height: 44px;
    min-width: 206px;
    border: 1px solid #b8c0c8;
    border-radius: 9px;
    padding: 8px 48px 8px 14px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23111827' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7' d='M3.5 6L8 10.5L12.5 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px 18px;
    line-height: 1.2;
    cursor: pointer;
}

.orders-filter-row .orders-date-select:focus,
.orders-filter-row select#ordersDateFilter:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .16);
    outline: 0;
}

.orders-filter-row .orders-date-select::-ms-expand,
.orders-filter-row select#ordersDateFilter::-ms-expand {
    display: none;
}

@media (max-width: 576px) {
    .orders-filter-row {
        flex-wrap: wrap;
    }
    .orders-filter-row .orders-date-select,
    .orders-filter-row select#ordersDateFilter {
        min-width: 100%;
    }
}

/* V53 Amazon-style returns */
.customer-return-card {
    border-radius: 12px;
    border-color: #d5d9d9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.customer-return-list {
    display: grid;
    gap: 10px;
}
.customer-return-item {
    border: 1px solid #e3e6e6;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
}
.customer-return-item strong {
    margin-right: 8px;
}

/* Keep every part of one order inside a single Amazon-style card. */
.customer-order-unified-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15,23,42,.04);
}
.customer-order-unified-card .customer-order-summary-card,
.customer-order-unified-card .customer-delivery-card,
.customer-order-unified-card .customer-cancel-card,
.customer-order-unified-card .customer-return-card {
    margin: 0 !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}
.customer-order-unified-card .customer-delivery-card,
.customer-order-unified-card .customer-cancel-card,
.customer-order-unified-card .customer-return-card {
    border-top: 1px solid #d5d9d9;
}
.customer-order-unified-card .customer-cancel-card .card-body,
.customer-order-unified-card .customer-return-card .card-body {
    padding: 24px 34px;
}
.customer-order-unified-card .customer-cancel-card { display: none; }
.customer-order-unified-card .customer-cancel-items { display: none; }
.customer-order-unified-card.is-cancelling-items .customer-order-product-row {
    grid-template-columns: 28px 170px minmax(0,1fr);
}
.customer-order-cancel-check {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    cursor: pointer;
}
.customer-order-cancel-check[hidden] { display: none; }
.customer-order-cancel-check .form-check-input { width: 1.2rem; height: 1.2rem; cursor: pointer; }
.customer-start-cancel { color: #b12704; font: inherit; }
.customer-start-cancel:hover { background: #fff5f5; }
.customer-cancel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.customer-exit-cancel { float: right; margin-top: -4px; }
@media (max-width: 991.98px) and (min-width: 577px) {
    .customer-order-unified-card.is-cancelling-items .customer-order-product-row {
        grid-template-columns: 28px 120px minmax(0,1fr);
    }
}
@media (max-width: 576px) {
    .customer-order-unified-card .customer-cancel-card .card-body,
    .customer-order-unified-card .customer-return-card .card-body {
        padding: 20px 18px;
    }
    .customer-order-unified-card.is-cancelling-items .customer-order-product-row {
        grid-template-columns: 24px 90px minmax(0,1fr);
    }
}
.amazon-order-side-actions .amazon-action-outline[href*="returnItems"],
.customer-delivery-actions a[href="#returnItems"] {
    font-weight: 700;
}
.admin-return-table td small { display:block; color:#6b7280; }
.admin-return-table .form-select { min-width:150px; }

/* V56 Amazon-like return/refund status page */
.amazon-return-page-shell {
    background: #eef0f0;
    min-height: calc(100vh - 120px);
    padding-bottom: 40px;
}
.amazon-return-banner {
    background: #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 220px;
    padding: 12px 40px;
    color: #007600;
    font-size: 24px;
}
.amazon-return-banner img {
    max-height: 90px;
    width: 70px;
    object-fit: contain;
}
.amazon-return-check {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #008a00;
    color: #fff;
    font-size: 14px;
    margin-right: 24px;
}
.amazon-return-layout {
    width: min(1180px, calc(100% - 48px));
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
}
.amazon-return-status-card,
.amazon-return-summary-card,
.amazon-carrier-instructions,
.amazon-return-layout aside {
    background: #fff;
    border: 1px solid #e3e6e6;
}
.amazon-return-status-card {
    padding: 22px 18px 36px;
    text-align: center;
}
.amazon-return-status-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
}
.amazon-return-status-card p {
    margin: 0 0 30px;
    font-size: 17px;
}
.amazon-return-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 12px;
}
.amazon-return-timeline::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 50px;
    height: 7px;
    border-radius: 999px;
    background: #d5d9d9;
}
.amazon-return-timeline[data-stage="0"]::before { background: linear-gradient(90deg, #1196a9 0 13%, #d5d9d9 13%); }
.amazon-return-timeline[data-stage="1"]::before { background: linear-gradient(90deg, #1196a9 0 38%, #d5d9d9 38%); }
.amazon-return-timeline[data-stage="2"]::before { background: linear-gradient(90deg, #1196a9 0 63%, #d5d9d9 63%); }
.amazon-return-timeline[data-stage="3"]::before { background: #1196a9; }
.amazon-return-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.amazon-return-step-date {
    font-weight: 700;
    min-height: 24px;
    margin-bottom: 6px;
}
.amazon-return-step-dot {
    margin: 0 auto 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: #d5d9d9;
    border: 4px solid #fff;
    box-sizing: content-box;
}
.amazon-return-step.is-done .amazon-return-step-dot {
    background: #1196a9;
    color: #fff;
}
.amazon-return-step-label {
    color: #0a58aa;
    font-size: 17px;
}
.amazon-return-step.is-done:last-child .amazon-return-step-label,
.amazon-return-timeline[data-stage="3"] .amazon-return-step:last-child .amazon-return-step-label {
    font-weight: 800;
}
.amazon-return-summary-card {
    margin-top: 14px;
    padding: 18px 20px;
}
.amazon-return-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.amazon-return-summary-head h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 800;
}
.amazon-return-summary-head strong {
    font-size: 24px;
    color: #007600;
}
.amazon-payment-chip {
    border: 1px solid #c7d2fe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 4px;
    margin-right: 4px;
}
.amazon-carrier-instructions {
    margin-top: 14px;
}
.amazon-carrier-instructions summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
}
.amazon-carrier-instructions summary::after {
    content: "⌄";
    font-size: 28px;
    line-height: 1;
}
.amazon-carrier-instructions[open] summary::after {
    content: "⌃";
}
.amazon-carrier-instructions div {
    border-top: 1px solid #e3e6e6;
    padding: 16px 20px;
}
.amazon-return-layout aside {
    padding: 14px 16px;
    height: max-content;
}
.amazon-return-continue {
    display: block;
    border-radius: 999px;
    text-align: center;
    background: #ffd814;
    border: 1px solid #fcd200;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 16px;
}
.amazon-return-side-link {
    display: block;
    text-decoration: none;
    font-weight: 700;
}
@media (max-width: 900px) {
    .amazon-return-banner { gap: 32px; justify-content: space-between; }
    .amazon-return-layout { grid-template-columns: 1fr; width: min(100% - 24px, 1180px); }
}
@media (max-width: 640px) {
    .amazon-return-banner { padding: 12px 16px; font-size: 18px; }
    .amazon-return-timeline { grid-template-columns: 1fr; gap: 18px; text-align: left; }
    .amazon-return-timeline::before { display: none; }
    .amazon-return-step { display: grid; grid-template-columns: 80px 42px 1fr; align-items: center; text-align: left; }
    .amazon-return-step-dot { margin: 0; }
    .amazon-return-step-date { margin: 0; }
}

html.hide-hero-from-setting #hero { display: none !important; }

/* V86 customer product speed polish */
.detail-main-img.is-loading { opacity: .72; }
.product-page-loading .temu-product-card { cursor: progress; }


/* V89 Amazon-style Buy Again page */
.orders-tabs .orders-tab-link {
    border: 0;
    background: transparent;
    color: #111827;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.orders-tabs .orders-tab-link:hover { color: #007185; border-bottom-color: #007185; }
.buy-again-page { max-width: 1760px; }
.buy-again-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #d5d9d9;
    margin-bottom: 18px;
}
.buy-again-tabs a {
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 0 10px;
    border-bottom: 3px solid transparent;
}
.buy-again-tabs a.active { color: #007185; border-bottom-color: #007185; }
.buy-again-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.buy-again-title-row h1 { font-size: 2rem; line-height: 1.1; font-weight: 500; margin: 0; }
.buy-again-title-row p { color: #565959; margin: 0; }
.buy-again-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
}
.buy-again-filter {
    border-right: 1px solid #e5e7eb;
    padding-right: 18px;
}
.buy-again-filter h2 { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.buy-again-filter h2 + .form-select { margin-bottom: 18px; max-width: 165px; }
.buy-again-check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.buy-again-summary { font-weight: 600; margin-bottom: 12px; }
.buy-again-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.buy-again-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 390px;
}
.buy-again-card:hover { box-shadow: 0 2px 10px rgba(15, 23, 42, .12); }
.buy-again-img-link {
    display: block;
    height: 190px;
    background: #f7f7f7;
    text-align: center;
    padding: 12px;
}
.buy-again-img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.buy-again-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.buy-again-product-title {
    color: #0f1111;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.buy-again-product-title:hover { color: #c45500; text-decoration: underline; }
.buy-again-variant, .buy-again-meta { color: #565959; font-size: 13px; }
.buy-again-price { font-size: 18px; font-weight: 800; }
.buy-again-discount { color: #cc0c39; font-weight: 800; }
.buy-again-old-price { color: #565959; text-decoration: line-through; font-size: 13px; font-weight: 500; }
.buy-again-stock { font-size: 13px; font-weight: 800; }
.buy-again-stock.in-stock { color: #007600; }
.buy-again-stock.out-stock { color: #cc0c39; }
.buy-again-actions { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.buy-again-actions .btn-amz { border-radius: 999px; flex: 1; }
.buy-again-view { font-size: 13px; white-space: nowrap; }
.buy-again-empty { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .buy-again-title-row { flex-direction: column; }
    .buy-again-shell { grid-template-columns: 1fr; }
    .buy-again-filter { border-right: 0; border-bottom: 1px solid #e5e7eb; padding: 0 0 14px; }
}


/* V92 Amazon-style customer tracking page */
.customer-track-page{background:#fff;min-height:70vh;padding:22px 0 42px}.track-shell{max-width:1180px;margin:0 auto;padding:0 18px;color:#111}.track-top-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:6px auto 18px;max-width:980px}.track-top-row h1{font-size:1.45rem;font-weight:800;margin:0 0 3px;color:#003b3b}.track-top-row p{margin:0;color:#003b3b}.track-top-row a{font-size:.93rem;text-decoration:none;color:#0066c0}.track-hero-product{max-width:980px;margin:18px auto 22px;padding-left:20px}.track-hero-product img{width:78px;height:78px;object-fit:contain}.track-progress-wrap{max-width:980px;margin:0 auto 26px;position:relative;padding:18px 0 42px}.track-line{position:absolute;left:42px;right:42px;top:32.5px;height:5px;background:#e7e3e8;border-radius:99px;overflow:hidden;z-index:1}.track-line span{display:block;height:100%;background:#0797a8;border-radius:99px}.track-steps{display:grid;grid-template-columns:repeat(4,1fr);position:relative;z-index:2}.track-step{text-align:center;color:#111}.track-step span{width:34px;height:34px;border-radius:999px;background:#e7e3e8;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;color:#fff;font-size:1.2rem;position:relative;z-index:3}.track-step.done span{background:#0797a8}.track-step strong{display:block;font-size:1.08rem;font-weight:500}.track-step.done strong{font-weight:800}.track-delivery-card{max-width:980px;margin:0 auto 20px;border-top:1px solid #ddd;padding:18px 0}.track-delivery-card h2{font-size:1.12rem;margin:0 0 10px;font-weight:800;color:#003b3b}.track-delivery-card p{margin:0 0 2px}.track-delivery-card a,.track-info-grid a,.track-updates a{color:#0066c0;text-decoration:none}.track-info-grid{max-width:760px;margin:0 auto 30px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.track-info-grid article{border:3px solid #d5d9d9;background:#fff;padding:20px 22px;min-height:132px}.track-info-grid h2{font-size:1.1rem;font-weight:800;margin:0 0 16px}.track-info-grid p{line-height:1.55;margin:0 0 16px}.track-updates{max-width:760px;margin:0 auto 28px;border:1px solid #e1e4e8;border-radius:10px;padding:20px 24px;background:#fff}.track-updates h2{font-size:1.25rem;font-weight:800;margin:0 0 14px}.track-updates ol{list-style:none;margin:0;padding:0;border-left:3px solid #e7e3e8}.track-updates li{position:relative;padding:0 0 18px 20px}.track-updates li:before{content:"";position:absolute;left:-9px;top:4px;width:15px;height:15px;border-radius:999px;background:#e7e3e8}.track-updates li.active:before{background:#0797a8}.track-updates strong{display:block;font-weight:800}.track-updates span{display:block;color:#555;margin-top:2px}.track-items{max-width:980px;margin:0 auto 28px;border-top:1px solid #ddd;padding-top:18px}.track-items h2,.track-buyagain strong{font-size:1.05rem;font-weight:800;margin:0 0 12px;color:#003b3b}.track-product-mini{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:12px}.track-product-mini img{width:90px;height:90px;object-fit:contain;background:#fafafa}.track-product-mini a{color:#0066c0}.track-product-mini small{display:block;color:#555;margin-top:5px}.track-buyagain{margin:24px -6px 0}.track-buyagain>div:first-child{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.track-buyagain a{color:#0066c0;text-decoration:none}.track-buyagain-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.track-buyagain-item{display:block;color:#0066c0;text-decoration:none;font-size:.86rem}.track-buyagain-item img{width:100%;height:95px;object-fit:contain;margin-bottom:8px}.track-buyagain-item span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:767.98px){.track-info-grid{grid-template-columns:1fr}.track-buyagain-row{grid-template-columns:repeat(2,minmax(0,1fr))}.track-step strong{font-size:.9rem}.track-line{left:26px;right:26px}.track-top-row{display:block}.track-product-mini{grid-template-columns:72px minmax(0,1fr)}.track-product-mini img{width:72px;height:72px}}

/* V97: Slightly thinner, consistent monoline header icons. Inline SVGs render cleaner than font icons. */
.alfi-stroke-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

/* Account menu actions use the same crisp monoline style as the header icons. */
.account-dropdown-item {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.account-dropdown-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.delivery-block .alfi-stroke-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}
.search-form.alfi-search .alfi-search-icon {
    width: 27px;
    height: 27px;
    stroke-width: 1.9;
}
.header-actions .header-outline-icon-link .alfi-stroke-icon,
.header-actions .header-outline-icon-link .cart-icon-wrap .alfi-stroke-icon {
    width: 31px;
    height: 31px;
    stroke-width: 1.7;
}
.header-actions .orders-link .alfi-bag-icon {
    width: 27px;
    height: 27px;
    stroke-width: 4.8;
}
.alfi-bag-icon circle,
.admin-nav-bag-icon circle {
    fill: currentColor;
    stroke: none;
}
.admin-nav-bag-icon {
    width: 19px;
    height: 19px;
    display: inline-block;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.subnav .show-all-products-link .alfi-grid-icon {
    width: 25px;
    height: 25px;
    stroke-width: 1.55;
}
.header-actions .cart-icon-wrap {
    align-items: center;
}

/* Customer service chat and feedback */
.customer-service-page{max-width:1480px;margin:0 auto;padding:28px 24px 40px;color:#111827}.service-hub{display:grid;gap:22px}.service-hub-header{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:end;border-bottom:1px solid #e5e7eb;padding-bottom:20px}.service-kicker{color:#007185;font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:.8rem}.service-hub-header h1{font-size:2.4rem;line-height:1.05;margin:6px 0 8px;font-weight:800}.service-hub-header p{font-size:1.08rem;color:#4b5563;margin:0;max-width:760px}.service-smile{justify-self:end;font-size:2.25rem;line-height:.84;letter-spacing:.08em;color:#111827;text-align:left}.service-smile strong{display:block;font-weight:300}.service-smile span,.service-feedback-logo i{display:block;width:150px;height:34px;border-bottom:8px solid #111827;border-radius:0 0 100% 100%;transform:rotate(5deg);margin-top:6px}.service-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.service-hub-grid article{border:1px solid #d5d9d9;background:#fff;border-radius:8px;padding:18px;min-height:150px}.service-hub-grid i{font-size:1.6rem;color:#007185}.service-hub-grid h2{font-size:1.12rem;font-weight:800;margin:12px 0 8px}.service-hub-grid p{color:#565959;margin:0;line-height:1.45}.service-start-panel{border:1px solid #d5d9d9;background:#fff;border-radius:8px;padding:20px}.service-start-panel h2{font-size:1.35rem;font-weight:800;margin:0 0 14px}.service-yellow-btn,.service-end-chat,.service-chat-form button,.service-feedback-submit{border:1px solid #fcd200;background:#ffd814;color:#111;border-radius:999px;font-weight:700;padding:9px 24px}.service-yellow-btn:hover,.service-end-chat:hover,.service-chat-form button:hover,.service-feedback-submit:hover{background:#f7ca00;color:#111}.service-signin-card,.service-thanks{max-width:760px;margin:40px auto;background:#fff;border:1px solid #d5d9d9;border-radius:8px;padding:32px;text-align:center}.service-thanks i{font-size:2.4rem;color:#16833a}.service-chat-shell{background:#fff;border:1px solid #d5d9d9;border-radius:8px;overflow:hidden;max-width:1120px;margin:0 auto}.service-chat-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:#f7fafa;border-bottom:1px solid #d5d9d9;padding:18px 22px}.service-back-link{color:#0066c0;text-decoration:none;font-size:.94rem}.service-chat-header h1{font-size:1.55rem;font-weight:800;margin:6px 0 4px}.service-chat-header p{margin:0;color:#565959}.service-end-chat:disabled{background:#e5e7eb;border-color:#d1d5db;color:#6b7280}.service-chat-messages{height:min(58vh,560px);overflow-y:auto;background:#f3f4f6;padding:22px;display:flex;flex-direction:column;gap:12px}.service-chat-message{display:flex}.service-chat-message.is-customer{justify-content:flex-end}.service-chat-message.is-system{justify-content:center}.service-chat-bubble{max-width:min(620px,84%);background:#fff;border:1px solid #d5d9d9;border-radius:14px;padding:12px 14px;box-shadow:0 1px 3px rgba(15,17,17,.08)}.service-chat-message.is-customer .service-chat-bubble{background:#e8f3ff;border-color:#bfdbfe}.service-chat-message.is-system .service-chat-bubble{background:transparent;border:0;box-shadow:none;color:#6b7280;font-size:.9rem;text-align:center}.service-chat-bubble strong{display:block;margin-bottom:4px}.service-chat-bubble p{margin:0;line-height:1.45}.service-chat-bubble span{display:block;color:#6b7280;font-size:.78rem;margin-top:6px}.service-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-top:1px solid #d5d9d9;padding:14px;background:#fff}.service-chat-form input{border:1px solid #a6a6a6;border-radius:999px;padding:11px 15px}.service-chat-ended{padding:16px 20px;border-top:1px solid #d5d9d9;background:#fff}.service-chat-ended a{color:#0066c0}.service-feedback-form{max-width:1320px;margin:0 auto;background:#fff;padding:30px 42px}.service-feedback-logo{font-size:2.7rem;line-height:.78;letter-spacing:.08em;color:#111827;margin-bottom:30px}.service-feedback-logo strong{display:block;font-weight:300}.service-feedback-form h1,.service-feedback-form h2{font-size:1.55rem;font-weight:800;margin:24px 0 12px}.service-rating-help{text-align:center;font-size:1.08rem;margin:0 0 28px}.service-rating-row{display:grid;grid-template-columns:minmax(210px,1fr) auto;align-items:center;gap:24px;max-width:1180px;margin:10px auto}.service-rating-row label{font-size:1.32rem;font-weight:800;margin:0}.service-star-buttons{display:flex;gap:9px}.service-star-buttons button{border:0;background:transparent;color:#b88a35;font-size:3.15rem;line-height:1;padding:0 2px}.service-star-buttons button.is-active{color:#ff9900}.service-feedback-comment-label{display:block;font-size:1.45rem;font-weight:800;margin:24px 0 8px}.service-feedback-comment-label span{font-size:1rem;font-weight:400}.service-feedback-form textarea{width:100%;min-height:180px;border:1px solid #8a8f94;border-radius:12px;padding:14px;font-size:1rem}.service-feedback-note{text-align:center;font-size:1.05rem;margin:10px 0 18px}.service-feedback-submit{display:block;margin:0 auto;min-width:240px;border-radius:12px;font-size:1.25rem}
.service-thanks-page{background:#f6f4f4;color:#111827;min-height:calc(100vh - 84px);padding:0 0 40px}.service-thanks-hero{background:#fff;text-align:center;padding:28px 16px 68px;border-bottom:1px solid #d5d9d9}.service-thanks-hero h1{font-size:1.8rem;font-weight:500;margin:0 0 28px}.service-thanks-hero .service-yellow-btn{min-width:260px;border-color:#c89411;background:#f4bd3a;border-radius:22px;font-size:1.05rem;font-weight:500;padding:9px 30px}.service-thanks-hero .service-yellow-btn:hover{background:#efb21f}.service-recommendations{display:grid;gap:26px}.service-rec-section{background:#fff;border:1px solid #d5d9d9;border-radius:4px;padding:16px 38px 22px;overflow:hidden}.service-rec-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.service-rec-header h2{font-size:1.35rem;font-weight:800;color:#f08804;margin:0}.service-rec-header span{white-space:nowrap;color:#374151;font-size:1rem}.service-rec-loading,.service-rec-empty{min-height:160px;display:flex;align-items:center;justify-content:center;color:#565959}.service-rec-carousel{position:relative}.service-rec-row{display:grid;grid-auto-flow:column;grid-auto-columns:182px;gap:22px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;scroll-snap-type:x proximity;padding:14px 38px 2px}.service-rec-row::-webkit-scrollbar{display:none}.service-rec-card{scroll-snap-align:start;min-width:0;color:#111827}.service-rec-img{display:flex;align-items:center;justify-content:center;height:152px;background:#fff;text-decoration:none;margin-bottom:8px}.service-rec-img img{max-width:100%;max-height:150px;object-fit:contain}.service-rec-title{display:block;color:#0066c0;text-decoration:none;font-size:.96rem;line-height:1.28;height:3.8em;overflow:hidden}.service-rec-title:hover{text-decoration:underline;color:#c45500}.service-rec-rating{color:#ff9900;font-size:.92rem;line-height:1.2;margin-top:5px;letter-spacing:.03em}.service-rec-rating span{color:#0066c0;letter-spacing:0;margin-left:3px}.service-rec-price{font-size:1rem;line-height:1.15;margin-top:5px;color:#111827}.service-rec-currency{font-size:.82rem;margin-right:1px}.service-rec-whole{font-size:1.4rem}.service-rec-decimal{font-size:.78rem;vertical-align:super}.service-rec-discount{color:#cc0c39;font-weight:700}.service-rec-old{display:block;color:#565959;text-decoration:line-through;font-size:.86rem;margin-top:1px}.service-rec-delivery{font-size:.9rem;line-height:1.25;margin-top:5px;color:#374151}.service-rec-arrow{position:absolute;top:74px;z-index:2;width:40px;height:48px;border:1px solid #c7c7c7;background:#f7f8fa;border-radius:8px;color:#374151;box-shadow:0 1px 4px rgba(15,17,17,.18);display:inline-flex;align-items:center;justify-content:center}.service-rec-arrow:hover{background:#eef0f3}.service-rec-prev{left:0}.service-rec-next{right:0}

/* Admin customer service inbox */
.admin-service-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.admin-service-toolbar h2{font-size:1.8rem;font-weight:800;margin:0}.admin-service-toolbar p{color:#6b7280;margin:2px 0 0}.admin-service-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:14px;align-items:start}.admin-service-list,.admin-service-detail,.admin-service-empty{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 20px rgba(15,23,42,.04)}.admin-service-list{display:flex;flex-direction:column;overflow:hidden}.admin-service-session{border:0;border-bottom:1px solid #eef2f7;background:#fff;text-align:left;padding:14px 16px;display:grid;gap:3px;color:#111827}.admin-service-session:hover,.admin-service-session.is-active{background:#eef6ff}.admin-service-session.is-active{box-shadow:inset 4px 0 #007185}.admin-service-session span{font-weight:800}.admin-service-session strong{font-size:.94rem}.admin-service-session small{color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-service-session em{font-style:normal;margin-top:4px}.admin-service-detail{padding:18px}.admin-service-detail header{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:14px}.admin-service-detail h3{font-size:1.35rem;font-weight:800;margin:0 0 4px}.admin-service-detail header p{color:#6b7280;margin:0}.admin-service-messages{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:14px;display:grid;gap:10px;margin-bottom:14px;max-height:430px;overflow-y:auto}.admin-service-message{max-width:74%;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px}.admin-service-message.is-customer{justify-self:end;background:#e8f3ff}.admin-service-message.is-system{justify-self:center;background:transparent;border:0;color:#6b7280;text-align:center}.admin-service-message p{margin:4px 0;line-height:1.4}.admin-service-message span{font-size:.78rem;color:#6b7280}.admin-service-feedback{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:14px;display:grid;gap:6px}.admin-service-feedback.muted{color:#6b7280}.admin-service-feedback h4{font-size:1rem;font-weight:800;margin:0 0 4px}.admin-service-feedback div{display:grid;grid-template-columns:190px 1fr;gap:8px}.admin-service-stars{color:#ff9900;letter-spacing:1px}.admin-service-empty{padding:60px 20px;text-align:center;color:#6b7280}.admin-service-empty i{font-size:2rem;color:#007185}.admin-service-empty strong,.admin-service-empty span{display:block;margin-top:8px}

@media(max-width:991.98px){.service-hub-header,.service-hub-grid,.admin-service-grid{grid-template-columns:1fr}.service-smile{justify-self:start}.service-rating-row{grid-template-columns:1fr;gap:8px}.service-star-buttons button{font-size:2.4rem}.service-feedback-form{padding:22px 18px}.service-chat-header{display:block}.service-end-chat{margin-top:12px}.admin-service-message{max-width:92%}}
@media(max-width:767.98px){.service-thanks-hero{padding:24px 12px 46px}.service-thanks-hero h1{font-size:1.45rem}.service-thanks-hero .service-yellow-btn{min-width:220px}.service-rec-section{padding:14px 12px 18px;border-radius:0}.service-rec-header{align-items:flex-start}.service-rec-header h2{font-size:1.08rem}.service-rec-row{grid-auto-columns:150px;gap:16px;padding:10px 30px 0}.service-rec-img{height:126px}.service-rec-img img{max-height:124px}.service-rec-arrow{top:58px;width:32px;height:42px}.service-rec-title{font-size:.9rem}}

.service-help-page{max-width:none;margin:0;padding:0;background:#007887;color:#fff;min-height:calc(100vh - 150px)}.service-help-nav{background:#0a7280;border-bottom:1px solid rgba(255,255,255,.16);display:flex;align-items:center;gap:26px;padding:18px 42px;color:#fff}.service-help-nav strong{text-transform:lowercase;font-size:1.05rem}.service-help-nav a{color:#fff;text-decoration:none;font-weight:700;border-bottom:2px solid transparent;padding-bottom:3px}.service-help-nav a:hover,.service-help-nav a[aria-current="page"]{border-color:#fff}.service-help-hero{max-width:1540px;margin:0 auto;padding:54px 42px 42px;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:26px;align-items:start}.service-help-copy h1{font-size:2.15rem;line-height:1.15;font-weight:800;margin:8px 0 14px;color:#fff}.service-help-copy p{font-size:1.2rem;margin:0;color:#e6fffb}.service-help-page .service-kicker{color:#d7ffff;letter-spacing:0}.service-help-page .service-smile{color:#fff}.service-help-page .service-smile span{border-bottom-color:#fff}.service-help-items{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:12px}.service-help-item-card{min-height:96px;border:1px solid #d5d9d9;border-radius:7px;background:#fff;color:#111827;display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:center;text-align:left;padding:14px 18px;box-shadow:0 1px 2px rgba(15,17,17,.08)}.service-help-item-card:hover,.service-help-item-card.is-selected{border-color:#ff9900;box-shadow:0 0 0 3px rgba(255,153,0,.25);background:#fffdfa}.service-help-item-img{width:70px;height:70px;display:flex;align-items:center;justify-content:center}.service-help-item-img img{max-width:70px;max-height:70px;object-fit:contain}.service-help-item-text{min-width:0;display:grid;gap:3px}.service-help-item-text strong{font-size:1.02rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-help-item-text small{color:#565959;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-help-item-text em{font-style:normal;color:#565959}.service-help-loading,.service-help-empty,.service-help-signin{grid-column:1/-1;background:#fff;color:#111827;border:1px solid #d5d9d9;border-radius:7px;padding:26px;text-align:center}.service-help-signin a{color:#0066c0;font-weight:800}.service-help-actions{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:10px}.service-help-secondary{border:1px solid #d5d9d9;background:#fff;color:#111;border-radius:7px;min-width:240px;padding:10px 18px;font-weight:600}.service-help-secondary:hover{background:#f7fafa}.service-help-chat-panel{grid-column:1/-1;background:#fff;color:#111827;border-radius:7px;padding:18px 22px}.service-help-chat-panel.is-collapsed{display:none}.service-help-chat-panel h2{font-size:1.25rem}.service-selected-item{border:1px solid #bdd6df;background:#f0fbff;border-radius:7px;padding:10px 12px;margin-bottom:14px;display:grid;gap:2px}.service-selected-item span{color:#007185;font-weight:800;font-size:.84rem}.service-selected-item strong{font-size:1rem}.service-selected-item small,.service-selected-item em{font-style:normal;color:#565959}.service-selected-item.is-empty{display:block;background:#f7fafa;color:#565959}.service-manual-order{max-width:440px;margin-bottom:14px}.service-help-chat-grid{display:grid;grid-template-columns:300px minmax(280px,1fr) auto;gap:14px;align-items:end}.service-help-chat-grid .service-yellow-btn{height:42px;white-space:nowrap}.service-help-topic-strip{grid-column:1/-1;background:#fff;color:#111827;border:1px solid #d5d9d9;border-radius:7px;margin-top:12px;padding:18px 20px;display:grid;grid-template-columns:300px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 88px;gap:18px;align-items:center}.service-help-topic-strip a{color:#0066c0;text-decoration:none;border-left:1px solid #e5e7eb;padding-left:18px}.service-help-topic-strip strong,.service-topic-promo strong{display:block;color:#111827;margin-bottom:4px}.service-help-topic-strip span{display:block;color:#565959}.service-topic-promo a{border-left:0;padding-left:0;color:#0b69c7;font-weight:800;text-decoration:none}.service-topic-visual{justify-self:end;width:74px;height:74px;border-radius:10px;background:#0f75ff;color:#fff;display:flex;align-items:center;justify-content:center;font-size:2.2rem}
@media(max-width:1099.98px){.service-help-hero{grid-template-columns:1fr}.service-help-page .service-smile{display:none}.service-help-items{grid-template-columns:repeat(2,minmax(0,1fr))}.service-help-chat-grid{grid-template-columns:1fr}.service-help-chat-grid .service-yellow-btn{width:max-content}.service-help-topic-strip{grid-template-columns:1fr}.service-help-topic-strip a,.service-help-topic-strip a:first-child{border-left:0;border-top:1px solid #e5e7eb;padding:12px 0 0}.service-help-topic-strip a:first-child{border-top:0;padding-top:0}}@media(max-width:699.98px){.service-help-nav{padding:14px 18px;gap:16px;overflow-x:auto}.service-help-hero{padding:30px 18px}.service-help-copy h1{font-size:1.65rem}.service-help-copy p{font-size:1rem}.service-help-items{grid-template-columns:1fr}.service-help-item-card{grid-template-columns:72px minmax(0,1fr);padding:12px}.service-help-secondary{width:100%}.service-help-chat-panel{padding:16px}.service-help-chat-grid .service-yellow-btn{width:100%}}
.service-chat-compose{border-top:1px solid #d5d9d9;background:#fff;padding:12px 14px;display:grid;gap:10px}.service-chat-compose .service-chat-form{border-top:0;padding:0;grid-template-columns:minmax(0,1fr) 50px auto}.service-voice-note-btn{width:50px;height:50px;border-radius:999px;border:0;background:#00a884;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:1.22rem}.service-voice-note-btn:hover{background:#008f72}.service-voice-note-btn.is-recording,.admin-service-voice-note.is-recording{border-color:#dc2626!important;background:#fee2e2!important;color:#b91c1c!important}.service-voice-recording{display:grid;grid-template-columns:38px 12px auto minmax(0,1fr) 46px;gap:10px;align-items:center;border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:999px;padding:7px 9px}.service-voice-recording.d-none{display:none!important}.service-voice-cancel,.service-voice-send{width:36px;height:36px;border-radius:999px;border:0;display:inline-flex;align-items:center;justify-content:center}.service-voice-cancel{background:#fff;color:#b91c1c}.service-voice-send{background:#00a884;color:#fff}.service-recording-dot{width:10px;height:10px;border-radius:999px;background:#dc2626;box-shadow:0 0 0 0 rgba(220,38,38,.5);animation:service-recording-pulse 1.25s infinite}.service-chat-compose.is-recording-voice .service-chat-form{display:none}@keyframes service-recording-pulse{70%{box-shadow:0 0 0 8px rgba(220,38,38,0)}100%{box-shadow:0 0 0 0 rgba(220,38,38,0)}}.service-voice-note{display:grid;grid-template-columns:24px minmax(180px,1fr) auto;gap:8px;align-items:center;margin:6px 0}.service-voice-note i{color:#007185}.service-voice-note audio{width:100%;max-width:360px;height:36px}.service-voice-duration{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;padding:0 8px;border-radius:999px;background:#eef2f7;color:#475569;font-size:.82rem;font-weight:800;font-variant-numeric:tabular-nums}.service-chat-bubble.is-voice-request,.admin-service-message.is-voice-request{border-color:#007185;background:#f0fbff}.admin-service-voice-badge,.admin-service-voice-accepted{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:3px 7px;border-radius:999px;background:#e0f7fb;color:#007185;font-size:.76rem;vertical-align:middle}.admin-service-voice-accepted{font-size:.9rem;font-weight:800;margin-left:0;padding:8px 12px}.admin-service-message.is-voice-request strong{color:#007185}@media(max-width:699.98px){.service-chat-compose .service-chat-form{grid-template-columns:minmax(0,1fr) 46px}.service-chat-compose .service-chat-form button[type="submit"]{display:none}.service-voice-note{grid-template-columns:1fr auto}.service-voice-note i{display:none}.service-voice-recording{grid-template-columns:36px 10px auto minmax(0,1fr) 42px;border-radius:18px}.service-voice-recording>span:last-of-type{display:none}}

.admin-service-order-preview{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #d5d9d9;background:#fff;border-radius:12px;padding:10px 12px;margin-bottom:14px;color:#111827;text-decoration:none;box-shadow:0 1px 4px rgba(15,17,17,.06)}
.admin-service-order-preview:hover{border-color:#007185;background:#f7fafa;color:#111827}
.admin-service-order-preview img{width:72px;height:72px;object-fit:contain;background:#fff;border:1px solid #eef2f7;border-radius:8px}
.admin-service-order-preview-text{min-width:0;display:grid;gap:2px}
.admin-service-order-preview-text small{color:#007185;font-weight:800;text-transform:uppercase;font-size:.72rem}
.admin-service-order-preview-text strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1rem}
.admin-service-order-preview-text em{font-style:normal;color:#565959;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-service-order-preview-text b{font-size:.86rem;color:#6b7280;font-weight:600}
.admin-service-order-preview>i{color:#007185}
@media(max-width:699.98px){.admin-service-order-preview{grid-template-columns:58px minmax(0,1fr)}.admin-service-order-preview img{width:58px;height:58px}.admin-service-order-preview>i{display:none}}
.is-hidden{display:none!important}.service-help-picker{grid-column:1/-1;background:#f3f4f6;color:#111827;border-radius:8px;padding:34px 42px;margin-top:8px}.service-help-steps{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:center;margin:0 auto 42px;max-width:980px}.service-help-steps div{display:flex;align-items:center;gap:12px;color:#6b7280;font-weight:700;position:relative}.service-help-steps div:not(:last-child):after{content:"";height:2px;background:#d1d5db;position:absolute;left:calc(100% - 8px);right:-18px;top:50%}.service-help-steps span{width:38px;height:38px;border:2px solid #7a7f85;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.service-help-steps .is-active{color:#111827}.service-help-steps .is-active span{background:#007887;border-color:#007887;color:#fff}.service-help-picker-head{display:flex;align-items:flex-end;gap:34px;margin-bottom:22px}.service-help-picker-head h2{font-size:2rem;font-weight:500;line-height:1.15;margin:0}.service-help-search{min-width:340px;border-bottom:2px solid #374151;display:flex;align-items:center;gap:12px;padding:0 0 8px;color:#111827}.service-help-search input{border:0;background:transparent;outline:0;width:100%;font-size:1rem;color:#111827}.service-help-all-items{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}.service-help-link-button{border:0;background:transparent;color:#0066c0;font-weight:700;padding:14px 0 0;margin-top:12px}.service-help-link-button:hover{text-decoration:underline}@media(max-width:1099.98px){.service-help-picker{padding:28px 22px}.service-help-steps{grid-template-columns:1fr;gap:12px;margin-bottom:28px}.service-help-steps div:not(:last-child):after{display:none}.service-help-picker-head{align-items:stretch;flex-direction:column;gap:16px}.service-help-search{min-width:0;width:100%}.service-help-all-items{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:699.98px){.service-help-picker{padding:22px 14px}.service-help-picker-head h2{font-size:1.45rem}.service-help-all-items{grid-template-columns:1fr}}
.service-help-notice{grid-column:1/-1;background:#fff;color:#111827;border:1px solid #d5d9d9;border-radius:7px;padding:14px 18px;font-weight:700;max-width:420px}

/* Customer service heading without the decorative right-side logo. */
.service-help-nav strong{text-transform:none}
.service-help-copy{grid-column:1/-1}

/* Contact form connected to the customer-service chat inbox. */
.contact-us-page{max-width:1180px}.contact-us-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:54px;align-items:start}.contact-us-intro{padding:28px 8px}.contact-us-kicker{color:#007185;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.contact-us-intro h1{font-size:2.6rem;font-weight:800;margin:8px 0 14px;color:#111827}.contact-us-intro>p{font-size:1.12rem;line-height:1.6;color:#565959;max-width:540px}.contact-us-benefits{display:grid;gap:20px;margin-top:34px}.contact-us-benefits>div{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start}.contact-us-benefits i{width:44px;height:44px;border-radius:50%;background:#e9f7f8;color:#007887;display:flex;align-items:center;justify-content:center;font-size:1.25rem}.contact-us-benefits span{display:grid;color:#565959;line-height:1.45}.contact-us-benefits strong{color:#111827}.contact-us-form{background:#fff;border:1px solid #d5d9d9;border-radius:12px;padding:30px;box-shadow:0 5px 20px rgba(15,17,17,.09);display:grid;gap:10px}.contact-us-form h2{font-size:1.5rem;font-weight:800;margin:0 0 10px}.contact-us-form label{font-weight:700;margin-top:6px}.contact-us-form label span{font-weight:400;color:#6b7280}.contact-us-form textarea{resize:vertical;min-height:150px}.contact-us-form .service-yellow-btn{justify-self:start;margin-top:10px;min-width:170px}.contact-us-note{font-size:.86rem;color:#6b7280;margin:2px 0 0}@media(max-width:899.98px){.contact-us-layout{grid-template-columns:1fr;gap:20px}.contact-us-intro{padding:10px 0}.contact-us-form{padding:22px}}@media(max-width:575.98px){.contact-us-page{margin-top:1.5rem!important}.contact-us-intro h1{font-size:2rem}.contact-us-form .service-yellow-btn{width:100%}}
.contact-us-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.contact-us-success{background:#fff;border:1px solid #b7d7bd;border-radius:12px;padding:42px 30px;text-align:center;box-shadow:0 5px 20px rgba(15,17,17,.09)}.contact-us-success>i{font-size:3rem;color:#16833a}.contact-us-success h2{font-weight:800;margin:12px 0 8px}.contact-us-success p{color:#565959;margin-bottom:22px}
.return-flow-shell,
.return-status-v2 {
    max-width: 1500px;
    margin: 0 auto;
    padding: 22px;
    background: #f3f4f6;
}

.return-flow-layout,
.return-status-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: start;
}

.return-flow-main,
.return-status-main {
    min-width: 0;
}

.return-flow-card,
.return-flow-side,
.return-status-hero,
.return-status-panel,
.return-status-side {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}

.return-flow-card {
    padding: 26px 30px;
}

.return-flow-card h1,
.return-status-hero h1 {
    margin: 0 0 24px;
    color: #111827;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0;
}

.return-flow-item {
    display: grid;
    grid-template-columns: 34px 130px minmax(220px, 1fr) minmax(320px, 480px);
    gap: 22px;
    padding: 34px 0;
    border-top: 1px solid #d9dce1;
    align-items: center;
}

.return-flow-item:first-of-type {
    border-top: 0;
}

.return-flow-item > img,
.return-flow-side-item img,
.return-label-card img {
    width: 110px;
    height: 90px;
    object-fit: contain;
}

.return-flow-check input {
    width: 18px;
    height: 18px;
}

.return-flow-product strong,
.return-flow-reason label,
.return-flow-refund-choice b,
.return-status-panel h2 {
    color: #111827;
    font-size: 18px;
}

.return-flow-product p,
.return-flow-eligible,
.return-flow-note,
.return-flow-address,
.return-status-hero p,
.return-status-panel p,
.return-instruction-row p {
    color: #4b5563;
}

.return-flow-product button {
    border: 0;
    background: transparent;
    color: #075985;
    padding: 0;
}

.return-flow-reason select,
.return-flow-reason textarea {
    width: 100%;
    border: 1px solid #9ca3af;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 17px;
}

.return-flow-reason textarea {
    min-height: 84px;
    resize: vertical;
}

.return-flow-side,
.return-status-side {
    padding: 24px;
    position: sticky;
    top: 18px;
}

.return-flow-yellow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #ffd814;
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.return-flow-yellow:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.return-flow-side h2,
.return-status-side h2 {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 18px;
}

.return-flow-side-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.return-flow-side-item strong,
.return-flow-side-item span {
    display: block;
}

.return-flow-refund-box {
    margin-top: 22px;
    border-top: 1px solid #d1d5db;
    padding-top: 16px;
}

.return-flow-refund-box div,
.return-status-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.return-flow-refund-box .total {
    margin-top: 8px;
    font-size: 19px;
    font-weight: 700;
}

.return-flow-summary-line {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 20px;
}

.return-flow-info,
.return-status-info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 2px solid #2476c5;
    border-left-width: 16px;
    border-radius: 8px;
    padding: 20px;
    margin: 22px 0;
}

.return-flow-refund-choice {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid #d9dce1;
    align-items: center;
}

.return-flow-refund-choice img {
    width: 120px;
    height: 86px;
    object-fit: contain;
}

.return-flow-refund-choice label {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.return-flow-refund-choice small {
    display: block;
    margin-top: 5px;
    color: #4b5563;
    font-size: 16px;
}

.return-flow-pickup {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
}

.return-flow-pickup img {
    width: 125px;
    height: 92px;
    object-fit: contain;
}

.return-flow-pickup h2 {
    display: flex;
    justify-content: space-between;
    margin: 0 0 12px;
}

.return-flow-pickup h3 {
    margin: 24px 0 12px;
    font-size: 18px;
}

.return-flow-date-row,
.return-flow-slot-row,
.return-status-actions,
.return-smiles {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.return-flow-date-card,
.return-flow-slot,
.return-status-actions button,
.return-label-card button {
    border: 1px solid #9ca3af;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    padding: 12px 24px;
}

.return-flow-date-card.is-selected,
.return-flow-slot.is-selected {
    border: 3px solid #2476c5;
    background: #eaf4ff;
}

.return-flow-date-card strong,
.return-flow-date-card span {
    display: block;
}

.return-flow-error {
    color: #b42318;
    font-weight: 700;
    margin-top: 16px;
}

.return-status-v2 {
    grid-template-columns: minmax(0, 1fr) 470px;
}

.return-status-hero,
.return-status-panel {
    padding: 24px;
    margin-bottom: 20px;
}

.return-status-hero h1 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

.return-status-hero > p {
    text-align: center;
}

.return-status-actions {
    justify-content: center;
    margin-top: 22px;
}

.return-status-instruction-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.return-instruction-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0;
}

.return-instruction-row i {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    font-size: 25px;
}

.return-label-card {
    border-left: 1px solid #d1d5db;
    padding-left: 28px;
    text-align: center;
}

.return-label-card i {
    display: block;
    font-size: 90px;
    color: #6b7280;
    margin: 14px 0;
}

.return-label-card button {
    display: block;
    width: 100%;
    margin-top: 12px;
}

.return-label-card .return-flow-yellow {
    border: 0;
}

.return-smiles span {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 13px;
}

@media (max-width: 980px) {
    .return-flow-layout,
    .return-status-v2 {
        display: block;
        padding: 12px;
    }

    .return-flow-side,
    .return-status-side {
        position: static;
        margin-top: 18px;
    }

    .return-flow-item,
    .return-flow-refund-choice,
    .return-flow-pickup,
    .return-status-instruction-grid {
        grid-template-columns: 1fr;
    }

    .return-flow-summary-line {
        grid-template-columns: 1fr;
    }

    .return-label-card {
        border-left: 0;
        border-top: 1px solid #d1d5db;
        padding: 20px 0 0;
    }
}
.customer-cancel-items { display:grid; gap:10px; }
.customer-cancel-item { display:grid; grid-template-columns:auto 64px 1fr; align-items:center; gap:12px; padding:12px; border:1px solid #d5d9d9; border-radius:8px; cursor:pointer; background:#fff; }
.customer-cancel-item:hover { background:#f7fafa; }
.customer-cancel-item img { width:64px; height:64px; object-fit:contain; border-radius:6px; background:#fff; }
.customer-cancel-item span { display:flex; flex-direction:column; min-width:0; }
.customer-cancel-item small { color:#565959; }
.customer-cancel-item b { margin-top:4px; }
.header-actions .language-code-toggle{width:auto;min-width:52px;padding:0 10px!important;font-size:.9rem;font-weight:800;letter-spacing:.04em}
.language-menu .language-dropdown{width:220px;padding:10px 0 0;border:1px solid #d5d9d9;border-radius:4px;overflow:hidden;box-shadow:0 4px 12px rgba(15,23,42,.18)}
.language-dropdown-title{padding:4px 15px 10px;color:#3f4145;font-size:1rem;font-weight:500}
.language-menu .language-option{display:flex;align-items:center;gap:9px;min-height:50px;padding:10px 15px;border-top:1px solid #e7e7e7;color:#3f4145;font-size:1rem;background:#fff}
.language-menu .language-option:hover,.language-menu .language-option:focus{color:#c45500;background:#f7fafa}
.language-menu .language-option.active,.language-menu .language-option.active:hover,.language-menu .language-option.active:focus{color:#3f4145;background:#fff}
.language-radio{position:relative;flex:0 0 24px;width:24px;height:24px;border:2px solid #a7a9ac;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #e3e6e6}
.language-option.active .language-radio::after{content:"";position:absolute;inset:5px;border-radius:50%;background:#ff6a1a}
.product-language-panel{height:100%;padding:18px;border:1px solid #dbe3ee;border-radius:16px;background:linear-gradient(180deg,#fff,#f8fafc)}.product-language-en{border-top:4px solid #2563eb}.product-language-ar{border-top:4px solid #059669;font-family:"Segoe UI",Tahoma,Arial,sans-serif}.product-language-ar .form-control{text-align:right;direction:rtl}.product-language-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.product-language-ar .product-language-heading{flex-direction:row-reverse;text-align:right}.product-language-heading strong,.product-language-heading small{display:block}.product-language-heading small{color:#64748b;font-size:.8rem}.product-language-badge{width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#eaf2ff;color:#1d4ed8;font-weight:900}.product-language-ar .product-language-badge{background:#ecfdf5;color:#047857;font-size:1.05rem}.bilingual-entry-note{height:100%;min-height:66px;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #fde68a;border-radius:13px;background:#fffbeb;color:#78350f;font-size:.88rem}.bilingual-entry-note i{font-size:1.2rem;color:#d97706}@media(max-width:991.98px){.product-language-panel{height:auto}}
.checkout-place-order{height:40px;border:1px solid #fcd200!important;border-radius:999px!important;background:#ffd814!important;color:#0f1111!important;font-size:14px;font-weight:400;line-height:1;box-shadow:none!important}.checkout-place-order:hover,.checkout-place-order:focus{border-color:#f2c200!important;background:#f7ca00!important;color:#0f1111!important}
.vodafone-cash-details{border:1px solid #e3b4bf;border-radius:12px;background:#fff8fa;padding:14px;color:#281117}
.vodafone-cash-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.vodafone-cash-heading small{display:block;color:#6c5a5e;font-size:12px}
.vodafone-cash-logo{display:block;width:54px;height:54px;border-radius:50%;object-fit:cover;object-position:center;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.vodafone-cash-details ol{padding-left:20px;margin:0 0 12px;font-size:13px}
.vodafone-cash-details li+li{margin-top:5px}
.location-combobox{position:relative;z-index:20}
.location-combobox .form-control{padding-right:34px;background-image:linear-gradient(45deg,transparent 50%,#6b7280 50%),linear-gradient(135deg,#6b7280 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.location-picker-menu{display:none;position:absolute;z-index:9999;top:calc(100% + 4px);left:0;right:0;max-height:260px;overflow:auto;padding:6px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.16)}
.location-picker-menu.show{display:block}
.location-picker-option{display:block;width:100%;border:0;border-radius:7px;background:#fff;color:#111827;text-align:left;padding:8px 10px}
.location-picker-option:hover,.location-picker-option.active{background:#eaf2ff;color:#0b57d0}
.location-picker-empty{padding:9px 10px;color:#6b7280;font-size:13px}
.product-detail-page{margin-top:15px!important}.product-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0 0 12px;padding:0;font-family:Arial,sans-serif;font-size:12px;line-height:16px;color:#565959}.product-breadcrumb a,.product-breadcrumb-current{color:#565959;text-decoration:none}.product-breadcrumb a:hover{color:#c45500;text-decoration:underline}.product-breadcrumb>span[aria-hidden="true"]{margin:0 7px;color:#565959}.product-breadcrumb-current{min-width:0;max-width:min(520px,55vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-translation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}.product-translation-toolbar>div:first-child strong,.product-translation-toolbar>div:first-child small{display:block}.product-translation-toolbar>div:first-child small{color:#475569}.machine-translated-field{border-color:#f59e0b!important;box-shadow:0 0 0 .15rem rgba(245,158,11,.12)!important}.translation-review-note{margin-top:5px;color:#92400e;font-size:.78rem;font-weight:600}
