/* ==========================================================================
   SurplusArticle.com - Next-Level Amazon Garments & Apparel Marketplace CSS
   ========================================================================== */

:root {
    --amz-dark: #131921;
    --amz-subnav: #232f3e;
    --amz-yellow: #ffd814;
    --amz-yellow-hover: #f7ca00;
    --amz-orange: #ffa41c;
    --amz-orange-hover: #fa8900;
    --amz-deal-red: #cc0c39;
    --amz-link: #007185;
    --amz-link-hover: #c7511f;
    --amz-bg: #eaeded;
    --amz-card: #ffffff;
    --amz-text: #0f1111;
    --amz-text-muted: #565959;
    --amz-border: #d5d9d9;
    --amz-success: #007600;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.12);
    --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Amazon Ember", Arial, sans-serif;
    background-color: var(--amz-bg);
    color: var(--amz-text);
    line-height: 1.45;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--amz-link);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: var(--amz-link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Amazon Main Header (#131921)
   ========================================================================== */
.amz-header {
    background-color: var(--amz-dark);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.amz-header-main {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    height: 64px;
    max-width: 1560px;
    margin: 0 auto;
}

.amz-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    text-decoration: none !important;
}
.amz-logo-link:hover {
    border-color: #ffffff;
}
.amz-logo-icon {
    font-size: 28px;
    color: var(--amz-orange);
}
.amz-logo-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.05;
}
.amz-logo-text span {
    color: var(--amz-orange);
}
.amz-logo-sub {
    font-size: 9.5px;
    color: #ffd814;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.amz-deliver-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.amz-deliver-box:hover {
    border-color: #ffffff;
}
.amz-deliver-box i {
    font-size: 22px;
    color: #ffffff;
}
.amz-deliver-line1 {
    font-size: 11px;
    color: #cccccc;
    line-height: 1.1;
}
.amz-deliver-line2 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

/* Amazon Search Bar */
.amz-search-bar {
    flex-grow: 1;
    display: flex;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
.amz-search-bar:focus-within {
    box-shadow: 0 0 0 3px #f90, 0 0 0 2px #fff;
}
.amz-search-cat {
    background: #f3f3f3;
    border: none;
    border-right: 1px solid #cdcdcd;
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: #333;
    outline: none;
    cursor: pointer;
    max-width: 190px;
}
.amz-search-input {
    flex-grow: 1;
    border: none;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    color: #111;
}
.amz-search-btn {
    width: 52px;
    background: #febd69;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    color: #111;
    transition: background 0.15s;
}
.amz-search-btn:hover {
    background: #f3a847;
}

/* Right Nav */
.amz-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.amz-nav-item {
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}
.amz-nav-item:hover {
    border-color: #ffffff;
}
.amz-nav-line1 {
    font-size: 11px;
    color: #cccccc;
}
.amz-nav-line2 {
    font-size: 13.5px;
    font-weight: 700;
}

/* Cart Button */
.amz-cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none !important;
}
.amz-cart-btn:hover {
    border-color: #ffffff;
}
.amz-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.amz-cart-icon {
    font-size: 32px;
    color: #ffffff;
}
.amz-cart-count {
    position: absolute;
    top: 2px;
    left: 13px;
    color: var(--amz-orange);
    font-weight: 800;
    font-size: 15px;
}
.amz-cart-text {
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

/* ==========================================================================
   Amazon Sub-Navigation (#232f3e)
   ========================================================================== */
.amz-subnav {
    background-color: var(--amz-subnav);
    color: #ffffff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    height: 40px;
    overflow-x: auto;
}
.amz-subnav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 3px;
    font-weight: 500;
}
.amz-subnav-link:hover {
    border-color: #ffffff;
}
.amz-subnav-link.b2b-highlight {
    background: #febd69;
    color: #111 !important;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
}
.amz-subnav-link.b2b-highlight:hover {
    background: #f3a847;
}

/* ==========================================================================
   Amazon Garment Hero Banner Slider
   ========================================================================== */
.amz-hero-slider {
    position: relative;
    max-width: 1560px;
    margin: 0 auto;
    overflow: hidden;
    height: 480px;
}
.amz-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center top;
}
.amz-slide.active {
    opacity: 1;
}
.amz-slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 25, 33, 0.35) 0%, rgba(234, 237, 237, 0.4) 60%, rgba(234, 237, 237, 1) 100%);
}
.amz-slide-content {
    position: relative;
    z-index: 10;
    padding: 50px 60px;
    max-width: 800px;
}
.amz-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--amz-deal-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.amz-slide-title {
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.amz-slide-desc {
    font-size: 17px;
    color: #f1f5f9;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 640px;
}
.amz-btn-deal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amz-yellow);
    border: 1px solid #fcd200;
    padding: 12px 28px;
    border-radius: 25px;
    color: #0f1111;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}
