/* ===========================================================
 * PreLoved Elementor Pack — Widget Styles
 * BEM naming. Scope is strictly widget elements (no page-level).
 * =========================================================== */

/* -----------------------------------------------------------
 * Product Card
 * --------------------------------------------------------- */
.preloved-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease, box-shadow 250ms ease;
}
.preloved-product-card__link-wrap { display: block; color: inherit; text-decoration: none; }
.preloved-product-card__title-link { color: inherit; text-decoration: none; }

.preloved-product-card__image-wrap {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.preloved-product-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: transparent;
    transition: transform 350ms ease;
}

.preloved-product-card--zoom:hover .preloved-product-card__image,
.preloved-product-card__image-wrap:hover .preloved-product-card__image {
    transform: scale(1.06);
}

.preloved-product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    z-index: 2;
}

.preloved-product-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    cursor: pointer;
    border: none;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 200ms ease;
    background: rgba(255,255,255,0.88);
    padding: 6px;
    color: #aaa;
}
.preloved-product-card__wishlist:hover { transform: scale(1.15); }
.preloved-product-card__wishlist svg { width: 18px; height: 18px; display: block; }
.preloved-product-card__wishlist svg path { transition: fill 200ms ease, stroke 200ms ease; }
.preloved-product-card__wishlist.is-active svg path {
    fill: currentColor;
}

.preloved-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
    gap: 6px;
}

