@import url("https://fonts.googleapis.com/css2?family=Baumans&family=Gayathri:wght@100;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Federo&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

@font-face {
  font-family: "Harrington";
  src: url("../fonts/HARRINGT.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --dark-gray: rgb(39, 39, 39);
  --medium-gray: rgb(64, 64, 64);
  --secondary-gray: #404040;
  --light-blue: #00b0f0;
  --medium-blue: #0066ff;
  --link-color: #0057da;
  --bright-pink: #ff4b87;

  /* Legacy aliases kept for any shared components/error page */
  --os-pink: #f65c81;
  --os-pink-hover: #ec4d72;
  --os-blue: #0066ff;
  --os-text: #000000;
  --os-text-muted: #595959;
  --os-border: #e2e2e2;
  --os-header-h: 82px;
  --os-font-body: "Open Sans", sans-serif;
  --os-font-display: "Open Sans", sans-serif;
}

/* Shared button used on Error page and admin redirects */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: 1rem; font-weight: 600; border: none;
  padding: .65rem 1.5rem; border-radius: 6px;
  text-decoration: none; white-space: nowrap;
  transition: all .25s ease;
}
.btn-primary { background: #f65c81; color: #fff; }
.btn-primary:hover { background: #ec4d72; }

body {
  background-color: var(--primary-white);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}

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

/* ========================================================================
   Homepage Header
   ======================================================================== */
.home-header {
  width: 100%;
  height: 82px;
  background-color: #262626;
  transition: all 0.3s ease-in;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.logo-text-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.logo-text {
  color: #00b0f0;
  font-weight: 400;
  font-size: 2.1rem;
  font-family: "Harrington", "Federo", Georgia, serif;
  margin-top: 20px;
  line-height: 1;
}

.logo-text .pink {
  color: #ff6699;
  font-family: "Harrington", "Federo", Georgia, serif;
}

.logo-text .white {
  color: #d8d8d8;
  font-size: 1.5rem;
  font-family: "Harrington", "Federo", Georgia, serif;
}

.home-header_para {
  margin-top: 0;
  color: #bfbfbf;
  font-size: 13px;
  font-weight: 100;
  text-transform: uppercase;
  text-align: center;
  font-family: "Gayathri", sans-serif;
}

@media only screen and (max-width: 760px) {
  .home-header_para { font-size: 13px; }
}
@media only screen and (max-width: 550px) {
  .home-header_para { font-size: 12px; }
}

/* ========================================================================
   Sub Header (Nav)
   ======================================================================== */
.sub_header {
  margin-top: 82px;
  width: 100%;
  height: auto;
  background-color: #3f3f3f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3%;
  transition: all 0.3s ease-in;
  position: relative;
  z-index: 100;
}

.sub_header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 100%;
  width: 100%;
  flex-wrap: nowrap;
}

.sub_header__visible {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

.sub_header__visible li,
.sub_header__overflow li {
  font-size: 18px;
  font-weight: 400;
  color: #d8d8d8;
  transition: color 0.3s ease-in;
  white-space: nowrap;
}

.sub_header__visible li + li::before,
.sub_header__overflow li + li::before {
  content: "|";
  margin: 0 1rem;
  color: #8a8a8a;
  font-weight: 300;
}

.sub_header__visible li a,
.sub_header__overflow li a {
  color: inherit;
  text-decoration: none;
}

.sub_header__visible li:hover,
.sub_header__visible li a:hover,
.sub_header__overflow li:hover,
.sub_header__overflow li a:hover {
  color: #00b0f0;
}

.sub_header__more {
  position: relative;
  flex-shrink: 0;
}

.sub_header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid #6a6a6a;
  border-radius: 4px;
  background: #4a4a4a;
  color: #d8d8d8;
  cursor: pointer;
  transition: color 0.3s ease-in, border-color 0.3s ease-in, background 0.3s ease-in;
}

.sub_header__toggle:hover {
  color: #00b0f0;
  border-color: #00b0f0;
}

.sub_header__toggle[aria-expanded="true"] {
  color: #00b0f0;
  border-color: #00b0f0;
  background: #353535;
}

.sub_header__toggle-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sub_header__overflow {
  list-style: none;
  display: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  max-width: min(20rem, 90vw);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #4a4a4a;
  border: 1px solid #6a6a6a;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 200;
}

.sub_header__overflow.is-open {
  display: flex;
}

.sub_header__overflow[hidden] {
  display: none !important;
}

.sub_header__overflow li + li::before {
  content: none;
  margin: 0;
}

.sub_header__overflow li {
  padding: 0.5rem 1rem;
  font-size: 16px;
}

.sub_header__source {
  display: none !important;
}

@media only screen and (max-width: 991px) {
  .sub_header__visible li,
  .sub_header__overflow li { font-size: 16px; }
  .sub_header__visible li + li::before { margin: 0 0.75rem; }
}
@media only screen and (max-width: 600px) {
  .sub_header { padding: 1rem 3%; }
  .sub_header__visible li,
  .sub_header__overflow li { font-size: 15px; }
  .sub_header__visible li + li::before { margin: 0 0.5rem; }
}
@media only screen and (max-width: 300px) {
  .sub_header__visible li,
  .sub_header__overflow li { font-size: 14px; }
}

/* ========================================================================
   Footer
   ======================================================================== */
footer {
  width: 100%;
  padding: 1.65rem 0;
  background-color: #5a5a5a;
}

.footer_container {
  width: 100%;
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  background-color: #262626;
}

.footer_side_part {
  background-color: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 17px;
  font-weight: 400;
  color: var(--primary-white);
}

.footer_side_part img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.footer_side_part .footer-social-icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
  fill: currentColor;
  display: inline-block;
}

.footer_center_part_container {
  width: 100%;
  display: flex;
  gap: 3px;
}

.footer_center_part {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #3f3f3f;
  padding: 2.5rem 1.5rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--primary-white);
}

.footer_center_part.contacts {
  text-align: right;
  align-items: flex-end;
  justify-content: center;
}

.footer_center_part a {
  color: #ffffff;
  text-decoration: none;
}
.footer_center_part .footer-email-line {
  white-space: nowrap;
}
.footer_center_part a:hover {
  color: #0373e2;
  transition: all 0.3s ease;
}

@media only screen and (max-width: 1010px) {
  footer { margin-top: 1.25rem; }
  .footer_container { grid-template-columns: auto; }
  .footer_side_part { padding: 1rem; }
  .footer_center_part { padding: 1.5rem; line-height: 28px; }
  .footer_center_part.policy { justify-content: flex-start; }
}

@media only screen and (max-width: 840px) {
  .footer_center_part_container { flex-direction: column; }
  .footer_center_part.contacts {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 400px) {
  .footer_side_part { font-size: 16px; gap: 1rem; }
  .footer_side_part img { width: 25px; }
  .footer_center_part { padding: 1rem; font-size: 15px; line-height: 26px; }
  .footer_center_part .footer-email-line { white-space: normal; }
}

/* ========================================================================
   Copyright
   ======================================================================== */
.copyright { width: 100%; }

.copyright_container {
  width: 100%;
  background-color: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3%;
}

.copyright_container.home {
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright_text {
  font-size: 15px;
  font-weight: 400;
  color: #bfbfbf;
}

@media only screen and (max-width: 790px) {
  .copyright_text { font-size: 13px; }
}
@media only screen and (max-width: 550px) {
  .copyright_container { padding: 1.25rem 3%; }
  .copyright_text { font-size: 12px; }
}

/* ========================================================================
   Home sarees list
   ======================================================================== */
.sarees-list-main {
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.saree-list-card {
  width: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.saree-list-card .row {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr;
  gap: 2rem;
}
.sarees-list-main .first {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sarees-list-main .first .detail {
  flex: 1;
  width: 100%;
  padding: 1rem;
  padding-left: 2rem;
  text-align: right;
  background-color: #fafafa;
}
.sarees-list-main .first .detail .name {
  color: #f65c81;
  font-size: 2rem;
  font-weight: 400;
}
.sarees-list-main .first .detail .link {
  color: #0066ff;
  font-size: 1.25rem;
  font-weight: 600;
}
.sarees-list-main .first .detail .link:hover { text-decoration: underline; }
.sarees-list-main .first .detail .title {
  color: black;
  font-size: 1.25rem;
  font-weight: 700;
}
.sarees-list-main .first .detail .title a {
  color: inherit;
  text-decoration: none;
}
.sarees-list-main .first .detail .title a:hover { color: #f65c81; }
.sarees-list-main .first .detail .para {
  margin-top: 3px;
  color: black;
  font-size: 1.25rem;
  font-weight: 300;
}
.sarees-list-main .first .detail .second-link {
  color: #0066ff;
  font-size: 1.25rem;
  font-weight: 400;
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: right;
  width: 100%;
  font-family: inherit;
}
.sarees-list-main .first .detail .second-link:hover { text-decoration: underline; }
.sarees-list-main .first .detail .order_btn {
  margin-top: 5px;
  color: white;
  font-size: 20px;
  font-weight: 400;
  background-color: #f65c81;
  border-radius: 6px;
  border: none;
  padding: 8px 15px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.sarees-list-main .first .detail .order_btn:hover { background-color: #ec4d72; }
.sarees-list-main .first .detail .para.white { color: white; }

/* Browse page: show count only in first container */
.sarees-list-main .first .detail.browse-detail-first {
  position: relative;
  padding-top: 2.6rem;
}
.sarees-list-main .first .detail.browse-detail-first .browse-detail-first__count {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  color: #f65c81;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}
.sarees-list-main .first .detail.browse-detail-first h2.title {
  margin: 0;
  color: #262626;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
}

/* Inline discount reveal (home card) */
.home-discount-block { width: 100%; }
.home-discount-pre-reveal {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}
.home-discount-pre-reveal[hidden] { display: none !important; }
.home-price-panel-wrap[hidden] { display: none !important; }
.home-price-panel {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  text-align: right;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.home-price-dl {
  display: grid;
  grid-template-columns: auto auto;
  gap: .35rem 1rem;
  margin: 0;
  justify-content: end;
  align-items: baseline;
  font-size: 0.95rem;
  text-align: right;
}
.home-price-dl dt {
  margin: 0;
  color: #666;
  font-weight: 500;
}
.home-price-dl dd {
  margin: 0;
  font-weight: 600;
  color: #000;
  font-variant-numeric: tabular-nums;
}
.home-price-dl dt.home-price-dl__net,
.home-price-dl dd.home-price-dl__net {
  padding-top: .45rem;
  margin-top: .3rem;
  border-top: 1px dashed #e2e2e2;
}
.home-price-dl dd.home-price-dl__net {
  font-size: 1.1rem;
  color: #f65c81;
}

.sarees-list-main .detail_description {
  background-color: #595959;
  width: 100%;
  padding: 1rem 3%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sarees-list-main .detail_description .text {
  color: white;
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 900px;
}
.sarees-list-main .second {
  width: 100%;
  display: flex;
  gap: 1.5rem;
}
.sarees-list-main .saree-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ffe6e6;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sarees-list-main .saree-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sarees-list-main .saree-card a {
  width: 100%;
  height: 100%;
  display: block;
}
.sarees-list-main .variants {
  width: 100%;
  background-color: #ffe6e6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 20px;
  padding-right: 2rem;
}
.sarees-list-main .variant-card {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
}
.sarees-list-main .variant-card img,
.sarees-list-main .variant-card video {
  width: 100%;
  aspect-ratio: 1.91/1;
  object-fit: cover;
  display: block;
}
.sarees-list-main .variant-card .video-marker {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.sarees-list-main .view-more-btn {
  margin: auto auto 0 auto;
  background-color: #00b0f0;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.sarees-list-main .view-more-btn:hover { background-color: #04a6e1; }

.sarees-list-main .saree-list-empty {
  padding: 2rem 3%;
  text-align: center;
  color: #595959;
  font-size: 1.125rem;
  background-color: #fafafa;
  border: 1px dashed #d8d8d8;
}

@media only screen and (max-width: 1024px) {
  .saree-list-card .row { grid-template-columns: 1fr; gap: 1rem; }
  .sarees-list-main .first .detail { padding-left: 1rem; text-align: left; }
  .sarees-list-main .first .detail .second-link { text-align: left; }
  .home-discount-pre-reveal { align-items: flex-start; }
  .home-price-panel { text-align: left; }
  .home-price-dl { justify-content: start; text-align: left; }
  .home-price-dl dt, .home-price-dl dd { text-align: left; }
  .sarees-list-main .second { gap: 1rem; }
  .sarees-list-main .saree-card { height: auto; aspect-ratio: 4/5; }
  .sarees-list-main .variants { padding-right: 20px; }
}
@media only screen and (max-width: 768px) {
  .sarees-list-main .second { gap: 1rem; height: auto; flex-direction: column; }
  .sarees-list-main .variants { flex: 0; }
  .sarees-list-main .variant-card { width: 100%; }
  .sarees-list-main .view-more-btn { margin: 0 auto; }
}

/* ========================================================================
   Category / Product Details page
   ======================================================================== */
.category_sub_header {
  background-color: #3f3f3f;
  padding: 1rem 3%;
}
.page-wrap--no-nav > .category_sub_header:first-child {
  margin-top: 82px;
}
.page-wrap--with-nav > .category_sub_header:first-child {
  margin-top: 0;
}
.category_sub_header .title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-align: center;
}

.category_second_sub_header {
  width: 100%;
  background-color: #f2f2f2;
  padding: 1.25rem 3%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category_second_sub_header .saree_number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000099;
}
.category_second_sub_header .desc {
  font-size: 1.125rem;
  font-weight: 400;
  color: black;
  max-width: 700px;
}

.category_sarees_grid {
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  padding: 2rem 3%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.category_sarees_grid .saree_grid {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #ffe6e6;
  padding: 1.5rem;
  cursor: zoom-in;
}
.category_sarees_grid .saree_grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category_sarees_grid .saree_grid--hero {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  padding: 1rem;
}
.category_sarees_grid .saree_grid--hero img,
.category_sarees_grid .saree_grid--hero video {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  background: #000;
  display: block;
}
.category_sarees_grid .saree_grid--video { cursor: default; }

.category_price_box {
  width: 100%;
  padding: 1.5rem 3%;
  background-color: #595959;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.category_price_box .price_wrapper {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.category_price_box ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category_price_box ul.first { text-align: right; }
.category_price_box .text {
  font-size: 1.25rem;
  font-weight: 400;
  list-style: none;
}
.category_price_box .order_now_btn {
  margin-top: 20px;
  color: white;
  font-size: 17px;
  font-weight: 400;
  background-color: #f65c81;
  border-radius: 6px;
  border: none;
  padding: 10px 15px;
  width: 200px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.category_price_box .order_now_btn:hover { background-color: #ec4d72; }

.category_wtsp_card {
  width: 100%;
  background-color: #f2f2f2;
  padding: 1.5rem 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category_wtsp_card .text {
  font-size: 1.25rem;
  font-weight: 400;
  color: black;
  text-align: center;
}
.category_wtsp_card .row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.category_wtsp_card .wtsp_input {
  width: 100%;
  max-width: 400px;
  height: 40px;
  border: 1px solid black;
  border-radius: 6px;
  font-size: 1rem;
  padding: 0 1rem;
  outline: none;
  font-family: inherit;
}
.category_wtsp_card .wtsp_input:focus { border-color: #00b0f0; }
.category_wtsp_card .send_btn {
  background-color: #00b0f0;
  transition: all 0.3s ease;
  font-size: 1rem;
  height: 40px;
  padding: 0 20px;
  border-radius: 6px;
  border: none;
  color: #fff;
}
.category_wtsp_card .send_btn:hover { background-color: #009fd8; }
.category_wtsp_card .send_btn:disabled { opacity: .65; cursor: not-allowed; }
.category_wtsp_card .wtsp-err {
  margin-top: .5rem;
  font-size: 0.95rem;
  color: #b91c1c;
}
.category_wtsp_card .wtsp-thanks {
  margin-top: .25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #166534;
}

@media only screen and (max-width: 600px) {
  .category_sarees_grid { grid-template-columns: 1fr; }
  .category_price_box .price_wrapper { gap: 1.5rem; }
  .category_wtsp_card .row { flex-direction: column; }
}

/* ========================================================================
   Lightbox (product images)
   ======================================================================== */
body.pd-lightbox-open { overflow: hidden; }
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}
.pd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
}
.pd-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1000px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.pd-lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.pd-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}
.pd-lightbox__nav--prev { left: .5rem; }
.pd-lightbox__nav--next { right: .5rem; }
.pd-lightbox__close:hover,
.pd-lightbox__nav:hover { background: rgba(255, 255, 255, .35); }

/* ========================================================================
   Order Form
   ======================================================================== */
.agnency_register_form_main {
  background-color: #bfbfbf;
  display: flex;
  flex-direction: column;
}
.page-wrap--no-nav > .agnency_register_form_main:first-child {
  margin-top: 82px;
}

.agnency_register_form_main .title_section {
  margin: 0 auto;
  margin-top: 1rem;
  width: 100%;
  max-width: 800px;
  background-color: #366092;
  text-align: center;
  padding: 1rem 5%;
}
.agnency_register_form_main .title_section h1 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
}

.agnency_register_form_main .agency_form {
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  padding: 2rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #ffffff;
}
.agnency_register_form_main .input_row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.agnency_register_form_main .label {
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  text-align: right;
  width: 100%;
  max-width: 400px;
}
.agnency_register_form_main .input_row.mandatory .label::after {
  content: "*";
  color: red;
  font-size: 12px;
  margin-left: 6px;
}
.agnency_register_form_main .input_row.optional .label::after {
  content: "(optional)";
  color: #ff9933;
  font-size: 12px;
  margin-left: 6px;
}

.agnency_register_form_main .input_wrapper {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agnency_register_form_main .input {
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  padding: 10px;
  outline: none;
  border: 1px solid #a5a4a4;
  text-align: right;
  background-color: transparent;
  font-family: inherit;
}
.agnency_register_form_main textarea.input {
  min-height: 90px;
  resize: vertical;
}
.agnency_register_form_main select.input {
  text-align: left;
}
.agnency_register_form_main .input:focus { border-color: #000000; }
.agnency_register_form_main .input_row.completed .input {
  border: 1px solid #92d050;
  background-color: #f6fff6;
}

.agnency_register_form_main .btns_wrapper {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.agnency_register_form_main .save_btn {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  font-size: 1.125rem;
  color: #ffffff;
  background-color: #00b0f0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.agnency_register_form_main .save_btn:hover { background-color: #0294c9; }

.agnency_register_form_main .validation-summary {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.agnency_register_form_main .validation-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.agnency_register_form_main .validation-summary li {
  color: #b91c1c;
  font-size: 0.95rem;
  text-align: center;
}

.order_form_title_box {
  margin: 1rem auto;
  width: 100%;
  max-width: 800px;
  text-align: center;
  padding: 0.85rem 1rem;
  background-color: white;
}
.order_form_title_box .title {
  font-size: 1.25rem;
  color: #ff6699;
  font-weight: 500;
}
.order_form_title_box .para {
  margin-top: 3px;
  font-size: 1rem;
  color: black;
  font-weight: 400;
}
.order_form_title_box .saree_no {
  margin-top: 3px;
  font-size: 1.125rem;
}

.order_form_title_box .price_wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.order_form_title_box .price_wrapper .list {
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  list-style: none;
  margin: 0;
  padding: 0;
}
.order_form_title_box .price_wrapper .list.first { text-align: right; }
.order_form_title_box .price_wrapper .price_text {
  font-size: 1rem;
  font-weight: 400;
  list-style: none;
}

.order_form_info_box {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto 0;
}
.order_form_info_box.last { margin-bottom: 1rem; }
.order_form_info_box .info_title_section {
  width: 100%;
  background-color: #366092;
  padding: 0.5rem 1rem;
  text-align: center;
}
.order_form_info_box .info_title_section .title {
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
}
.order_form_info_box .details {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: white;
}
.order_form_info_box .details .text {
  color: black;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}
.order_form_info_box .details .list {
  list-style: decimal;
  margin-left: 1.5rem;
}
.order_form_info_box .details .list li {
  font-size: 1rem;
  line-height: 1.5;
  margin: .25rem 0;
}

.order-success-banner {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto 0;
  background-color: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
  padding: .85rem 1rem;
  text-align: center;
  font-size: 1rem;
}

@media only screen and (max-width: 600px) {
  .agnency_register_form_main .input_row {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .agnency_register_form_main .label { text-align: left; max-width: 100%; }
  .agnency_register_form_main .input_wrapper { max-width: 100%; }
  .agnency_register_form_main .input { text-align: left; }
  .agnency_register_form_main .btns_wrapper { flex-direction: column; }
}

/* Custom checkbox */
.checkbox-wrapper-1 *,
.checkbox-wrapper-1 ::after,
.checkbox-wrapper-1 ::before { box-sizing: border-box; }
.checkbox-wrapper-1 {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
}
.checkbox-wrapper-1 [type="checkbox"].substituted {
  margin: 0;
  width: 0;
  height: 0;
  display: inline;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.checkbox-wrapper-1 [type="checkbox"].substituted + label:before {
  content: "";
  display: inline-block;
  vertical-align: top;
  height: 1.15em;
  width: 1.15em;
  margin-right: 0.6em;
  color: black;
  font-weight: 600;
  border: solid 0.06em;
  border-radius: 0.2em;
  background:
    url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" fill="white" viewBox="0 0 9 9"><rect x="0" y="4.3" transform="matrix(-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702)" width="4.3" height="1.6" /><rect x="2.2" y="2.9" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833)" width="6.1" height="1.7" /></svg>')
      no-repeat center,
    white;
  background-size: 0;
  transition: color 0.1s, border 0.1s, background 0.15s, box-shadow 0.1s;
}
.checkbox-wrapper-1 [type="checkbox"].substituted:checked + label:before {
  background-color: #3b99fc;
  background-size: 0.75em;
  color: rgba(0, 0, 0, 0.075);
}
.checkbox-wrapper-1 [type="checkbox"].substituted + label {
  -webkit-user-select: none;
  user-select: none;
  font-size: 1rem;
  color: #000;
}

/* ========================================================================
   Product listing (Browse page)
   ======================================================================== */
.browse-empty {
  padding: 3rem 3%;
  text-align: center;
  color: #595959;
}
.browse-empty p { font-size: 1.125rem; margin: .25rem 0; }
.browse-empty a { color: #0066ff; font-weight: 600; }
.browse-empty a:hover { text-decoration: underline; }

/* ========================================================================
   Form validation messages
   ======================================================================== */
.text-danger {
  color: #b91c1c;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 2px;
}
.alert-success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 1rem auto 0;
}

/* ========================================================================
   Animations
   ======================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .45s ease both; }
