@import url('https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=Bayon&family=Bokor&family=Fasthand&family=Germania+One&family=Moul&family=Siemreap&display=swap');

:root {
    --primary: #c40505;
    --soft: #fff4f4;
    --text: #1c1c1c;
    --bg: #C7C7C7;
    --card: #ffffff;
    --shadow: 0 8px 24px rgba(0, 0, 0, .08);
    --radius: 22px
}

/* .bg-white {
    background-color: #e89b9b !important;
} */
.fonts-brand {
font-family: "Germania One", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
    margin: 0;
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    font-family: "Siemreap", sans-serif;
    font-weight: 400;
    font-style: normal;
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none
}

.app-shell {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    box-shadow: 0 0 35px rgba(0, 0, 0, .08);
    position: relative
}

.topbar {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
    z-index: 1030
}

.brand {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px
}

.search-box {
    background: #f5f5f5;
    border-radius: 999px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 10px
}

.maintenance-box {
      max-width: 600px;
      padding: 40px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      text-align: center;
      justify-content: center;
      align-items: center;
      margin: auto;
    }

.search-box i {
    color: #a0a0a0
}

.search-box input {
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: .95rem
}

.icon-btn,
.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    color: var(--primary);
    font-size: 1.1rem
}

.menu-tabs {
    gap: 6px
}

.menu-link {
    flex: 1;
    color: #444;
    font-size: .92rem;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent
}

.menu-link.active {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 700
}

.banner-img {
    height: 220px;
    object-fit: cover
}

.category-scroll::-webkit-scrollbar,
.filter-row::-webkit-scrollbar {
    display: none
}

.category-pill {
    min-width: 182px;
    background: #C7C7C7;
    justify-content: center;
    text-align: center;
    align-items: center;
    /* border-radius: 18px; */
    /* box-shadow: var(--shadow); */
    box-shadow: rgba(191, 62, 62, 0.25) 0px 54px 55px, rgba(206, 51, 51, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(215, 71, 71, 0.09) 0px -3px 5px;
    padding: 12px;
    color: #333;
    transform: skewX(-20deg);
    border: 1px solid #C7C7C7;
    /* border: 1px solid var(--primary); */
    position: relative;
}

.offcanvas-bottom {
    background: #C7C7C7;
}
.language-option {
    background: #C7C7C7 !important;
    border: none !important;
}

.icon-box {
  width: 45px;
  height: 45px;
  border: 2px solid #b90404;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transform: skewX(20deg);
  justify-content: center;
  text-align: center;
  padding-left: 10px;
  background: #b90404;
}

.category-pill::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: #b90404;
}

.category-pill .cat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 8px
}

.category-pill span {
  display: block;
  transform: skewX(20deg); /* fix text */
  font-weight: bold;
}

/* customer banner home page  */

.custom-banner {
    position: relative;
}

.carousel-item {
   transition: transform 1s ease-in-out
}

.carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15), rgba(0,0,0,0.03));
    border-radius: 18px;
    pointer-events: none;
}
 .banner-img {
    object-fit: cover;
    border-radius: 18px;
    transform: scale(1);
    transition: transform 6s ease, opacity 1.2s ease;
}
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.carousel-fade .carousel-item.active {
opacity: 1;
}

.carousel-item.active .banner-img {
transform: scale(1.08);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    opacity: 0.6;
    margin: 0 4px;
    transition: all 0.3s ease;
}

  .carousel-indicators .active {
    opacity: 1;
    width: 24px;
    border-radius: 20px;
  }

  @media (max-width: 768px) {
    .banner-img {
      height: 200px;
    }
  }

/* end banner home page  */

.section-head h5 {
    font-size: 1.05rem
}

.see-all {
    color: var(--primary);
    font-weight: 700
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
    height: 100%
}

.product-thumb {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
    height: 170px
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-title {
    font-size: .92rem;
    font-weight: 800;
    color: #333;
    margin: 10px 0 8px;
    text-transform: uppercase
}

.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px
}

.option-chip {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid #e3bcbc;
    color: #7b5353;
    background: #fff7f7;
    font-size: .73rem;
    font-weight: 700
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.price-now {
    font-weight: 800;
    color: #111
}

.price-old {
    color: #adadad;
    text-decoration: line-through;
    font-size: .85rem
}

.filter-select,
.form-input {
    border-radius: 14px;
    min-width: 140px;
    border: 1px solid #ececec;
    box-shadow: none !important;
    padding: 11px 14px
}

.details-card {
    background: #fff;
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.btn-main {
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 0
}

.btn-main:hover {
    background: #bb1818;
    color: #fff
}

.detail-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    background: #f4f4f4
}

.color-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd
}

