/* ===================== */
/* HORIZONTAL SCROLL */
/* ===================== */

.horizontal-wrapper,
.scroll-container {
    position: relative;
    margin-bottom: 10px;
}

.horizontal-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* FIXED CARD SIZE */
.horizontal-card {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    border-radius: 14px;
    scroll-snap-align: start;
}

/* IMAGE CONSISTENCY */
.horizontal-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

//* Product card titles */
.product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* BADGES */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    color: #fff;
    z-index: 5;
    white-space: nowrap;
}
.product-badge {
    white-space: nowrap;
    max-width: 90px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-new { background: #0d6efd; }
.badge-trending { background: #dc3545; }
.badge-sale { background: #198754; }

/* SCROLL BUTTONS (DESKTOP ONLY) */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scroll-left { left: -10px; }
.scroll-right { right: -10px; }

.scroll-btn:hover {
    background: #000;
}

@media (min-width: 768px) {
    .scroll-btn {
        display: flex;
    }
}

/* MOBILE POLISH */
@media (max-width: 767px) {
    .horizontal-card {
        width: 160px;
        min-width: 160px;
    }

    .horizontal-card img {
        height: 160px;
    }

    .product-title {
        font-size: 13px;
    }

    .scroll-btn {
        display: none !important; /* Swipe only on mobile */
    }
}

/* =========================
   PREMIUM IMAGE-LIKE CATEGORY ICONS (JIJI STYLE)
   ========================= */

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #111827;
}

/* MAIN CIRCLE */
.category-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #eef2f7);
    border: 1px solid #e5e7eb;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 10px 20px rgba(0,0,0,0.12),
        inset 0 2px 4px rgba(255,255,255,0.9);

    transition: all 0.35s ease;
}

/* ICON */
.category-circle span {
    font-size: 54px;
    line-height: 1;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.15));
}

/* HOVER */
.category-card:hover .category-circle {
    transform: translateY(-6px);
    box-shadow:
        0 18px 35px rgba(0,0,0,0.18),
        inset 0 3px 6px rgba(255,255,255,1);
}

/* LABEL */
.category-label {
    margin-top: 12px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #111827;
}

/* MOBILE CATEGORY ICONS */
@media (max-width: 576px) {
    .category-circle {
        width: 80px;
        height: 80px;
    }

    .category-circle span {
        font-size: 34px;
    }

    .category-label {
        font-size: 12px;
    }
}

/* =========================
   WATERMARK PROTECTION
   ========================= */

.image-container {
    position: relative;
}

.image-container::after {
    content: "GUZONES.COM";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255,255,255,0.18);
    transform: rotate(-30deg);
    pointer-events: none;
    user-select: none;
}

/* =========================
   LANGUAGE SWITCHER
   ========================= */

.btn-lang {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
}

.btn-lang:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.dropdown-item {
    font-size: 14px;
}

/* LANGUAGE DROPDOWN FIX (MOBILE) */
.dropdown-menu {
    z-index: 1055; /* higher than navbar */
}

@media (max-width: 576px) {
    .dropdown-menu {
        min-width: 140px;
        font-size: 14px;
    }
}

/* =========================
   CART MOBILE OPTIMIZATION
   ========================= */

@media (max-width: 576px) {

    .cart-item {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .cart-item img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 10px;
    }

    .cart-item-details {
        flex: 1;
    }

    .cart-item h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .cart-item-price {
        font-size: 13px;
        font-weight: 600;
    }

    .cart-total {
        font-size: 16px;
    }

    .btn-checkout {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border-radius: 999px;
    }
}

/* =========================
   CART DESKTOP CONTAINER
   ========================= */