.amz-btn-deal:hover {
    background: var(--amz-yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.amz-slider-prev, .amz-slider-next {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #ccc;
    width: 48px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    z-index: 20;
    color: #111;
    transition: background 0.2s;
}
.amz-slider-prev:hover, .amz-slider-next:hover {
    background: #ffffff;
}
.amz-slider-prev { left: 0; border-radius: 0 4px 4px 0; }
.amz-slider-next { right: 0; border-radius: 4px 0 0 4px; }

/* ==========================================================================
   Amazon Overlapping Cards Grid
   ========================================================================== */
.amz-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.amz-cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -150px;
    position: relative;
    z-index: 30;
    margin-bottom: 24px;
}
.amz-card-box {
    background: var(--amz-card);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    border-radius: 4px;
    min-height: 420px;
}
.amz-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--amz-text);
    margin-bottom: 12px;
    line-height: 1.25;
}
.amz-card-img-wrap {
    flex-grow: 1;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f8fafc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.amz-card-img-wrap img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.amz-card-box:hover .amz-card-img-wrap img {
    transform: scale(1.04);
}
.amz-card-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--amz-link);
}

/* ==========================================================================
   Amazon Product Grid & Deal Rows
   ========================================================================== */
.amz-row-section {
    background: var(--amz-card);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border-radius: 4px;
}
.amz-row-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7e7e7;
}
.amz-row-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--amz-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.amz-row-see-more {
    font-size: 13.5px;
    color: var(--amz-link);
    font-weight: 700;
}