.bottom-nav {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom))
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: .78rem
}

.bottom-nav a.active,
.bottom-nav a i {
    color: var(--primary)
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 0
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff
}

.btn-telegram {
    background: #229ED9;
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 0
}

.btn-telegram:hover {
    background: #168cc4;
    color: #fff
}

.btn-facebook {
    background: #1877F2;
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 0
}

.btn-facebook:hover {
    background: #0f63c7;
    color: #fff;
}


.language-offcanvas {
    height: auto !important;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    margin-bottom: 12px;
    cursor: pointer
}

.language-option .flag {
    font-size: 1.6rem;
    line-height: 1
}

.language-check {
    width: 2.8rem;
    height: 1.4rem;
    cursor: pointer
}

.contact-page-shell {
    background: #f4f4f4
}

.contact-hero-card {
    border-radius: 28px;
    overflow: hidden
}

.contact-hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 28px
}

.branch-card {
    background: #fff;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06)
}

.branch-thumb {
    width: 100%;
    height: 115px;
    object-fit: cover;
    border-radius: 18px
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px
}

.branch-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: #333
}

.branch-line a {
    color: #3d7cc9;
    text-decoration: underline
}

.branch-icon {
    width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem
}

.branch-icon-red {
    color: #e32035
}

.branch-icon-blue {
    color: #1b9df0
}

.branch-icon-map {
    color: #27ae60
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.flage-image {
    width: 100%;
    height: 100%;
}

.btn-close{
  border: none;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  line-height: 35px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

@media (min-width:768px) {
    .app-shell {
        max-width: 860px
    }

    .brand {
        font-size:  18px !important;
    }

    .banner-img {
        height: 300px
    }

    .product-thumb {
        height: 230px
    }

    .detail-image {
        height: 420px
    }

    .branch-thumb {
        height: 160px
    }

    .bottom-nav a {
        font-size: .86rem
    }
}

.brand {
    font-size: 25px;
}

@media (min-width:992px) {
    .app-shell {
        max-width: 1100px
    }

    .banner-img {
        height: 360px
    }

    .product-thumb {
        height: 260px
    }

    .contact-hero-img {
        height: 360px
    }
}

/* product details */
.product-gallery {
  position: relative;
}

.detail-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.custom-arrow {
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  padding: 18px;
  background-size: 60%;
}

.product-thumbs {
  align-items: center;
}

.thumb-btn {
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: #dc3545;
}

.thumb-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .detail-image {
    height: 300px;
  }

  .thumb-img {
    width: 60px;
    height: 60px;
  }
}

/*  new products */

.new-product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.new-products-section {
  position: relative;
}

.new-product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.new-product-card:hover {
  transform: translateY(-4px);
}

.new-product-img-wrap {
  background: #f8f8f8;
  border-radius: 22px;
  overflow: hidden;
  padding: 8px;
  margin-bottom: 14px;
}

.new-product-img {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.new-product-body {
  padding: 2px 4px 6px;
}

.new-product-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  line-height: 1.3;
}

.new-product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #e6bcbc;
  color: #7d5a5a;
  font-size: 10px;
  font-weight: 700;
  background: #fff;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price-now {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.price-old {
  font-size: 16px;
  color: #aaa;
  text-decoration: line-through;
}

.new-products-control {
  width: 46px;
  height: 46px;
  top: 42%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.new-products-control.carousel-control-prev {
  left: -10px;
}
.new-products-control.carousel-control-next {
  right: -10px;
}

.new-products-control .carousel-control-prev-icon,
.new-products-control .carousel-control-next-icon {
  filter: invert(1);
  background-size: 60%;
}

/* @media (max-width: 991px) {
  .new-product-img {
    height: 220px;
  }
} */


/* @media (max-width: 768px) {
  .detail-image {
    height: 300px;
  }

  .thumb-img {
    width: 60px;
    height: 60px;
  }

  .new-product-img {
    height: 180px;
  }

  .new-product-title {
    font-size: 15px;
  }

  .size-chip {
    font-size: 13px;
    padding: 6px 10px;
    min-width: auto;
  }

  .new-products-control {
    display: none;
  }
} */

.modal-handle{
  width: 60px;
  height: 7px;
  background: #9e9e9e;
  border-radius: 999px;
  margin: 0 auto 20px;
}

.dash {
  width: 60%;
  height: 3px;
  background: #9e9e9e;
  border-radius: 999px;
  margin: 0 auto 20px;
}

.btn-close-custom{
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  font-size: 20px;
  color: #777 !important;
  cursor: pointer;
}