/* NEW ITEMS / FEATURED ITEMS - consistent cards */
.new-items .product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.new-items .product-img {
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}

/* Fixed image frame (consistent height) */
.new-items .product-link {
  display: block;
  width: 100%;
  height: 300px;            /* adjust: 220-320 depending on your design */
}

.new-items .product-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* crops nicely */
  object-position: center;
  display: block;
}

/* Keep title area consistent */
.new-items .product-bio {
  padding: 14px 10px 0;
}

.new-items .prodcut-cat a {
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.75;
  text-transform: uppercase;
}

/* Title: smaller + 2-line clamp */
.new-items .prodcut-title h3 {
  margin: 8px 0 0;
  font-size: 15px;          /* smaller */
  line-height: 1.35;
  font-weight: 700;
}

.new-items .prodcut-title h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* show max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* If you want ALL titles same height */
.new-items .prodcut-title {
  min-height: 46px;         /* keeps card heights aligned */
}

/* Hover button area stays centered */
.new-items .product-hover .product-action {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.new-items .product-hover .btn {
  padding: 10px 14px;
  font-size: 13px;
}

/* ---- FIX: Hover button text clipped + proper centering ---- */
.new-items .product-img {
  position: relative;
  overflow: hidden;
}

.new-items .product-hover {
  position: absolute;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Keep your theme hover effect but ensure button is readable */
.new-items .product-hover .product-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button clipping fix (line-height + padding + height auto) */
.new-items .product-hover .btn,
.new-items .product-hover .btn.btn-primary {
  height: auto !important;
  line-height: 1.2 !important;
  padding: 12px 18px !important;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;      /* prevents breaking/cropping */
}

/* ---- FIX: Title too big on mobile ---- */
.new-items .prodcut-title h3 {
  margin: 10px 0 0;
  font-size: 16px;          /* desktop default */
  line-height: 1.25;
}

/* Smaller title on small screens */
@media (max-width: 767px) {
  .new-items .prodcut-title h3 {
    font-size: 14px;
    line-height: 1.25;
  }
}

/* If you want ellipsis after 2 lines (clean) */
.new-items .prodcut-title h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================
   PAGE TITLE (TEAM) – IMPROVED
   ========================= */

.page-title-clean {
  background: #f7f7f7;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.page-title-heading {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Breadcrumb aligned right on desktop */
.page-breadcrumb {
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: right;
}

.page-breadcrumb > li + li:before {
  content: "›";
  color: #999;
  padding: 0 10px;
}

.page-breadcrumb a {
  color: #777;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: #e63946;
}

.page-breadcrumb > .active {
  color: #111;
  font-weight: 600;
}

/* Mobile stacking */
@media (max-width: 767px) {
  .page-title-clean {
    padding: 22px 0;
    text-align: center;
  }

  .page-breadcrumb {
    text-align: center;
    margin-top: 10px;
  }
}


/* =========================
   TEAM INTRO – CLEAN & ALIGNED
   ========================= */

.team-intro {
  margin-bottom: 60px;
}

.team-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 12px;
}

.team-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: #e63946;
  display: inline-block;
}

.team-heading {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.1;
}

.team-description {
  font-size: 18px;
  color: #777;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* Mobile */
@media (max-width: 767px) {
  .team-heading {
    font-size: 30px;
  }

  .team-description {
    font-size: 15px;
  }
}


/* =========================
   TEAM GRID – PROFESSIONAL CARDS (Bootstrap 3 safe)
   ========================= */

.team-grid .col-xs-12,
.team-grid .col-sm-6,
.team-grid .col-md-3 {
  margin-bottom: 30px;
}

.team-card {
  background: #fff;
  border: 1px solid #eee;
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

/* Fixed image frame for equal sizes */
.team-media {
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
  height: 320px;           /* adjust if needed */
}

.team-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;        /* key for equal sizing */
  object-position: center top;
}

/* Overlay */
.team-overlay {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
  visibility: visible;
}

.team-overlay-inner {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 18px;
  text-align: center;
  color: #fff;
}

.team-name-sm {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-exp {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.95;
  max-width: 92%;
  margin: 0 auto 12px;
}

/* Social */
.team-social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  margin: 0 6px;
  font-size: 16px;
  transition: background .2s ease, color .2s ease;
}

.team-social a:hover {
  background: #e63946;
  color: #fff;
}

/* Bottom info */
.team-info {
  padding: 16px 12px;
  text-align: center;
}

.team-name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile tune */
@media (max-width: 767px) {
  .team-media {
    height: 260px;
  }
}


/* =========================
   PAGE TITLE – CLEAN (Bootstrap 3 safe)
   ========================= */

.page-title-clean {
  background: #f7f7f7;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.page-title-heading {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Breadcrumb aligned right on desktop */
.page-breadcrumb {
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: right;
}

.page-breadcrumb > li + li:before {
  content: "›";
  color: #999;
  padding: 0 10px;
}

.page-breadcrumb a {
  color: #777;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: #e63946;
}

.page-breadcrumb > .active {
  color: #111;
  font-weight: 600;
}

/* Mobile stacking */
@media (max-width: 767px) {
  .page-title-clean {
    padding: 22px 0;
    text-align: center;
  }

  .page-breadcrumb {
    text-align: center;
    margin-top: 10px;
  }
}

/* =========================
   TESTIMONIALS INTRO – CLEAN & PREMIUM
   ========================= */

.testimonials-intro {
  padding: 35px 15px 20px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 12px;
}

.section-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: #e63946;
  display: inline-block;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 18px;
  color: #777;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

/* Mobile */
@media (max-width: 767px) {
  .testimonials-intro {
    padding-top: 25px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 15px;
  }
}

/* =========================
   TESTIMONIALS – CLEAN CARDS + SPACING FIX
   ========================= */

.testimonials-wrap {
  padding: 40px 15px 70px;     /* IMPORTANT: prevents overlap with next section */
}

/* If your testimonials section sits on a busy background, keep it clean */
#testimonial-oc {
  margin-top: 20px;
}

/* Each slide/item */
.testimonial-item {
  padding: 0 10px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 28px 26px;
  min-height: 260px;           /* keeps equal height feel */
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

/* Content */
.testimonial-content {
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
}

.quote-icon {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 26px;
  color: #e63946;              /* brand accent */
  opacity: 0.95;
}

.testimonial-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  font-style: normal;          /* remove heavy italic look */
}

/* Author row */
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;                   /* modern spacing */
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.testimonial-meta img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.testimonial-bio h6 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .testimonials-wrap {
    padding: 30px 15px 55px;
  }

  .testimonial-card {
    padding: 22px 18px;
    min-height: auto;
  }

  .testimonial-content {
    padding-left: 38px;
  }
}

/* =========================
   TESTIMONIALS – FORCE SAME HEIGHT
   ========================= */

/* Make slide stretch */
.testimonial-item {
  height: 100%;
}

/* Card full height */
.testimonial-card {
  height: 100%;
  display: flex;
}

/* Inner layout */
.testimonial-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Text takes flexible space */
.testimonial-content {
  flex-grow: 1;
}

/* Author always sticks to bottom */
.testimonial-meta {
  margin-top: auto;
}

/* OPTIONAL: clamp text for perfect uniformity */
.testimonial-content p {
  display: -webkit-box;
  -webkit-line-clamp: 6;   /* adjust: 5–7 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#testimonial-oc .owl-stage {
  display: flex;
}

#testimonial-oc .owl-item {
  display: flex;
}


/* =========================
   PRODUCTS SIDEBAR – CATEGORIES (clean)
   ========================= */

.categories-widget .widget-title h5 {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.categories-list,
.subcategories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-item {
  border: 1px solid #eee;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  text-decoration: none;
  color: #222;
  font-weight: 700;
}

.cat-link:hover {
  background: #f7f7f7;
  color: #111;
}

.cat-count {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #555;
}

/* Active main */
.cat-item.is-active .cat-link {
  background: #111;
  color: #fff;
}

.cat-item.is-active .cat-count {
  background: #e63946;
  color: #fff;
}

/* Subcategories */
.subcategories-list {
  border-top: 1px solid #eee;
  padding: 8px 0;
  background: #fcfcfc;
}

.sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 9px 18px;
  text-decoration: none;
  color: #444;
  font-size: 13px;
}

.sub-link:hover {
  background: #f5f5f5;
  color: #111;
}

.sub-count {
  font-size: 12px;
  color: #777;
}

/* Active sub */
.sub-item.is-active .sub-link {
  background: rgba(230,57,70,0.10);
  color: #e63946;
  font-weight: 700;
}

.sub-item.is-active .sub-count {
  color: #e63946;
}

/* =========================
   RECENT ITEMS WIDGET – CLEAN LIST
   ========================= */

.recent-widget .widget-title h5 {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.recent-widget .widget-content {
  padding-top: 5px;
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border: 1px solid #eee;
  background: #fff;
  margin-bottom: 10px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.recent-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  border-color: #e7e7e7;
}

/* thumbnail frame */
.recent-thumb {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
}

.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text */
.recent-info {
  min-width: 0; /* allows ellipsis */
}

.recent-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;

  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #111;
}

.recent-code {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #777;
  letter-spacing: 0.5px;
}

/* =========================
   PRODUCTS PAGE – TOOLBAR + GRID + CARDS
   ========================= */

/* Toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0 22px;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
}

.products-count {
  font-size: 14px;
  color: #444;
  font-weight: 600;
}

.count-highlight {
  color: #e63946;
  font-weight: 800;
}

.products-sort select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  background: #fff;
  min-width: 220px;
}

/* Grid spacing */
.products-grid > [class*="col-"] {
  margin-bottom: 30px;
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid #eee;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

/* Fixed image frame */
.product-media {
  position: relative;
  overflow: hidden;
  height: 280px;           /* consistent size */
  background: #f5f5f5;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay CTA */
.product-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}

.product-overlay .btn {
  height: auto !important;
  line-height: 1.2 !important;
  padding: 12px 18px !important;
  white-space: nowrap;
}

/* Info */
.product-info {
  padding: 16px 14px 18px;
  text-align: center;
}

.product-code a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  text-decoration: none;
}

.product-title {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.35;
}

.product-title a {
  color: #111;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 2;   /* keep it uniform */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: #e63946;
}

/* Pagination */
.pagination-clean {
  margin-top: 10px;
}

.pagination-clean > li > a,
.pagination-clean > li > span {
  border: 1px solid #eee;
  color: #333;
  padding: 10px 14px;
}

.pagination-clean > .active > a,
.pagination-clean > .active > span,
.pagination-clean > .active > a:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* Mobile toolbar stack */
@media (max-width: 767px) {
  .products-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-sort select {
    width: 100%;
    min-width: 0;
  }

  .product-media {
    height: 240px;
  }
}


/* =========================
   HOME CATEGORY BANNERS – PREMIUM CARDS
   ========================= */

.category-banners > [class*="col-"] {
  margin-bottom: 22px;
}

.category-card {
  display: block;
  text-decoration: none;
}

.category-media {
  position: relative;
  overflow: hidden;
  height: 260px;                /* same height for all */
  border: 1px solid #eee;
  background: #111;
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .45s ease;
}

/* Dark overlay */
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.20) 100%);
  transition: opacity .25s ease;
}