.amz-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.amz-product-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.amz-product-card:hover {
    border-color: #bbb;
    box-shadow: var(--shadow-card);
}
.amz-prod-thumb-wrap {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    position: relative;
    background: #fdfdfd;
}
.amz-prod-thumb-wrap img {
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.amz-product-card:hover .amz-prod-thumb-wrap img {
    transform: scale(1.05);
}
.amz-badge-deal {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--amz-deal-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 5;
}
.amz-prod-condition {
    font-size: 11px;
    font-weight: 800;
    color: #007185;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.amz-prod-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f1111;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.amz-prod-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12.5px;
}
.amazon-stars {
    color: #ffa41c;
    font-size: 14px;
}
.amz-rating-count {
    color: var(--amz-link);
}
.amz-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.amz-price-current {
    font-size: 22px;
    font-weight: 800;
    color: #0f1111;
}
.amz-price-msrp {
    font-size: 12.5px;
    color: var(--amz-text-muted);
    text-decoration: line-through;
}
.amz-discount-pill {
    background: var(--amz-deal-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
}
.amz-b2b-tier-badge {
    background: #f0fdf4;
    border: 1px dashed #166534;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.amz-btn-add {
    background: var(--amz-yellow);
    border: 1px solid #fcd200;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f1111;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
    transition: all 0.15s ease;
}
.amz-btn-add:hover {
    background: var(--amz-yellow-hover);
}

.amz-btn-buynow {
    background: var(--amz-orange);
    border: 1px solid #fa8900;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #0f1111;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 8px;
    transition: all 0.15s ease;
}
.amz-btn-buynow:hover {
    background: var(--amz-orange-hover);
}

.amz-btn-rfq {
    background: #007185;
    border: 1px solid #005a6a;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 8px;
    display: inline-block;
    text-decoration: none !important;
}
.amz-btn-rfq:hover {
    background: #005a6a;
    color: #fff;
}

/* ==========================================================================
   Next-Level Vendor Onboarding Form Styling
   ========================================================================== */
.vendor-portal-card {
    background: #ffffff;
    border: 1px solid var(--amz-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}
.vendor-portal-header {
    background: linear-gradient(135deg, #131921 0%, #1f2d3d 100%);
    color: #ffffff;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vendor-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #febd69;
    font-weight: 700;
}
.vendor-form-body {
    padding: 40px;
}
.vendor-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #0f1111;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
}
.vendor-section-heading .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #232f3e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

/* High-Grade Inputs */
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #888c8c;
    border-radius: 4px;
    font-size: 14px;
    color: #0f1111;
    background: #ffffff;
    outline: none;
    box-shadow: 0 1px 2px rgba(15,17,17,.15) inset;
    transition: all 0.2s ease;
}
.form-control:focus {
    border-color: #007185;
    box-shadow: 0 0 0 3px #c8f3fa, 0 1px 2px rgba(15,17,17,.15) inset;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 6px;
}
.form-hint {
    font-size: 12px;
    color: #565959;
    margin-top: 4px;
}

/* ==========================================================================
   Amazon Footer Styling (#232f3e & #131a22)
   ========================================================================== */
footer.amz-footer,
footer {
    margin-top: 50px;
    background-color: var(--amz-subnav);
    color: #ffffff;
    font-size: 13.5px;
}

.amz-back-to-top {
    display: block;
    background-color: #37475a;
    color: #ffffff !important;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease;
}
.amz-back-to-top:hover {
    background-color: #485769;
}

.amz-footer-main {
    background-color: #232f3e;
    padding: 48px 24px 36px;
    max-width: 1380px;
    margin: 0 auto;
}

.amz-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.amz-footer-col h4 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.amz-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amz-footer-col li {
    margin-bottom: 10px;
}

.amz-footer-col a {
    color: #dddddd !important;
    font-size: 13.5px;
    text-decoration: none !important;
    line-height: 1.45;
    transition: color 0.15s ease;
}
.amz-footer-col a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.amz-footer-brand-strip {
    text-align: center;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.amz-footer-bottom {
    background-color: #131a22;
    padding: 28px 20px 88px;
    text-align: center;
    color: #999999;
    font-size: 12px;
    line-height: 1.7;
}
.amz-footer-bottom strong {
    color: #ffffff;
}
.amz-footer-bottom a {
    color: #999999 !important;
    margin: 0 6px;
}
.amz-footer-bottom a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   Mobile Bottom App Navigation Bar (App Experience)
   ========================================================================== */
.amz-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    height: 62px;
    align-items: center;
    justify-content: space-around;
    z-index: 99999;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
}

.amz-mobile-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #565959 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 0;
    transition: all 0.2s ease;
}
.amz-mobile-tab i {
    font-size: 22px;
    margin-bottom: 2px;
}
.amz-mobile-tab.active,
.amz-mobile-tab:hover {
    color: #e47911 !important;
}

/* ==========================================================================
   Product Detail Page: Swatches, Sizes, Pincode & Trust Badges
   ========================================================================== */
.amz-option-group {
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid #e7e7e7;
}

.amz-option-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.amz-option-label .selected-val {
    color: #007185;
    font-weight: 800;
}

.amz-swatch-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.amz-swatch-btn {
    border: 1.5px solid #d5d9d9;
    border-radius: 6px;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #0f1111;
    transition: all 0.18s ease;
    user-select: none;
}
.amz-swatch-btn:hover {
    border-color: #e47911;
    background: #fffbf5;
}
.amz-swatch-btn.active {
    border-color: #e47911;
    background: #fff8f0;
    box-shadow: 0 0 0 1.5px #e47911;
    color: #b12704;
    font-weight: 700;
}
.amz-swatch-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.amz-size-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.amz-size-btn {
    min-width: 46px;
    height: 40px;
    padding: 0 16px;
    border: 1.5px solid #d5d9d9;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f1111;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}
.amz-size-btn:hover {
    border-color: #007185;
    background: #f0fdfa;
}
.amz-size-btn.active {
    border-color: #e47911;
    background: #fff8f0;
    box-shadow: 0 0 0 1.5px #e47911;
    color: #b12704;
}

/* Delivery Pincode Box */
.amz-pincode-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0;
}
.amz-pincode-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}
.amz-pincode-input {
    flex: 1;
    max-width: 180px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13.5px;
    outline: none;
}
.amz-pincode-input:focus {
    border-color: #007185;
}
.amz-pincode-btn {
    background: var(--amz-yellow);
    border: 1px solid #fcd200;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.amz-pincode-btn:hover {
    background: var(--amz-yellow-hover);
}

