@charset "utf-8";
/* CSS Document */

:root {
  --pink: #ff2f8f;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --radius: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.topbar {
  border-bottom: 1px solid #eee;
  padding: 14px 24px;
}

.topbar-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
}


/* ===== LAYOUT HELPERS (Bootstrap-like) ===== */
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -12px;
}

.col-lg-4,
.col-md-6,
.col-lg-12 {
  padding: 12px;
}

.col-lg-12 {
  width: 100%;
}

.col-lg-4 {
  width: 33.333%;
}

.col-md-6 {
  width: 50%;
}

/* Responsive columns */
@media (max-width: 900px) {
  .col-lg-4 {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .col-lg-4,
  .col-md-6 {
    width: 100%;
  }
}

/* ===== PRODUCT LIST AREA ===== */
.cat_product_area {
  padding: 40px 0;
}

.latest_product_inner {
  margin-top: 20px;
}

/* ===== PRODUCT CARD ===== */
.single-product {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.single-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.product-img {
  width: 100%;
  overflow: hidden;
}

.product-img img.cat_img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.product-btm {
  padding: 14px;
}

.product-btm h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.product-btm .mt-3 {
  font-size: 14px;
  color: #374151;
}

.product-btm .mr-4 {
  font-weight: 700;
  color: var(--pink);
}

/* ===== PRODUCT TOP BAR ===== */
.product_top_bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.left_dorp select {
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* ===== PAGINATION ===== */
.paiging,
.paiging_red {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
}

.paiging a {
  color: #111;
  display: block;
}

.paiging a:hover {
  background: #f1f5f9;
}

.paiging_red {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

/* Pagination table fix */
table {
  margin-top: 30px;
}

/* ===== UTILITY ===== */
.flex-row-reverse {
  flex-direction: row-reverse;
}

.d-block {
  display: block;
}

.mt-3 {
  margin-top: 12px;
}

.mr-4 {
  margin-right: 8px;
}



.logo {
  display: flex;
  align-items: center;
  max-width: 100%;
}

.logo img {
  max-width: 100%;
  height: auto;
  max-height: 40px;
  display: block;
}

/* SEARCH */
.search-wrap {
  position: relative;
}

.search-wrap input {
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  border: 2px solid var(--pink);
  padding: 0 18px 0 44px;
  font-size: 14px;
  outline: none;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--gray);
}

/* ACTIONS */
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  background: #fff;
}

.pill.pink {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* MENU */
.menu {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

.menu-item {
  position: relative;
  width: auto;
}

.menu-item button {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #f1f5f9;
}

.menu-item button.blue {
  background: #e0e7ff;
  color: #1e3a8a;
}

.menu-item button.pink {
  background: #ffe4f1;
  color: #9d174d;
}

.menu-item button.green {
  background: #dcfce7;
  color: #166534;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
  z-index: 50;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #111;
}

.dropdown a:hover {
  background: #f8fafc;
}

.menu-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CATEGORY SECTION */
.categories {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden; /* VERY IMPORTANT */
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);

}

.category-card img {
  width: 100%;
  object-fit: cover;
  display: block;
   aspect-ratio: 1 / .8;  /* keeps height equal to width */

}
 
.category-card span {
  display: block;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Banner Slideshow */
.banner-slideshow {
  position: relative;
  max-width: 1280px;
  height: 400px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  z-index: 10;
}

.dots-container {
  position: relative;
  text-align: center;
  margin-top: 10px;
  z-index: 11;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background-color: #717171;
}

/* Fade Animation */
.fade {
  animation: fade 1s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  margin: 10px 24px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #111;
  border-radius: 2px;
}


 

/* Responsive */
@media (max-width: 900px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .logo,
  .search-wrap {
    grid-column: 1 / -1;
    text-align: center;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .actions .pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-item {
    width: 100%;
  }

  .menu-item button {
    width: 100%;
    text-align: left;
  }

  .dropdown {
    position: relative;
    top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    display: none;
  }

  .menu-item.active .dropdown {
    display: block;
  }

  .logo img {
    max-height: 65px;
  }
}

.footer-section {
  background: var(--dark);
  color: var(--light);
  padding: 40px 24px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-brand .footer-logo {
  max-height: 50px;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex: 2 1 500px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-column a {
  display: block;
  color: var(--light);
  margin-bottom: 6px;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--pink);
}
.page_title{
	-webkit-box-shadow: 0 0 2px 2px #9C9C9C;
	box-shadow: 0 0 2px 2px #9C9C9C;
	padding:7px;
	}
	
	
.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}


:root {
  --pink: #ff2f8f;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --radius: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.topbar {
  border-bottom: 1px solid #eee;
  padding: 14px 24px;
}

.topbar-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  max-width: 100%;
}

.logo img {
  max-width: 100%;
  height: auto;
  max-height: 40px;
  display: block;
}

/* SEARCH */
.search-wrap {
  position: relative;
}

.search-wrap input {
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  border: 2px solid var(--pink);
  padding: 0 18px 0 44px;
  font-size: 14px;
  outline: none;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--gray);
}

/* ACTIONS */
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  background: #fff;
}

.pill.pink {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* MENU */
.menu {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

.menu-item {
  position: relative;
  width: auto;
}

.menu-item button {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #f1f5f9;
}

.menu-item button.blue {
  background: #e0e7ff;
  color: #1e3a8a;
}

.menu-item button.pink {
  background: #ffe4f1;
  color: #9d174d;
}

.menu-item button.green {
  background: #dcfce7;
  color: #166534;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
  z-index: 50;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #111;
}

.dropdown a:hover {
  background: #f8fafc;
}

.menu-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CATEGORY SECTION */
.categories {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden; /* VERY IMPORTANT */
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);

}

.category-card img {
  width: 100%;
  object-fit: cover;
  display: block;
   aspect-ratio: 1 / .8;  /* keeps height equal to width */

}
 
.category-card span {
  display: block;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Banner Slideshow */
.banner-slideshow {
  position: relative;
  max-width: 1280px;
  height: 400px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  z-index: 10;
}

.dots-container {
  position: relative;
  text-align: center;
  margin-top: 10px;
  z-index: 11;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background-color: #717171;
}

/* Fade Animation */
.fade {
  animation: fade 1s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  margin: 10px 24px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #111;
  border-radius: 2px;
}


 

/* Responsive */
@media (max-width: 900px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .logo,
  .search-wrap {
    grid-column: 1 / -1;
    text-align: center;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .actions .pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-item {
    width: 100%;
  }

  .menu-item button {
    width: 100%;
    text-align: left;
  }

  .dropdown {
    position: relative;
    top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    display: none;
  }

  .menu-item.active .dropdown {
    display: block;
  }

  .logo img {
    max-height: 65px;
  }
}

.footer-section {
  background: var(--dark);
  color: var(--light);
  padding: 40px 24px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-brand .footer-logo {
  max-height: 50px;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex: 2 1 500px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-column a {
  display: block;
  color: var(--light);
  margin-bottom: 6px;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--pink);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
    


/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

/* ===== 4 PRODUCTS PER ROW (LARGE SCREENS) ===== */
@media (min-width: 1200px) {
  .col-lg-4 {
    width: 25%; /* 4 items per row */
  }
}

/* Medium screens: 2 per row */
@media (max-width: 1199px) and (min-width: 768px) {
  .col-lg-4 {
    width: 50%;
  }
}

/* Small screens: 1 per row */
@media (max-width: 767px) {
  .col-lg-4,
  .col-md-6 {
    width: 100%;
  }
}


/* ===== PRODUCT DETAILS PAGE ===== */
.s_product_inner {
  margin: 40px 0;
  align-items: flex-start;
}

/* LEFT IMAGE AREA */
.s_product_img {
  background: #f8fafc;
  border-radius: 14px;
  padding: 20px;
}

.carousel {
  position: relative;
}

.carousel-inner {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

/* Thumbnails */
.carousel-indicators {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.carousel-indicators li {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
}

.carousel-indicators li.active {
  border-color: var(--pink);
}

.carousel-indicators img {
  height: 70px;
  width: auto;
  display: block;
}

/* RIGHT PRODUCT INFO */
.s_product_text {
  padding: 10px 0;
}

.s_product_text h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.s_product_text h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 18px;
}

/* Product meta list */
.s_product_text .list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.s_product_text .list li {
  font-size: 14px;
  margin-bottom: 6px;
}

.s_product_text .list span {
  font-weight: 700;
  color: #374151;
}

/* Quantity + Cart */
.product_count {
  margin-top: 20px;
}

.product_count table {
  margin: 0;
}

.input-text.qty {
  width: 70px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 15px;
  outline: none;
}

.input-text.qty:focus {
  border-color: var(--pink);
}

/* Order button image fix */
input[type="image"] {
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .carousel-item img {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .s_product_inner {
    margin-top: 20px;
  }

  .s_product_text h3 {
    font-size: 22px;
  }

  .s_product_text h2 {
    font-size: 20px;
  }

  .carousel-item img {
    height: 260px;
  }
}
/* ===== LARGE PRODUCT IMAGE ===== */
.carousel-item img {
  width: 620px;          /* ⬅ increase size */
  height: 100%;
  object-fit: contain;    /* keeps full image visible */
  background: #fff;
}
@media (max-width: 992px) {
  .carousel-item img {
    width: 520px;
  }
}

@media (max-width: 600px) {
  .carousel-item img {
	  width: 400px;
  }
}


/* ===== PRODUCT DETAILS LAYOUT FIX ===== */
.s_product_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Left image */
.s_product_inner .col-lg-6 {
  width: 50%;
}

/* Right description */
.s_product_inner .col-lg-5 {
  width: 45%;
}

/* Offset replacement (Bootstrap alternative) */
.offset-lg-1 {
  margin-left: 5%;
}

/* Mobile stack */
@media (max-width: 991px) {
  .s_product_inner {
    flex-direction: column;
  }

  .s_product_inner .col-lg-6,
  .s_product_inner .col-lg-5 {
    width: 100%;
  }

  .offset-lg-1 {
    margin-left: 0;
  }
}
