/* MerryLand Petshop - Bootstrap Header + Hero */
/* ---------- Fonts ---------- */
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb.woff2') format('woff2'),
       url('../fonts/IRANSansWeb.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb.woff2') format('woff2'),
       url('../fonts/IRANSansWeb.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --brand-orange:#13b8b4;
  --nav-radius:48px;
  --nav-shadow:0 6px 24px rgba(0,0,0,.06);
  --surface:#ffffff;
  --bg:#eeeeee;
  --bs-link-color:#13b8b4;
  --bs-pagination-active-bg:#13b8b4 !important;
}
.pagination{
  --bs-pagination-active-bg: #13b8b4;
  --bs-pagination-active-border-color: #13b8b4;
  --bs-pagination-active-color: #fff;
  --bs-pagination-hover-bg: #13b8b4;
  --bs-pagination-focus-bg: #13b8b4;
  --bs-pagination-hover-color: white;
  --bs-pagination-focus-color: white;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    --bs-nav-pills-link-active-bg: #13b8b4;
}
html, body { height: 100%; }
body{
  font-family: 'IRANSans', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  background: #0da8a2;
  color:#111;
  direction:rtl;
}
input {
    direction: rtl;
}
/* ---------- Navbar (floating on hero) ---------- */
.header-wrap{
  position: absolute;           /* float above the hero */
  top: 0; left: 0; right: 0;
  padding: 18px 0;
  z-index: 1000;
}
.navbar-custom{
  background: var(--surface);
  border-radius: var(--nav-radius);
  box-shadow: var(--nav-shadow);
  padding: 10px 40px;
}
.navbar-brand{
  font-weight: 700;
  display:flex; align-items:center; gap:.5rem;
}
.brand-logo{ height: 60px; width:auto; }
.navbar-nav .nav-link{
  font-weight: 600;
  color:#111;
  padding: 0 .25rem; 
  border-bottom:2px solid transparent;
  margin: 0px 6px;
  font-size: 15px;
}
.navbar-nav .nav-link:hover{
  border-bottom: 2px solid transparent;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus{
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
}

/* ---------- Search ---------- */
.search-box{
  background:#f7f7f7;
  border-radius: 999px;
  padding: 6px 14px;
  width: min(42vw, 400px);
}

@media (max-width: 1200px){
    .search-box{
      background:#f7f7f7;
      border-radius: 999px;
      padding: 6px 14px;
      width: min(22vw, 400px);
    }
}
.search-box input{
  border:0;
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
}
.search-box .search-btn{
  background:#000; border:0; border-radius:999px;
  width:42px; height:42px; display:flex; align-items:center; justify-content:center;
}
.search-box .search-btn img{ width:32px; height:32px; }

/* ---------- Icons ---------- */
.icon-img{ width:23px; height:23px; margin: 0px 3px; }
.icon-btn{ position:relative; display:inline-flex; align-items:center; justify-content:center; color:#111; }
.icon-badge {
  position: absolute;
  top: -10px;
  inset-inline-start: -13px;
  min-width: 22px;
  height: 24px;
  padding: 0px 6px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
}

/* ---------- Hero / Slider (full background) ---------- */
.hero{
  /* full viewport, sits under the floating header */
  height: 100vh;
  max-height: 790px !important;
  background-color: #0da8a2; /* fallback */
  background-image: url('../images/hero-pets.png');
  background-repeat: no-repeat;
  background-position: right bottom;  /* artwork on the left */
  background-size: contain;          /* keep illustration crisp on desktop */
  display:flex; align-items:center;
  padding: clamp(24px, 5vw, 56px) 0;
  max-width: 1620px;
  margin: 0px auto;
}
.hero .hero-title{
  font-weight: 800;
  font-size: clamp(23px, 2.2vw + 12px, 45px);
  line-height: 1.25;
  margin-bottom: .5rem;
}
.hero .hero-sub{
  font-size: clamp(16px, 1.2vw + 10px, 23px);
  margin-bottom: 1.5rem;
}
.hero .btn-cta{
  background:#111; color:#fff;
  border-radius: 14px;
  padding: .85rem 1.5rem;
  font-weight:700;
}
.hero .btn-cta:hover{ opacity:.9; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px){
  .search-box{ display:none; }
  .navbar-custom{ padding: 8px 14px; }
  .icon-btn{ margin-inline-start: 10px; }

  .hero{
    background-position: center top;
    background-size: cover;    /* slider feel on mobile */
    padding-top: 22vh;         /* push text below main art on tall phones */
    padding-bottom: 10vh;
  }
}
/* ===== Section 2: Category Cards ===== */
.section-cats{
  padding: 40px 0 10px;
  margin: 0 auto;
  background: white;
}

.section-cats .view-all{
  color: var(--brand-orange);
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.section-cats .view-all .arrow{
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.cat-card{
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

/* ---------- Checkout: Carrier selection UI ---------- */
.checkout-page .carrier-choice {
  --carrier-border: #e6e6e6;
  --carrier-hover: #f7f8fa;
  --carrier-text: #1b1f24;
  --carrier-subtext: #6f7681;
}

.checkout-page .carrier-choice__list {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .checkout-page .carrier-choice__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkout-page .carrier-choice__list > .alert {
  grid-column: 1 / -1;
}

.checkout-page .carrier-choice__item {
  position: relative;
}

.checkout-page .carrier-choice__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-page .carrier-choice__label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--carrier-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease, background-color .2s ease;
  min-height: 76px;
}

.checkout-page .carrier-choice__label:hover {
  border-color: #d0d7de;
  background: var(--carrier-hover);
  box-shadow: 0 10px 26px rgba(31, 45, 61, 0.08);
  transform: translateY(-1px);
}

.checkout-page .carrier-choice__input:checked + .carrier-choice__label {
  border-color: var(--brand-orange);
  box-shadow: 0 14px 30px rgba(31, 45, 61, 0.12);
  background: #fff;
}

.checkout-page .carrier-choice__input:focus + .carrier-choice__label {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.checkout-page .carrier-choice__media {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f1f3f6;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  overflow: hidden;
}

.checkout-page .carrier-choice__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.checkout-page .carrier-choice__icon {
  width: 28px;
  height: 28px;
  fill: #7b8492;
}

.checkout-page .carrier-choice__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.checkout-page .carrier-choice__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--carrier-text);
}

.checkout-page .carrier-choice__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--carrier-subtext);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.checkout-page .carrier-choice__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--carrier-subtext);
}

.checkout-page .carrier-choice__meta-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 14px;
}