/* Trust Icons Bar */
.amz-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}
.amz-trust-box i {
    font-size: 26px;
    color: #007185;
    margin-bottom: 6px;
    display: inline-block;
}
.amz-trust-box div {
    font-size: 12px;
    font-weight: 700;
    color: #0f1111;
    line-height: 1.35;
}

/* ==========================================================================
   Comprehensive Responsive & Mobile App Mode
   ========================================================================== */
@media (max-width: 1200px) {
    .amz-cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .amz-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .amz-detail-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 992px) {
    .amz-deliver-box {
        display: none;
    }
    .amz-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .amz-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile App Navigation */
    .amz-mobile-bottom-bar {
        display: flex !important;
    }

    body {
        padding-bottom: 64px; /* Space for fixed bottom bar */
    }

    /* Mobile Header */
    .amz-header-main {
        height: auto;
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .amz-logo-link {
        padding: 4px 6px;
    }
    .amz-logo-text {
        font-size: 18px;
    }
    .amz-logo-icon {
        font-size: 24px;
    }
    .amz-search-bar {
        order: 3;
        width: 100%;
        margin-top: 4px;
    }
    .amz-search-cat {
        display: none; /* Mobile space saver */
    }
    .amz-header-nav {
        margin-left: auto;
        gap: 4px;
    }
    .amz-nav-item:not(.amz-cart-btn) {
        display: none; /* Hide heavy text links on mobile, handled in bottom bar & drawer */
    }

    /* Mobile Subnav Ribbon */
    .amz-subnav {
        height: 38px;
        padding: 0 12px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .amz-subnav-link {
        font-size: 12.5px;
        padding: 4px 8px;
    }

    /* Mobile Hero Slider */
    .amz-hero-slider {
        height: 340px;
    }
    .amz-slide-content {
        padding: 24px 20px;
    }
    .amz-slide-title {
        font-size: 26px;
        margin-bottom: 8px;
    }
    .amz-slide-desc {
        font-size: 13.5px;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Mobile Cards Grid */
    .amz-cards-grid-4 {
        grid-template-columns: 1fr;
        margin-top: -30px;
        padding: 0 12px;
    }

    /* Mobile 2-Column Product Grid (App Style) */
    .amz-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 4px;
    }
    .amz-product-card {
        padding: 12px;
    }
    .amz-prod-thumb-wrap {
        height: 160px;
    }
    .amz-prod-title {
        font-size: 13px;
        height: 36px;
    }
    .amz-price-current {
        font-size: 16px;
    }

    /* Mobile Footer */
    .amz-footer-main {
        padding: 32px 16px 24px;
    }
    .amz-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .amz-footer-bottom {
        padding: 20px 16px 88px;
    }

    /* Mobile Product Detail */
    .amz-gallery-main {
        height: 300px;
    }
    .amz-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