.preloved-product-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.preloved-product-card__meta {
    margin: 0;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.preloved-product-card__separator { color: #999; }

.preloved-product-card__prices {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.preloved-product-card__sale-price {
    font-weight: 700;
    color: #111;
}
.preloved-product-card__regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.preloved-product-card__condition {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #444;
}
.preloved-product-card__condition-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.preloved-product-card--hover-lift:hover  { transform: translateY(-4px); }
.preloved-product-card--hover-scale:hover { transform: scale(1.02); }

/* -----------------------------------------------------------
 * Hero Banner
 * --------------------------------------------------------- */
.preloved-hero-banner {
    position: relative;
    padding: 40px;
    min-height: 500px;
}
.preloved-hero-banner__slides { position: relative; }

/* The slide itself carries the two-column grid layout. In single-slide mode
   (no extra slides added) this is the ONLY slide present and behaves exactly
   like the old single-hero layout. */
.preloved-hero-banner__slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.preloved-hero-banner--image-left  { direction: rtl; }
.preloved-hero-banner--image-left > * { direction: ltr; }
.preloved-hero-banner__slide--image-left  { direction: rtl; }
.preloved-hero-banner__slide--image-left > * { direction: ltr; }

/* Multi-slide mode: slides wrapper grows to fill the hero banner height,
   and each slide stacks absolutely within it so crossfade works correctly. */
.preloved-hero-banner--slider {
    display: flex;
    flex-direction: column;
}
.preloved-hero-banner--slider .preloved-hero-banner__slides {
    flex: 1;
    min-height: 0;
}
.preloved-hero-banner--slider .preloved-hero-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 100%;
}
.preloved-hero-banner--slider.preloved-hero-banner--fade .preloved-hero-banner__slide {
    transition: opacity 500ms ease;
}
.preloved-hero-banner--slider .preloved-hero-banner__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.preloved-hero-banner__content { display: flex; flex-direction: column; gap: 16px; }
.preloved-hero-banner__eyebrow {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #3D1F8E;
    background: #EFEAFB;
    border-radius: 4px;
    padding: 5px 12px;
}
.preloved-hero-banner__headline {
    margin: 0;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    flex-direction: column;
}
.preloved-hero-banner__headline-line2 { color: #3D1F8E; }
.preloved-hero-banner__subtext { margin: 0; font-size: 16px; color: #444; max-width: 480px; }
.preloved-hero-banner__highlight { color: #189877; font-weight: 600; }
.preloved-hero-banner__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.preloved-hero-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: opacity 200ms ease, transform 200ms ease;
    padding: 14px 24px;
    border-radius: 4px;
}
.preloved-hero-banner__btn:hover { opacity: 0.9; transform: translateY(-1px); }
.preloved-hero-banner__btn--primary   { background: #3D1F8E; color: #fff; border-color: #3D1F8E; }
.preloved-hero-banner__btn--secondary { background: #fff;    color: #3D1F8E; border-color: #3D1F8E; }
.preloved-hero-banner__btn--ghost     { background: transparent; color: #3D1F8E; border-color: transparent; }

.preloved-hero-banner__image-col { position: relative; text-align: center; }
.preloved-hero-banner__image { max-width: 100%; height: auto; display: inline-block; position: relative; z-index: 1; background-color: transparent; }
.preloved-hero-banner__layer { display: block; pointer-events: none; background-color: transparent; }

.preloved-hero-banner__circle {
    position: absolute;
    right: 10px;
    top: 20%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #1A0D4E;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    font-size: 12px;
    z-index: 2;
}
.preloved-hero-banner__circle-line2 { font-size: 36px; font-weight: 800; line-height: 1; }

.preloved-hero-banner__circle-ring {
    position: absolute;
    inset: -6px;
    border: 2px dashed #189877;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
}
.preloved-hero-banner__circle--dashed-rotate .preloved-hero-banner__circle-ring {
    animation: preloved-hero-ring-rotate var(--preloved-circle-anim-speed, 6s) linear infinite;
}
.preloved-hero-banner__circle--pulse {
    animation: preloved-hero-circle-pulse var(--preloved-circle-anim-speed, 6s) ease-in-out infinite;
}
@keyframes preloved-hero-ring-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes preloved-hero-circle-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}
@media ( prefers-reduced-motion: reduce ) {
    .preloved-hero-banner__circle-ring,
    .preloved-hero-banner__circle--pulse { animation: none; }
}

.preloved-hero-banner__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 8px 0;
}
.preloved-hero-banner__trust-item { display: flex; align-items: center; gap: 8px; }
.preloved-hero-banner__trust-icon { color: #3D1F8E; font-size: 20px; line-height: 1; }
.preloved-hero-banner__trust-text { font-size: 12px; font-weight: 600; }

/* Slider navigation */
.preloved-hero-banner__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #3D1F8E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    transition: background-color 200ms ease, color 200ms ease;
}
.preloved-hero-banner__nav--prev { left: 16px; }
.preloved-hero-banner__nav--next { right: 16px; }
.preloved-hero-banner__nav:hover { background: #fff; }

.preloved-hero-banner__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}
.preloved-hero-banner__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    padding: 0;
    transition: background-color 200ms ease, transform 200ms ease;
}
.preloved-hero-banner__dot.is-active { background: #3D1F8E; transform: scale(1.2); }

@media ( max-width: 768px ) {
    /* Default: image goes below content on tablet and mobile */
    .preloved-hero-banner__slide:not(.preloved-hero-banner__slide--img-inline) {
        grid-template-columns: 1fr;
    }
    .preloved-hero-banner__headline { font-size: 36px; }
    .preloved-hero-banner__circle { width: 100px; height: 100px; font-size: 10px; }
    .preloved-hero-banner__circle-line2 { font-size: 24px; }
}

/* Optional: keep image+badge+circle on the same row on tablet.
   Applied when the widget's 'slide_img_layout_tablet' control = 'inline'. */
@media ( max-width: 768px ) {
    .preloved-hero-banner--img-inline-tablet .preloved-hero-banner__slide {
        grid-template-columns: 1fr 1fr;
    }
}
@media ( max-width: 480px ) {
    .preloved-hero-banner--img-inline-tablet.preloved-hero-banner--img-stacked-mobile .preloved-hero-banner__slide {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------
 * Category Grid
 * --------------------------------------------------------- */
.preloved-category-grid__header,
.preloved-product-grid__header,
.preloved-brand-logos__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.preloved-category-grid__heading,
.preloved-product-grid__heading,
.preloved-brand-logos__heading {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #111;
}
.preloved-category-grid__view-all,
.preloved-product-grid__view-all,
.preloved-brand-logos__view-all {
    color: #3D1F8E;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.preloved-category-grid__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.preloved-category-grid__item {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 250ms ease, box-shadow 250ms ease;
}
.preloved-category-grid__image-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: transparent;
    border-radius: 12px;
}
.preloved-category-grid__image {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    background-color: transparent;
    transition: transform 350ms ease;
}
.preloved-category-grid__overlay {
    position: absolute; inset: 0;
    background: transparent;
    transition: background-color 250ms ease;
    pointer-events: none;
}
.preloved-category-grid__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    color: #fff;
    z-index: 1;
}
.preloved-category-grid__item--title-overlay-center .preloved-category-grid__inner {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.preloved-category-grid__item--zoom:hover   .preloved-category-grid__image { transform: scale(1.08); }
.preloved-category-grid__item--lift:hover   { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.preloved-category-grid__item--darken:hover .preloved-category-grid__overlay { background: rgba(0,0,0,0.45); }

.preloved-category-grid__below { padding: 8px 4px 0; }
.preloved-category-grid__title { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.preloved-category-grid__cta { color: #3D1F8E; font-size: 12px; font-weight: 600; }

/* -----------------------------------------------------------
 * Brand Logos
 * --------------------------------------------------------- */
.preloved-brand-logos__grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px;
}
.preloved-brand-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}
.preloved-brand-logos__logo {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    background-color: transparent;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 300ms ease, opacity 300ms ease;
}
.preloved-brand-logos__item:hover .preloved-brand-logos__logo {
    filter: grayscale(0%);
    opacity: 1;
}
.preloved-brand-logos--no-hover-color .preloved-brand-logos__item:hover .preloved-brand-logos__logo {
    filter: grayscale(100%);
}
.preloved-brand-logos--no-grayscale .preloved-brand-logos__logo,
.preloved-brand-logos--no-grayscale .preloved-brand-logos__item:hover .preloved-brand-logos__logo {
    filter: none;
}
.preloved-brand-logos__name { font-weight: 600; }

.preloved-brand-logos__scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 4px;
}
.preloved-brand-logos__scroll .preloved-brand-logos__item {
    flex: 0 0 160px;
    scroll-snap-align: start;
}

.preloved-brand-logos__marquee {
    overflow: hidden;
}
.preloved-brand-logos__marquee-track {
    display: flex;
    gap: 32px;
    animation: preloved-marquee 20s linear infinite;
    width: max-content;
}
.preloved-brand-logos__marquee-track:hover {
    animation-play-state: paused;
}
.preloved-brand-logos__marquee-track .preloved-brand-logos__item {
    flex: 0 0 auto;
    border: none;
    background: transparent;
}
@keyframes preloved-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* -----------------------------------------------------------
 * Product Grid
 * --------------------------------------------------------- */
.preloved-product-grid__heading-wrap { display: flex; flex-direction: column; gap: 4px; }
.preloved-product-grid__subtitle { margin: 0; font-size: 13px; color: #555; }
.preloved-product-grid__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* -----------------------------------------------------------
 * Slider (used by Product Grid & Testimonials)
 * --------------------------------------------------------- */
.preloved-slider {
    position: relative;
}
.preloved-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding: 4px 0;
}
.preloved-slider__track::-webkit-scrollbar { display: none; }
.preloved-slider__slide {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
}
.preloved-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
    line-height: 1;
    color: #3D1F8E;
    display: flex; align-items: center; justify-content: center;
}
.preloved-slider__arrow:hover { background: #f3f3f3; }
.preloved-slider__prev { left: -8px; }
.preloved-slider__next { right: -8px; }
.preloved-slider__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}
.preloved-slider__dot {
    width: 8px; height: 8px; border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}
.preloved-slider__dot.is-active { background: #3D1F8E; }

/* -----------------------------------------------------------
 * Features
 * --------------------------------------------------------- */
.preloved-features__header { margin-bottom: 16px; }
.preloved-features__heading { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: #3D1F8E; letter-spacing: 0.04em; }
.preloved-features__subheading { margin: 0; color: #555; }
.preloved-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.preloved-features__item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: transparent;
    border-radius: 8px;
}
.preloved-features__item--icon-above { flex-direction: column; align-items: flex-start; }
.preloved-features__item--icon-left  { flex-direction: row;    align-items: flex-start; }
.preloved-features__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F3EEFF;
    border-radius: 50%;
    flex-shrink: 0;
}
.preloved-features__icon { color: #3D1F8E; font-size: 18px; line-height: 1; }
.preloved-features__icon svg { width: 1em; height: 1em; fill: currentColor; }
.preloved-features__title { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #111; }
.preloved-features__description { margin: 0; font-size: 13px; color: #555; }

/* -----------------------------------------------------------
 * Process Steps
 * --------------------------------------------------------- */
.preloved-process-steps__heading { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: #3D1F8E; letter-spacing: 0.04em; }
.preloved-process-steps__wrap { display: flex; gap: 20px; align-items: center; }
.preloved-process-steps__list { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.preloved-process-steps--horizontal .preloved-process-steps__list { flex-direction: row; flex-wrap: wrap; }
.preloved-process-steps__step {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 12px;
}
.preloved-process-steps--connector .preloved-process-steps__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 44px;
    bottom: -2px;
    border-left: 2px solid #E5E1F3;
}
.preloved-process-steps__icon-wrap {
    width: 40px; height: 40px;
    background: #F3EEFF;
    color: #3D1F8E;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.preloved-process-steps__icon svg { width: 1em; height: 1em; fill: currentColor; }
.preloved-process-steps__title { margin: 0 0 2px; font-size: 14px; font-weight: 700; color: #111; }
.preloved-process-steps__desc  { margin: 0; font-size: 13px; color: #555; }
.preloved-process-steps__image { flex: 0 0 40%; }
.preloved-process-steps__image img { width: 100%; height: auto; display: block; border-radius: 12px; }
.preloved-process-steps__cta {
    display: inline-block;
    background: #3D1F8E;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 12px;
    font-weight: 600;
}

/* -----------------------------------------------------------
 * Seller CTA
 * --------------------------------------------------------- */
.preloved-seller-cta { padding: 24px; border-radius: 12px; }
.preloved-seller-cta__headline { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: #0F6B5A; letter-spacing: 0.04em; }
.preloved-seller-cta__row { display: flex; gap: 20px; align-items: flex-start; }
.preloved-seller-cta__steps { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.preloved-seller-cta__step  { display: flex; gap: 12px; align-items: flex-start; }
.preloved-seller-cta__icon-wrap {
    width: 36px; height: 36px;
    background: #E6F2EE; color: #0F6B5A;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.preloved-seller-cta__icon svg { width: 1em; height: 1em; fill: currentColor; }
.preloved-seller-cta__step-title { margin: 0 0 2px; font-size: 14px; font-weight: 700; color: #111; }
.preloved-seller-cta__step-desc  { margin: 0; font-size: 13px; color: #555; }
.preloved-seller-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0F6B5A;
    color: #fff;
    padding: 14px 22px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 8px;
    width: max-content;
}
.preloved-seller-cta__btn:hover { opacity: 0.92; }
.preloved-seller-cta__image { flex: 0 0 40%; }
.preloved-seller-cta__image img { width: 100%; height: auto; display: block; border-radius: 12px; }

@media ( max-width: 768px ) {
    .preloved-seller-cta__row { flex-direction: column; }
    .preloved-seller-cta__image { flex: 1 1 auto; width: 100%; }
}

/* -----------------------------------------------------------
 * Testimonials
 * --------------------------------------------------------- */
.preloved-testimonials {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
.preloved-testimonials__header { flex: 0 0 auto; min-width: 180px; }
.preloved-testimonials__heading { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #111; letter-spacing: 0.04em; }
.preloved-testimonials__overall {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px;
}
.preloved-testimonials__rating-row { display: flex; align-items: center; gap: 8px; }
.preloved-testimonials__rating-number { font-size: 28px; font-weight: 800; color: #3D1F8E; line-height: 1; }
.preloved-testimonials__stars { display: inline-flex; gap: 2px; color: #FFC107; font-size: 18px; }
.preloved-testimonials__review-count { font-size: 13px; color: #555; }

.preloved-testimonials .preloved-slider { flex: 1 1 420px; min-width: 0; }

.preloved-testimonials__card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex; flex-direction: column;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
}
.preloved-testimonials__text { margin: 0; font-size: 14px; color: #333; line-height: 1.5; }
.preloved-testimonials__reviewer { display: flex; align-items: center; gap: 10px; }
.preloved-testimonials__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #ddd;
    color: #444;
    font-weight: 700;
}
.preloved-testimonials__who { display: flex; flex-direction: column; flex: 1; }
.preloved-testimonials__name  { font-size: 14px; font-weight: 700; color: #111; }
.preloved-testimonials__badge { font-size: 12px; color: #666; }

@media ( max-width: 767px ) {
    .preloved-testimonials__header { margin-bottom: 16px; }
}

/* -----------------------------------------------------------
 * Trust Bar
 * --------------------------------------------------------- */
.preloved-trust-bar {
    background: #1A0D4E;
    color: #fff;
    padding: 20px 24px;
    border-radius: 8px;
}
.preloved-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.preloved-trust-bar__item {
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.preloved-trust-bar__item--icon-above {
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.preloved-trust-bar--dividers .preloved-trust-bar__item:not(:last-child) {
    position: relative;
    border-right: none;
}
.preloved-trust-bar--dividers .preloved-trust-bar__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: rgba(255,255,255,0.2);
}
.preloved-trust-bar__icon { color: #fff; font-size: 24px; line-height: 1; }
.preloved-trust-bar__item--icon-left .preloved-trust-bar__icon { margin-right: 12px; }
.preloved-trust-bar__item--icon-above .preloved-trust-bar__icon { margin: 0 0 8px 0; }
.preloved-trust-bar__icon svg { width: 1em; height: 1em; fill: currentColor; }
.preloved-trust-bar__text { display: flex; flex-direction: column; }
.preloved-trust-bar__title { font-size: 14px; font-weight: 700; color: #fff; }
.preloved-trust-bar__subtitle { font-size: 12px; color: rgba(255,255,255,0.7); }

@media ( max-width: 600px ) {
    .preloved-trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .preloved-trust-bar--dividers .preloved-trust-bar__item:nth-child(2n)::after { display: none; }
}

/* -----------------------------------------------------------
 * Header Actions (Account / Wishlist / Cart)
 * --------------------------------------------------------- */
.preloved-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.preloved-header-actions__item {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.preloved-header-actions__item--column { flex-direction: column; text-align: center; }
.preloved-header-actions__item--row    { flex-direction: row; }
.preloved-header-actions__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.preloved-header-actions__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #1A0D4E;
    transition: color 200ms ease;
}
.preloved-header-actions__icon svg { width: 1em; height: 1em; fill: currentColor; }
.preloved-header-actions__label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: #1A0D4E;
    transition: color 200ms ease;
}
.preloved-header-actions__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3D1F8E;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    pointer-events: none;
}
.preloved-header-actions__badge--top-left { left: -6px; right: auto; }
.preloved-header-actions__divider {
    display: inline-block;
    flex-shrink: 0;
    width: 1px;
    height: 24px;
    background-color: rgba(0,0,0,0.15);
}

@media ( max-width: 480px ) {
    .preloved-header-actions { gap: 12px; }
}