.cart-container {
    max-width: 900px;     /* ⬅️ KEY FIX */
    margin: 0 auto;
}
/* =========================
   CART ITEM DESKTOP SIZE
   ========================= */

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cart-item img {
    width: 110px;        /* ⬅️ MUCH SMALLER */
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details h5 {
    font-size: 15px;
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-actions button {
    padding: 6px 10px;
    font-size: 13px;
}
/* =========================
   CART SUMMARY
   ========================= */

.cart-summary {
    max-width: 360px;
    margin-left: auto;
    padding: 18px;
    border-radius: 14px;
    background: #f9fafb;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.cart-summary h4 {
    font-size: 18px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 999px;
}
/* =========================
   CATEGORY PAGE GRID FIX
   ========================= */

.category-products-grid .product-card img {
    height: 160px;
    object-fit: cover;
}

/* MOBILE */
@media (max-width: 576px) {
    .category-products-grid .product-card img {
        height: 150px;
    }

    .product-title {
        font-size: 13px;
        line-height: 1.3;
    }
}

/* PRODUCT CARD */
.related-link { text-decoration:none; color:inherit; }

.related-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: .35s;
    height: 100%;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.related-img { height:170px; overflow:hidden; }
.related-img img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.related-card:hover img { transform:scale(1.12); }


.wishlist-btn {
    position:absolute; top:12px; right:12px;
    width:32px; height:32px;
    background:#fff; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:18px; color:#e63946;
    box-shadow:0 6px 18px rgba(0,0,0,.15);
}

.related-body { padding:12px 14px 16px; }

.rating { font-size:13px; color:#f4b400; margin-bottom:4px; }
.rating span { color:#777; font-size:12px; }

.related-name {
    font-size:14px; font-weight:500;
    line-height:1.4; height:38px; overflow:hidden;
}
.related-price { font-size:15px; font-weight:700; }

/* 🔔 Notification Bell */
.notification-bell {
    font-size: 22px;
    text-decoration: none;
    line-height: 1;
}

/* 🔴 Badge */
.notification-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
}

.banner-detail-page {
  padding: 14px;
}

/* Main Image */
.banner-image img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

/* Gallery */
.banner-gallery {
  display: flex;
  gap: 8px;
  margin: 10px 0 18px;
  overflow-x: auto;
}

.banner-gallery img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

/* Info Cards */
.banner-card {
  background: #f9f9f9;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.banner-card.title {
  font-size: 20px;
  font-weight: 600;
}

.banner-card.price {
  font-size: 22px;
  font-weight: bold;
  color: #0d6efd;
}

.banner-card.description {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Contact Seller */
.contact-seller-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  text-align: center;
  background: #035c2f;
  color: white;
  font-size: 17px;
  border-radius: 14px;
  text-decoration: none;
}

.contact-seller-btn:active {
  transform: scale(0.98);
}

.banner-main-image img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.banner-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 18px;
}

.banner-thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
}

.banner-thumbnails img.active-thumb {
  border-color: #0d6efd;
}

.image-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.close-zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.contact-seller-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  text-align: center;
  border-radius: 14px;
  font-size: 16px;
  text-decoration: none;
  color: white;
}

.contact-seller-btn.whatsapp {
  background: #25D366;
}

.contact-seller-btn.call {
  background: #0d6efd;
}

/* ===== PROMO BANNER POSITIONING ===== */
.promo-wrapper {
    margin-top: -26px;   /* 👈 touches navbar */
    padding-top: 0;
}

.promo-banner {
    height: 220px;
    object-fit: cover;
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
    .promo-wrapper {
        margin-top: -18px;  /* perfect on iOS & Android */
    }
}

/* ===== PROMO BANNER (SHEIN STYLE) ===== */

.promo-wrapper {
    width: 100%;
    margin-top: 0;          /* touches navbar */
    padding: 0;
}

.promo-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;       /* edge-to-edge */
}

/* Mobile height */
@media (max-width: 768px) {
    .promo-img {
        height: 200px;
    }
}

/* CTA overlay */
.promo-link {
    position: relative;
    display: block;
}

.promo-cta {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

/* Animate like SHEIN */
.promo-link:hover .promo-cta,
.promo-link:active .promo-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TRUE FULL-BLEED PROMO (SHEIN FIX) ===== */

.promo-fullbleed {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.promo-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Mobile tuning */
@media (max-width: 768px) {
    .promo-img {
        height: 240px;
    }
}

.promo-fullbleed {
        margin-top: -25px;  /* ⬅ gently pulls banner toward navbar */
    }

/* ===== BANNER CTA ===== */
.banner-wrapper {
    position: relative;
}

.banner-cta {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 26px;
    background: #ff2f92;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    animation: pulse 1.8s infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 47, 146, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 47, 146, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 47, 146, 0);
    }
}

.banner-cta {
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.banner-cta:hover {
    transform: scale(1.05);
    opacity: 0.9;
    color: #fff;
}

/* GRID */
.for-you-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 6px;   /* 🔥 smaller space between left & right */
  row-gap: 10px;     /* keep vertical spacing comfortable */
}

/* CARD */
.for-you-card {
  background: #ffffff;
  border-radius: 8px;   /* 🔥 less rounded overall */
  overflow: hidden;
}

/* IMAGE */
.for-you-img-wrapper img {
  width: 100%;
  height: 240px;   /* 🔥 Taller portrait */
  object-fit: cover;
  display: block;
  border-radius: 6px;   /* 🔥 Slight rounding only */
}

/* INFO */
.for-you-info {
  padding: 8px;
  background: #fafafa;
}

/* TITLE - max 2 lines */
.for-you-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.for-you-description {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PRICE */
.for-you-price {
  font-size: 14px;
  font-weight: 600;
  color: #ac060f;
}

/* ========================= */
/* CATEGORY SWIPE STYLE */
/* ========================= */

.category-wrapper {
    background: #fff;
    padding: 15px 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Horizontal scroll container */
.category-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto); /* 3 rows fixed */
    grid-auto-columns: 80px;
    gap: 14px 10px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
}

/* Hide scrollbar (mobile clean look) */
.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    text-decoration: none;
    text-align: center;
    color: #222;
}