.checkout-page .carrier-choice__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c4c9d1;
  background: #fff;
  position: relative;
  flex: 0 0 20px;
  margin-inline-start: auto;
}

.checkout-page .carrier-choice__check::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 10px;
  border: 2px solid transparent;
  border-top: 0;
  border-left: 0;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
}

.checkout-page .carrier-choice__input:checked + .carrier-choice__label .carrier-choice__check {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
}

.checkout-page .carrier-choice__input:checked + .carrier-choice__label .carrier-choice__check::after {
  border-color: #fff;
}

@media (max-width: 576px) {
  .checkout-page .carrier-choice__label {
    padding: 12px;
    min-height: 70px;
  }

  .checkout-page .carrier-choice__title {
    font-size: 14px;
  }
}

/* big cover */
.cat-cover{
  height: 260px;
  background-position: center;
  background-size: cover;
}

/* bottom info bar */
.cat-info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #f6f6f6;
}

.cat-title{
  margin: 0;
  font-weight: 900;
  font-size: 22px;
  color: black;
}
.cat-count{
  margin: 6px 0 0;
  color: #999;
  font-weight: 600;
  font-size: 16px;
}

/* tiny left arrow in white circle */
.go-btn{
  width: 40px; height: 40px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.go-btn::before{
  content: "←";
  color: var(--brand-orange);
  font-size: 20px;
  line-height: 1;
}

/* responsive tweaks */
@media (max-width: 1399.98px){
  .cat-cover{ height: 230px; }
}
@media (max-width: 991.98px){
  .cat-cover{ height: 200px; }
  .cat-title{ font-size: 20px; }
}
@media (max-width: 575.98px){
  .cat-cover{ height: 180px; }
  .cat-info{ padding: 14px 16px; }
}
/* ===== Section 3: Product Cards ===== */
.section-products{
  padding: 36px 0 20px;
  margin: 0 auto;
  background: white;
}

/* grid spacing */
.section-products .row{ row-gap: 28px; }

/* card shell */
.product-card{
  background:#f6f6f6;
  border: 2px solid #e6e6e6;
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0,0,0,.1);
}