/* Text */
.category-content {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #fff;
  max-width: 80%;
}

.category-dot {
  width: 10px;
  height: 10px;
  background: #e63946;
  display: inline-block;
  margin-bottom: 14px;
}

.category-content h3 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.category-content p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Hover */
.category-card:hover .category-media {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.category-card:hover .category-media img {
  transform: scale(1.08);
}

.category-card:hover .category-overlay {
  opacity: 0.92;
}

/* Mobile */
@media (max-width: 767px) {
  .category-media {
    height: 220px;
  }

  .category-content h3 {
    font-size: 24px;
  }
}

/* FIX: Home category banners text not visible (override theme styles) */
.category-media { position: relative; }

.category-overlay {
  z-index: 1;
}

.category-content {
  position: absolute;
  z-index: 2;              /* keep text above overlay */
  color: #fff !important;  /* override theme */
}

.category-content h3,
.category-content p {
  color: #fff !important;  /* force visible text */
  opacity: 1 !important;   /* override any opacity */
  text-shadow: 0 2px 10px rgba(0,0,0,0.55); /* readable on any image */
}

/* Make all 4 boxes equal and bigger */
.panel-info {
    min-height: 140px;     /* increase box height */
    padding: 20px;         /* inner space */
    display: flex;
    align-items: center;   /* vertical center */
}

/* spacing between icon & text */
.panel-info .info-icon {
    margin-right: 15px;
}

.payment-methods ul li{
    width: 70px;        /* same width for all */
    height: 40px;       /* same height for all */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.payment-methods ul li img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* keep ratio */
}