.category-box {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: #f3f3f3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.category-box:hover {
    background: #eaeaea;
}

.category-icon {
    font-size: 22px;
}

.category-name {
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.2;
}

/* SECTION CONTAINER */
.horizontal-wrapper {
  background: #ffffff;
  padding: 12px;
  margin-bottom: 25px;
  border-radius: 6px;
}

/* Title style */
.section-title {
  font-weight: 700;
  font-size: 18px;
  margin: 10px 0 12px;
  letter-spacing: 0.5px;
}

/* Scroll row */
.horizontal-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

/* Card smaller & sharper */
.horizontal-card {
  min-width: 130px;   /* SMALLER */
  flex: 0 0 auto;
  background: #fff;
  border-radius: 4px;  /* LESS ROUND */
  overflow: hidden;
}

/* Remove link underline */
.product-link {
  text-decoration: none;
  color: inherit;
}

/* Image */
.horizontal-card img {
  width: 100%;
  height: 150px;   /* smaller image */
  object-fit: cover;
  border-radius: 4px;
}

/* Badge */
.product-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 14px;
  color: #fff;
}

.badge-new { background: #2b6df6; }
.badge-trending { background: #ff3b3b; }
.badge-sale { background: #00a650; }

/* Product info */
.product-info {
  padding: 6px 4px 8px;
}

/* SINGLE LINE TITLE */
.product-title {
  font-size: 12px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;        /* FORCE ONE LINE */
  overflow: hidden;
  text-overflow: ellipsis;    /* SHOW ... */
}

/* Price */
.product-price {
  font-size: 14px;
  font-weight: 700;
  color: #e60023;
  margin-top: 4px;
}

/* ============================= */
/* HOME PRODUCTS TABS */
/* ============================= */

.home-products-container {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
}

/* TABS */
.home-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.home-tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  background: #f3f3f3;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.home-tab.active {
  background: #111;
  color: white;
}

/* PRODUCT ROW */
.home-products-scroll {
  position: relative;
}

.home-products-row {
  display: none;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.home-products-row.active {
  display: flex;
}

/* PRODUCT CARD */
.mini-product-card {
  min-width: 130px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  flex-shrink: 0;
}

.mini-product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* INFO */
.mini-product-info {
  padding: 8px;
}

.mini-title {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-price {
  font-size: 14px;
  font-weight: 700;
  color: #e60023;
  margin-top: 4px;
}

/* ===== Tabs ===== */
.product-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: #f2f2f2;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.tab-btn.active {
  background: #000;
  color: #fff;
}

/* ===== Tab Content ===== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== Grid Card ===== */
.grid-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 6px;
}

.grid-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
}

.grid-info {
  padding: 6px 4px;
}

.grid-title {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
}

.grid-price {
  color: #d10000;
  font-weight: 700;
  font-size: 15px;
  margin-top: 4px;
}

/* ===== NEW ARRIVALS FINAL COMPACT ===== */

.horizontal-card {
    width: 135px;
    flex: 0 0 auto;
}

/* IMAGE */
.image-wrapper {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #f6f6f6;
}

.new-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* PRODUCT INFO */
.product-info {
    padding: 2px 0 0 0;   /* almost no space */
    margin: 0;
}

/* TITLE – Stylish + Always … */
.product-title.one-line {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 3px 0 0 0;   /* very tight */
    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    display: block;
}

/* PRICE – Very close */
.product-price {
    font-size: 14px;
    font-weight: 700;
    color: #d6001c;
    margin: 2px 0 0 0;   /* almost touching title */
    letter-spacing: 0.3px;
}

.horizontal-card a {
    text-decoration: none;
}

.horizontal-card h6,
.horizontal-card p {
    margin: 0;
}

body {
    padding-bottom: 70px;
}

.category-icon i {
    font-size: 22px;
    color: #000;
}

.category-icon:hover i {
    color: #ff3b3b;
    transform: scale(1.1);
    transition: 0.2s ease;
}

/* ========================= */
/* DESKTOP & TABLET SUPPORT  */
/* ========================= */

@media (min-width: 992px) {

  .desktop-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

}

@media (min-width: 992px) {

  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

}

@media (min-width: 992px) {

  .product-details-wrapper {
    display: flex;
    gap: 40px;
  }

  .product-images {
    flex: 1;
  }

  .product-info {
    flex: 1;
  }

}

@media (min-width: 992px) {

  .chat-container {
    max-width: 800px;
    margin: 40px auto;
  }

}
/* ========================= */
/* DESKTOP & TABLET FIXES */
/* ========================= */

@media (min-width: 768px) {

  /* Center main content */
  .container,
  .main-content,
  .product-container {
      max-width: 1200px;
      margin: 0 auto;
  }

  /* Product image portrait ratio */
  .product-image,
  .product-image img {
      width: 100%;
      height: 500px;
      object-fit: cover;
      border-radius: 12px;
  }

  /* Product cards grid */
  .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
  }

  /* Hide mobile bottom nav on desktop */
  .bottom-nav {
      display: none !important;
  }

  /* Add to cart bar not full width on desktop */
  .add-to-cart-bar {
      max-width: 1200px;
      margin: auto;
      border-radius: 12px;
  }

}