/* media area */
.product-media{
  margin: 18px;
  border: 2px solid #dcdcdc;
  border-radius: 18px;
  height: 300px;                 /* adjust if needed */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* content */
.product-body{
    padding: 16px 24px 32px;
  position: relative;
}
/* content */
.pcard .product-body{
    padding: 16px 24px 32px !important;
    margin-top: 16px;
  position: relative;
}
.product-title{
  text-align: right;
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 6px;
}
.product-price{
  text-align: right;              /* RTL: visual left like the design */
  color: #777;
  font-weight: 800;
  font-size: 16px;
  margin: 0;
}

/* left action buttons (wishlist/cart) */
.product-actions{
  position: absolute;
  inset-inline-end: 14px;      /* RTL-aware left */
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pbtn{
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #f3f3f3;
  border: 1px solid #e6e6e6;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.06) inset;
  transition: background .15s ease, transform .08s ease;
}
.pbtn:hover{ background:#eee; transform: translateY(-1px); }
.pbtn img{ width: 22px !important; height: 22px; }

/* optional: orange tint on cart icon wrapper */
.pbtn-cart{ background:#fff7ef; border-color:#ffe1c6; }

/* responsive */
@media (max-width: 1399.98px){
  .product-media{ height: 270px; }
}
@media (max-width: 991.98px){
  .product-media{ height: 240px; }
}
@media (max-width: 575.98px){
  .product-media{ height: 210px; }
  .product-title{ font-size: 18px; }
}
/* ===== Section 4: Promo Banner ===== */
.promo{
  background:#13b8b4;                 /* full strip color */
  min-height: 35vh;                /* shorter than hero; tweak as needed */
  display:flex; align-items:center;
}
.promo-inner{
  /* keep artwork bounded like hero max-width */
  max-width: 1620px;
  margin: 0 auto;
  width: 100%;
  min-height: inherit;

  /* artwork on left */
  background-image: url('../images/promo-dog-cat.png'); /* <-- put your file here */
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  display: flex; align-items: center;
  padding: clamp(24px, 5vw, 56px) 0;
}
.promo .promo-title{
  color:#000;
  font-weight: 900;
  font-size: clamp(22px, 2.4vw + 10px, 44px);
  margin: 0 0 .75rem;
}
.promo .promo-sub{
  color:#000;
  font-size: clamp(14px, 1vw + 8px, 22px);
  margin: 0 0 1.25rem;
}
.btn-ghost-light{
  background: #000;
  color:#fff;
  border: 2px solid #000;
  border-radius: 14px;
  padding: .8rem 1.4rem;
  font-weight: 800;
}
.btn-ghost-light:hover{ background:#111; color:#fff; }

/* responsive like hero */
@media (max-width: 991.98px){
  .promo-inner{
    background-position: center top;
    background-size: cover;
    padding-top: 24vh;
    padding-bottom: 10vh;
  }
}
/* ===== Section 5: Brand Logos ===== */
.section-brands{
  padding: 36px 0 18px;
  background: white;
  margin: 0 auto;
}
.brand-item{
  text-align: center;
}
.brand-logo-fig{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-logo-fig img{
  height: 65px; width: auto; object-fit: contain;
  filter: none; /* keep color (orange) */
}
.brand-name{
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 14px;
}

/* ===== Section 6: Product Grid with black footer bar ===== */
.section-products-v2{
  padding: 24px 0 8px;
  background: white;
  margin: 0 auto;
}
.section-products-v2 .row{ row-gap: 28px; }
.section-products-v2 .product-body {
    margin-top: 16px;
}
.pcard{
  background:#fff;
  border-radius: 16px;
  border: 2px solid #d9d9d9;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pcard:hover{ transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,0,0,.1); }

.pmedia{
  background:#f7f7f7;
  margin: 0;
  border-radius: 12px;
  border: 2px solid #dcdcdc;
  height: 260px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.pbody{
  padding: 8px 16px 74px; /* space above footer */
}
.ptitle{
  text-align: center;
  font-weight: 900;
  font-size: 18px;
  margin: 6px 0 0;
}
.pprice{
  text-align: left;
  color:#666;
  font-weight: 800;
  margin: 6px 0 0;
}

/* black footer bar */
.pfooter{
  position: absolute;
  left:0; right:0; bottom:0;
  background:#111;
  height: 58px;
  display:flex; align-items:center; justify-content:flex-start;
  padding-inline: 10px 14px;
}
.pheart{
  width: 28px; height: 28px;
  border-radius: 999px;
  background:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  margin-inline-start: 8px;
}
.pheart::before{
  content:"❤";
  color: var(--brand-orange);
  font-size: 16px;
  line-height: 1;
}

/* ===== Section 7: Animal Chips ===== */
.section-pets{
  padding: 32px 0 48px;
  background: white;
  margin: 0 auto;
}
.pet-chip{
  display:flex; align-items:center; justify-content:center;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: #f2f2f2;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
.pet-chip::before{
  /* subtle organic blob overlay (optional) */
  content:""; position:absolute; inset: 10% 12%;
  border-radius: 48% 52% 50% 50% / 58% 42% 58% 42%;
  background:#fff;
  opacity:.65;
}
.pet-chip img{
  position: relative;
  width: 85%; height: auto; object-fit: contain;
}

/* responsive heights */
@media (max-width: 1399.98px){ .pmedia{ height: 230px; } .pet-chip{ width:140px; height:140px; } }
@media (max-width: 991.98px){ .pmedia{ height: 210px; } .pet-chip{ width:120px; height:120px; } }
@media (max-width: 575.98px){ .pmedia{ height: 190px; } .pet-chip{ width:100px; height:100px; } }
.section-dual{
  padding:40px 0;
  background: white; /* keep global bg (#eeeeee) outside */
}

.section-dual .dual-wrapper{
  background:#fff;
  border-radius:20px;
  margin:0 auto;
  padding:20px;
}

.dual-banner{
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 100%;
  display:block;
}
.dual-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
/* ===== Section 9: Last Section Cards ===== */
.section-last{
  padding: 40px 0;
  background: white;
  margin: 0 auto;
}

.last-card{
  border-radius: 20px;
  overflow: hidden;
  background:#000; /* ensures black bottom shows */
  display:flex;
  flex-direction:column;
  height:100%;
}

.last-card .card-img{
  flex:1;
  background:#ddd;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  border-top-left-radius:20px;
  border-top-right-radius:20px;
  min-height:300px; /* adjust to match design */
}

.last-card .card-footer{
  background:#fff;
  color:#000;
  min-height:60px;              /* let content decide height */
  display:flex;
  flex-direction:column;         /* stack date above text */
  align-items:flex-start;        /* align right in RTL */
  justify-content:flex-start;    /* top align */
  padding: 15px;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-bottom-left-radius:20px;
  border-bottom-right-radius:20px;
}

.last-card .date{
  color:#888;
  font-size: 12px;
  margin-bottom: 6px;            /* spacing under date */
}

/* ===== Footer (4 columns, light) ===== */
.site-footer{
  background:#f6f6f6;
  color:#111;
  font-size:14px;
  position:relative;
  border-top:1px solid #ccc;
  padding:60px 0 30px;
  overflow:hidden;
}

/* paw prints bg */
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('../images/bg-paws.png') repeat center;
  opacity:0.05;
  z-index:0;
}

/* ensure content above paw bg */
.site-footer .container-xxl{
  position:relative;
  z-index:1;
}

/* columns */
.site-footer h5{
  font-weight:700;
  margin-bottom:18px;
  font-size:17px;
}
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer ul li{ margin-bottom:8px; }
.site-footer ul li a{ color:#111; text-decoration:none; }
.site-footer ul li a:hover{ color:var(--brand-orange); }

/* right column (logo + desc) */
.footer-logo{ height:76px; width:auto; margin-bottom:14px; }
.footer-desc{ font-size:13px; line-height:1.6; margin-bottom:18px; }

/* socials */
.footer-socials{
  display:flex; gap:16px; margin-bottom:18px;
}
.footer-socials a{
  font-size:20px; color:#111;
  transition:color .2s ease;
}
.footer-socials a:hover{ color:var(--brand-orange); }

/* badges */
.footer-badges{
  display:flex; gap:14px;
}
.footer-badges img{ height:48px; width:auto; }

/* bottom bar */
.footer-bottom{
  font-size:12px;
  color:#555;
  margin-top:30px;
  border-top:1px solid #ddd;
  padding-top:16px;
  text-align:right;
}
/* ===== Sub Header (page title bar) ===== */
.subheader{
  background:#f6f6f6;
  border-top:1px solid #ddd;
  border-bottom:1px solid #e4e4e4;
  min-height: 270px;            /* taller bar */
  display: flex;
  align-items: center;          /* vertical centering */
  padding-top: 160px;            /* push down a bit in case header floats */
  padding-bottom: 50px;
  position: relative;
  text-align: center;
}
.subheader-title{
  margin:0;
  font-weight:900;
  font-size: clamp(26px, 2.5vw + 12px, 44px);
}
.breadcrumb-rtl{
  margin-top:12px;
  font-size:14px;
  color:#777;
}
.breadcrumb-rtl a{ color:#777; text-decoration:none; }
.breadcrumb-rtl a:hover{ color: var(--brand-orange); }
.breadcrumb-rtl .sep{ margin:0 .35rem; color:#bbb; }
/* ===== Contact page ===== */
.page-wrap {
    background: #f6f6f6;
    padding-top: 30px;
    padding-bottom: 30px;
}
.contact-wrap .card{
  border:2px solid #e6e6e6;
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 26px rgba(0,0,0,.06);
}
.contact-info h3{
  font-weight:900;
  font-size:20px;
  margin-bottom:.75rem;
}
.contact-info p{ margin-bottom:.75rem; line-height:1.9; }
.contact-info a{ color:#111; text-decoration:none; }
.contact-info a:hover{ color:var(--brand-orange); }

/* force LTR for phone numbers */
.contact-info .tel{ direction:ltr; unicode-bidi:bidi-override; display:inline-block; }

/* responsive map */
.map-embed{ position:relative; width:100%; border-radius:20px; overflow:hidden; }
.map-embed::before{ content:""; display:block; padding-top:62%; } /* ~16:10 */
.map-embed iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
/* contact form polish */
.contact-form .form-label{ font-weight:700; }
.btn{ background:#13b8b4; color: white; }
a {
  text-decoration: none;
  color: #13b8b4;
  transition: color 0.3s, transform 0.2s;
}

a:hover {
  color: #0fa19e;
  transform: scale(1.03);
}


.btn:hover{ background:white; color: #13b8b4;border: 1px solid #13b8b4;transition: 0.5s;}
.about-wrap .avatar-wrap  img {
    max-width: 200px;
}
/* CTA card beautify */
.cta-card {
  background: linear-gradient(135deg, #fdfdfd, #f6f6f6);
  border: 2px solid #eee;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  transition: transform .2s ease;
}
.cta-card h4 {
  font-size: 1.5rem;
  line-height: 2.5rem;
  color: #111;
}
.shop-wrap .pmedia{
    margin-bottom: 20px;
    border-bottom:none;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.page-link {
    color: #0da8a2;
}
.single-product-top .btn {
    margin: 0px;
}

    /* ---- Single product tweaks (scoped) ---- */
    .product-wrap .sp-media-row{ display:flex; align-items:stretch; gap:1rem; }
    /* Main image a bit smaller + fixed canvas height */
    .product-wrap .sp-main-figure{ width:100%; height:420px; }
    .product-wrap .sp-main-figure img{
      width:100%; height:100%;
      object-fit:contain; border-radius:12px;
    }
    /* Vertical gallery ON THE RIGHT of the image */
    .product-wrap .sp-thumbs{
      width:88px; height:520px; /* will be synced by JS too */
      overflow:auto; margin:0; padding:0;
    }
    .product-wrap .sp-thumb{ display:block; border-radius:10px; }
    .product-wrap .sp-thumb img{ display:block; width:100%; height:76px; object-fit:cover; }
    .product-wrap .sp-thumb.active{ outline:2px solid var(--brand-orange,#13b8b4); }

    /* Accordion should span full wrapper width */
    .product-wrap .sp-accordion .accordion-button{ font-weight:700; }
    .product-wrap .pcard .pmedia{ padding-top:100%; background-size:cover; background-position:center; border-radius:14px; }
    .product-wrap .pcard .product-body{ padding:.75rem 0 0; text-align:center; }
    
    
    /* ===== Single product media (scoped) ===== */
    .sp-media-row{display:flex; align-items:stretch; gap:1rem;}
    /* main image a bit smaller */
    .sp-main-figure{order:2; width:100%; height:460px; margin:0; border-radius:12px;}
    .sp-main-figure img{width:100%; height:100%; object-fit:contain; border-radius:12px;}

    /* vertical gallery at RIGHT */
    .sp-thumbs{order:1; display:flex; flex-direction:column; gap:8px; width:96px; height:460px; margin:0; padding:0; list-style:none;}
    .sp-thumbs > li{flex:1 1 0; min-height:0; display:flex;}
    /* show max 4 thumbnails */
    .sp-thumbs > li:nth-child(n+6){display:none;}

    .sp-thumb{flex:1 1 auto; width:100%; height:100%; padding:0; border:1px solid #e6e6e6; border-radius:10px; overflow:hidden; background:#fff;}
    .sp-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
    .sp-thumb.active{outline:2px solid var(--brand-orange,#13b8b4);}

    /* mobile: hide vertical strip */
    @media (max-width: 767.98px){
      .sp-thumbs{display:none;}
      .sp-main-figure{height:360px;}
    }
    
    
/* Owl Carousel RTL Fix */
.category-carousel.owl-carousel {
  direction: rtl;
}

.category-carousel .owl-stage-outer {
  direction: ltr;
}

.category-carousel .owl-item {
  direction: rtl;
  padding: 5px;
}

/* Ensure proper card styling */
.cat-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.cat-cover {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cat-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
}

.cat-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.cat-count {
  font-size: 14px;
  color: #666;
}

.go-btn {
  width: 30px;
  height: 30px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Owl Nav Buttons RTL */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-carousel .owl-nav button.owl-prev {
  left: -50px;
}

.owl-carousel .owl-nav button.owl-next {
  right: -50px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: #0da8a2 !important;
  color: #fff !important;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.product-price-old {
  font-size: 14px;
  color: #999;
  margin-right: 10px;
}

.product-discount-badge {
  position: absolute;
  top: 16px;
  left: 65px;
  background: #ff4444;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}
#mainNav {
    padding: 15px;
    line-height: 40px;
}
.navbar-toggler {
    border: none !important;
}
.navbar-toggler:focus {
    border: 1px solid black !important;
    box-shadow: none;
}
.breadcrumb nav a:after {
    content: ' ← ';
}
.link-primary, .text-primary {
    color:#0da8a2 !important;
}

.main-container {
  padding-top: 145px;
}
@media (max-width: 992px) {
  .main-container {
    padding-top: 125px;
  }
}
.pbtn-wish.favorites {
  color: #fff;
  border-color: #dc3545;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}
.pbtn-wish.favorites i {
    color: red;
}
.pbtn-wish i {
  font-size: 27px;
  color: black;
  margin-top: 4px;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: #0da8a2;
}
.btn-primary-cm {
  background-color: #0da8a2;
}
main {
    background: #f6f6f6;
}

@media (max-width: 1399px){
    .owl-carousel .owl-nav button.owl-next {
      right: 10px;
    }
    .owl-carousel .owl-nav button.owl-prev {
      left: 10px;
    }
}
