
.main-swiper{padding-left:12px;padding-right:12px}
.main-swiper .swiper-slide{box-sizing:border-box;padding-left:8px;padding-right:8px}
@media(min-width:768px){
  .main-swiper{padding-left:0;padding-right:0}
  .main-swiper .swiper-slide{padding-left:0;padding-right:0}
}
/* Additional small tweak to ensure images are responsive inside the slide */
.main-swiper .banner-item .image-holder img{display:block;width:100%;height:auto}

/* Features card styles */
.features .section-subtitle{font-size:1.25rem;font-weight:600;color:#223}
.features .feature-card{background:#d2f2ff; border-radius:12px;border:1px solid rgba(34,34,34,0.04);box-shadow:0 6px 18px rgba(34,34,34,0.04);transition:transform .28s ease,box-shadow .28s ease}
.features .feature-card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(34,34,34,0.08)}
.features .feature-icon{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;background: linear-gradient(135deg, #5376bf 0%, #06c0d3 100%);color:#fff}
.features .feature-icon svg{fill:#fff}
.features .element-title{font-size:1rem;font-weight:700;color:#112;letter-spacing:0.2px}
.features p{text-color:#666}

@media(max-width:575px){
  .features .feature-card{padding:18px}
  .features .feature-icon{width:52px;height:52px}
}

/* Ensure cards stay visually separated on small screens */
.features .row.g-3 > [class*="col-"]{display:flex}
.features .row.g-3 > [class*="col-"] .feature-card{flex:1}

/* Section subtitle styling */
.section-subtitle{
  font-size:1.75rem;
  font-weight:700;
  color:#0f1724;
  margin:0 auto 0.5rem;
  display:inline-block;
  letter-spacing:0.2px;
  position:relative;
  padding-bottom:0.25rem;
}
.section-subtitle::after{
  content:"";
  display:block;
  height:6px;
  width:72px;
  border-radius:6px;
  margin-top:10px;
  background:linear-gradient(90deg,#ff8a00 0%,#e52e71 100%);
  box-shadow:0 6px 18px rgba(229,46,113,0.12);
}
@media(max-width:767px){
  .section-subtitle{font-size:1.4rem}
  .section-subtitle::after{width:56px;height:5px}
}

  /* ---------------------------------------------------------
     Refined / Minimal UI layer — scoped to .rf-home
     Token system:
     Background  #FAFAF8   Ink        #1C1C1A
     Line        #E4E1D9   Stone      #A79F8E
     Signature   #45543F  (quiet sage — "thread" accent)
     --------------------------------------------------------- */

  .rf-home {
    --bg: #FAFAF8;
    --ink: #1C1C1A;
    --line: #E4E1D9;
    --stone: #8F887A;
    --signature: #45543F;
    --white: #FFFFFF;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  .rf-home h1, .rf-home h2, .rf-home h3, .rf-home h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
  }

  .rf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
  }

  .rf-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--signature);
  }

  /* ---------------- Hero ---------------- */
  .rf-hero .carousel-item {
    position: relative;
  }

  .rf-hero .hero-slider-image {
    /* doubled again from 41vh -> ~82vh */
    height: 82vh;
    min-height: 480px;
    object-fit: cover;
    filter: saturate(0.92);
  }

@media (min-width: 768px) {
  /* Medium and large devices: set hero to 70% of viewport height */
  .rf-hero .hero-slider-image {
    height: 70vh;
    min-height: 360px;
  }
}

  .rf-hero .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,28,26,0.12) 0%, rgba(28,28,26,0.38) 100%);
  }

  .rf-hero .carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding-bottom: 4vh;
  }

  .rf-hero .carousel-caption .rf-eyebrow {
    color: var(--white);
    opacity: 0.85;
  }

  .rf-hero .carousel-caption .rf-eyebrow::before {
    background: var(--white);
  }

  .rf-hero h2 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    max-width: 640px;
    margin: 0.9rem 0 1.6rem;
  }

  .rf-hero .btn-light {
    border-radius: 0;
    padding: 0.85rem 2.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--white);
    color: var(--ink);
    border: none;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .rf-hero .btn-light:hover {
    background: var(--signature);
    color: var(--white);
  }

  .rf-hero .carousel-indicators [data-bs-target] {
    width: 22px;
    height: 2px;
    border-radius: 0;
    background: rgba(255,255,255,0.5);
    opacity: 1;
  }

  .rf-hero .carousel-indicators .active {
    background: var(--white);
  }

  .rf-hero .carousel-control-prev,
  .rf-hero .carousel-control-next {
    width: 6%;
    opacity: 0.7;
  }

  /* ---------------- Features ---------------- */
  .rf-features {
    border-bottom: 1px solid var(--line);
  }

  .rf-feature {
    padding: 2.75rem 1.5rem;
    text-align: center;
    border-left: 1px solid var(--line);
  }

  .rf-feature:first-child {
    border-left: none;
  }

  .rf-feature .rf-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: border-color 0.25s ease;
  }

  .rf-feature:hover .rf-icon {
    border-color: var(--signature);
  }

  .rf-feature .rf-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--ink);
  }

  .rf-feature h4 {
    font-size: 1.02rem;
    text-transform: none;
    margin-bottom: 0.6rem;
  }

  .rf-feature p {
    font-size: 0.88rem;
    color: var(--stone);
    line-height: 1.6;
    margin: 0;
  }

  @media (max-width: 767px) {
    .rf-feature {
      border-left: none;
      border-top: 1px solid var(--line);
    }
    .rf-feature:first-child {
      border-top: none;
    }
  }

  /* ---------------- Categories ---------------- */
  .rf-categories {
    padding: 5.5rem 0;
  }

  .rf-cat-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
  }

  .rf-cat-item .image-holder {
    height: 100%;
  }

  .rf-cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .rf-cat-item:hover img {
    transform: scale(1.05);
  }

  .rf-cat-item .category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem;
    background: linear-gradient(0deg, rgba(28,28,26,0.55) 0%, rgba(28,28,26,0) 65%);
  }

  .rf-cat-item .btn-common {
    display: inline-block;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 4px;
    transition: border-color 0.25s ease, opacity 0.25s ease;
  }

  .rf-cat-item .btn-common:hover {
    border-color: var(--white);
    opacity: 0.85;
  }

  /* ---------------- Collection ---------------- */
  .rf-collection {
    background: var(--white);
    padding: 6rem 0;
  }

  .rf-collection .rf-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
  }

  .rf-collection .column-container {
    padding: 0;
  }

  .rf-collection .image-holder {
    height: 100%;
    min-height: 380px;
    overflow: hidden;
  }

  .rf-collection .image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rf-collection .collection-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .rf-collection .collection-content h3 {
    font-size: 1.7rem;
    text-transform: none;
    margin-bottom: 1.1rem;
  }

  .rf-collection .collection-content p {
    color: var(--stone);
    line-height: 1.8;
    font-size: 0.95rem;
  }

  .rf-collection .btn-dark {
    display: inline-block;
    width: fit-content;
    border-radius: 0;
    background: var(--ink);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 0.9rem 2.2rem;
    border: 1px solid var(--ink);
    transition: background 0.25s ease, color 0.25s ease;
  }

  .rf-collection .btn-dark:hover {
    background: transparent;
    color: var(--ink);
  }

  /* ---------------- Logo bar ---------------- */
  .rf-logo-bar {
    padding: 4rem 0 5rem;
    border-top: 1px solid var(--line);
  }

  .rf-logo-bar img {
    max-height: 30px;
    width: auto;
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.25s ease;
  }

  .rf-logo-bar img:hover {
    filter: grayscale(0) opacity(1);
  }

  @media (max-width: 767px) {
    .rf-logo-bar .logo-content {
      gap: 2rem 3rem;
      justify-content: center !important;
    }
  }

/* ---------------- Center collection on mobile ---------------- */
@media (max-width: 767px) {
  .rf-collection .collection-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .rf-collection .collection-item .column-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .rf-collection .image-holder {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .rf-collection .image-holder img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .rf-collection .collection-content {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .rf-collection .collection-content h3 {
    margin-bottom: 0.75rem;
  }

  .rf-collection .collection-content p {
    text-align: center;
  }

  .rf-collection .btn-dark {
    margin-top: 1rem;
    display: inline-block;
  }
}

/* mobile hero double height */
@media (max-width: 767px) {
  .rf-hero .hero-slider-image {
    height: 48vh;
    min-height: 220px;
  }
}

/* ---------------- Global hero-slider (non-rf) ---------------- */
/* Ensure welcome.blade.php hero uses 70vh across devices */
.hero-slider .hero-slider-image {
  height: 70vh;
  min-height: 240px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero-slider .hero-slider-image {
    height: 70vh;
    min-height: 180px;
  }
}

@media (min-width: 768px) {
  .hero-slider .hero-slider-image {
    height: 70vh;
    min-height: 360px;
  }
}