/* ============================= */
/* TRENDING - DESKTOP FRIENDLY  */
/* ============================= */

@media (min-width: 768px) {

  /* Make grid responsive */
  .for-you-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Tablet */
      gap: 20px;
  }

}

@media (min-width: 1024px) {

  .for-you-grid {
      grid-template-columns: repeat(4, 1fr); /* Desktop */
  }

  .for-you-card {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border-radius: 14px;
  }

  .for-you-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

}

/* ============================= */
/* FIX IMAGE RATIO (IMPORTANT) */
/* ============================= */

.for-you-img-wrapper {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;  /* Portrait style */
    overflow: hidden;
    border-radius: 12px;
}

.for-you-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================= */
/* TITLE IMPROVEMENT */
/* ============================= */

.for-you-title {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    min-height: 38px;
    overflow: hidden;
}

/* Desktop slightly bigger text */
@media (min-width: 1024px) {
    .for-you-title {
        font-size: 15px;
    }
}



/* ===================================== */
/* RELATED PRODUCTS GRID DESKTOP */
/* ===================================== */

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.related-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}

/* ===================================== */
/* STICKY CART DESKTOP FIX */
/* ===================================== */

@media (min-width: 992px) {
  .sticky-cart {
      max-width: 1200px;
      margin: auto;
      border-radius: 14px;
  }
}

/* ===================================== */
/* FORCE BOTTOM NAV ON DESKTOP & TABLET */
/* ===================================== */

@media (min-width: 768px) {

  .bottom-nav {
      display: flex !important;
      justify-content: space-around;
      align-items: center;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: #ffffff;
      border-top: 1px solid #e5e5e5;
      padding: 10px 0;
      z-index: 9999;
  }

  /* Prevent content being hidden behind bar */
  body {
      padding-bottom: 80px;
  }

}

/* ========================= */
/* CART RESPONSIVE FIX */
/* ========================= */

@media (max-width: 768px) {

  .cart-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cart-item-top {
    display: flex;
    gap: 12px;
  }

  .cart-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
  }

  .cart-details {
    flex: 1;
  }

  .cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .cart-actions a {
    padding: 6px 10px;
  }

  .cart-price {
    font-size: 14px;
  }

  .checkout-floating {
    position: fixed;
    bottom: 70px; /* above bottom nav */
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }

}

/* ===============================
   TRUST STRIP — ULTRA COMPACT FINAL
================================ */

.trust-strip {
    background: #efe3d3;
    padding: 6px 10px;                 /* even tighter */
    margin: -8px 12px 10px 12px;       /* clean touch to banner */
    border-radius: 8px;
    border: 1px solid #e2d2bf;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.trust-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;                          /* tighter gap */
    flex: 1;
    min-width: 0;                      /* prevents overflow issues */
}

.trust-icon {
    width: 26px;                       /* smaller box */
    height: 26px;
    min-width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7efe6;
    border-radius: 6px;
    color: #7a5c3e;
}

.trust-icon svg {
    width: 14px;
    height: 14px;
}

.trust-text {
    line-height: 1.1;                  /* reduce vertical spacing */
}

.trust-text strong {
    font-size: 12px;
    color: #5a4632;
    white-space: nowrap;               /* keep on one line */
}

.trust-text span {
    font-size: 10px;
    color: #8a7560;
    white-space: nowrap;               /* keep on one line */
}

.trust-divider {
    width: 1px;
    height: 22px;                      /* shorter divider */
    background: #d8c6b3;
    margin: 0 6px;
}



/* =========================
   MODERN DOT INDICATORS
========================= */

.carousel-indicators {
    bottom: 18px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 1;
}

.carousel-indicators .active {
    width: 22px;
    border-radius: 20px;
    background-color: #ffffff;
}

/* =========================
   FORCE SHEIN DOT STYLE
========================= */

.carousel-indicators {
    bottom: 15px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.6) !important;
    border: none !important;
    margin: 0 4px !important;
    opacity: 1 !important;
}

.carousel-indicators .active {
    background-color: #ffffff !important;
    transform: scale(1.2);
}

