   
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
    /* widths for rows and containers
     */
    --header-height       : 160px;
    --header-height-min   : 80px;
}
/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
    :root {
        --header-height : 100px;
        --header-height-min   : 80px;
    }
}
/* Brand Colors */
:root {
    /* MaqeUrown Core Palette */
    --brand-primary: #a75739; /*[cite: 1] */
    --bg-light: #f8f8f8;
    --text-primary: #646464;
    --text-secondary: #323232;
    --brand-eccentric: #164657;
}

/* Fonts */
:root {
    --body-font           : 'Montserrat', sans-serif;
    --heading-font        : 'Montserrat', sans-serif;
}

/*----------------------------------------------*/
/* 2 GENERAL TYPOGRAPHY */
/*----------------------------------------------*/

/* 2.1 General Styles
/*----------------------------------------------*/
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  overscroll-behavior-y: none
}

body {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 300;
  line-height: 2;
  color: var(--text-primary);
  margin: 0;
  background-color: var(--bg-light);
  overscroll-behavior-y: none
}
body.no-scroll {
    overflow: hidden;
}
a {
  color: var(--dark-color);
  text-decoration: none;
  transition: 0.3s color ease-out;
}
p>a {
  color: var(--primary-color);
}
a.light {
  color: var(--light-color);
}
a:hover {
  text-decoration: none;
  color: var(--primary-color);
}
ul, ol {
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 0;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin-top: 5px;
  margin-bottom: 0;
}
ul li, ol li {
  margin-bottom: 5px;
  outline: 0;
}
ul li.active a{
  color: var(--dark-color);
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}
dl {
  margin-top: 0;
  margin-bottom: 2rem;
}
dt,
dd {
  line-height: 1.42857143;
}
dt {
  font-weight: bold;
}
dd {
  margin-left: 0;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: 0;
}
figure {
  margin: 0;
}
img {
  display: inline-block;
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
::selection {
  background: var(--primary-color);
  color: var(--light-color);
  text-shadow: none;
}
::-moz-selection {
  background: var(--primary-color);
  color: var(--light-color);
  text-shadow: none;
}

::-webkit-input-placeholder {
    color: #7A7A7A; /* WebKit browsers */
}
:-ms-input-placeholder {
    color: #7A7A7A;/* Internet Explorer 10+ */
}

.form-check-input:checked {
    background-color: var(--brand-eccentric, #164657) !important;
    border-color: var(--brand-eccentric, #164657) !important;
}

/* Typography */
/*----------------------------------------------*/

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--heading-font);
  color: var(--dark-color);
  line-height: 1.2;
}
h1.light, .h1, h2.light, .h2, h3.light, .h3, h4.light, .h4, h5.light, .h5, h6.light, .h6 {
  color: var(--light-color);
}
h1, h2, h3 {
  margin: 25px 0;
  text-transform: capitalize;
}
h5, h6 {
  letter-spacing: 1px;
}
h1, .h1 {
  font-size: 3em;
  line-height: 1.4;
}
h2, .h2 {
  font-size: 2em;
  line-height: 1.4;
}
h3, .h3 {
  font-size: 1.4em;
  line-height: 1.4;
}
h4, .h4 {
  font-size: 1.1em;
  line-height: 1.4;
}
h5, .h5 {
  font-size: .83em;
  line-height: 1.25;
}
h6, .h6 {
  font-size: .67em;
  line-height: 1.1;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}
p {
   font-family: var(--body-font);
   font-size: 18px;
   line-height: 1.8;
   margin: 0 0 20px 0;
}
p.dark {
    color: var(--dark-color);
}
p.light {
    color: var(--light-color);
}
p:empty {
  display: none;
}
small {
  font-size: 85%;
}
mark {
  background-color: var(--grey-color);
  padding: 0.28rem;
}
dfn, cite, em, i {
  font-style: italic;
}
::placeholder {
    color: var(--grey-color);
}

/*----------------------------------------------*/
/* 2.1 Floating & Alignment */
/*----------------------------------------------*/

.align-left {
  float: left;
  text-align: left;
}
.align-right {
  float: right;
  text-align: right;
}
.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/**::after,*/
.row::after,
.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

/** Text Align
--------------------------------------------------------------*/
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-justify {
  text-align: justify;
}
.text-nowrap {
  white-space: nowrap;
}
.text-lead {
  font-size: 120%;
  line-height: 1.7em;
}
.text-lead strong {
  font-size: 115%;
  font-weight: 500;
}
.text-muted {
  color: rgba(255, 255, 248, 0.55);
  font-size: small;
}
.text-primary {
  color: var(--primary-color) !important;
}
.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

/*------------------------------------------------

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 130px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid var(--grey-color);
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; 
}
fieldset {
  padding: 0;
  border-width: 0; 
}
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline;
  margin-left: .5rem;
  font-weight: normal; }

/*------------------------------------------------
/* 2.4 Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }

/*------------------------------------------------
/* 2.5 Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  border-radius: 4px; 
  background-color: var(--accent-color);
  color: var(--light-color);
}
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: normal; 
  }

/*------------------------------------------------
/* 2.6 Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
   }
th:first-child,
td:first-child {
  padding-left: 0; 
  }
th:last-child,
td:last-child {
  padding-right: 0; 
  }

/*------------------------------------------------
/* 2.7 Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25); }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
form {
  margin-bottom: 2rem; 
}

/*------------------------------------------------
/* 2.8 Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; 
}
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; 
}
.u-pull-right {
  float: right; 
}
.u-pull-left {
  float: left; 
}
.list-icon i {
  margin-right: 10px;
}
.list-unstyled {
  list-style: none;
}
.txt-fx .letter {
  opacity: 0;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-capitalize {
  text-transform: capitalize;
}
.overflow-hidden {
    overflow: hidden;
}
.hide {
    display: none !important;
}

/* display flex utilities */
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
  color: aliceblue;
}
.flex-wrap {
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}

.justify-content-end {
  -ms-flex-pack: justify !important;
  justify-content: end !important;
}
.justify-content-center {
  -ms-flex-pack: justify !important;
  justify-content: center !important;
}
.justify-content-evenly {
  -ms-flex-pack: justify !important;
  justify-content: space-evenly !important;
}
.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}
.align-items-baseline {
  -ms-flex-align: baseline !important;
  align-items: baseline !important;
}
/* disable selction in section title */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/*------------------------------------------------
/* 2.9 Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* -Row Border
------------------------------------------*/
hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-width: 0;
  border-top: 1px solid var(--grey-color); 
}

/* -Zoom Effect
------------------------------------------*/
.zoom-effect {
    position: relative;
    overflow: hidden;
}
.zoom-effect img {
    max-width: 100%;
    -webkit-transition: 0.6s ease-out;
    -moz-transition: 0.6s ease-out;
    transition: 0.6s ease-out;
}
.zoom-effect:hover img {
    -webkit-transform: scale(1.1,1.1);
    -moz-transform: scale(1.1,1.1);
    transform: scale(1.1,1.1);
}
.zoom-effect:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,0.3);
    z-index: 2;
    opacity: 0;
    -moz-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}
.zoom-effect:hover:before {
    opacity: 1;
    cursor: pointer;
}


/*--------------------------------------------------------------
/** 2.10 Buttons
--------------------------------------------------------------*/
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
button {
  background-image: none;
  background: var(--dark-color);
  text-decoration: none !important;
  display: inline-block;
  position: relative;
  border: 2px solid transparent;
  border-radius: 0;
  padding: 0.75em 1.5em;
  margin-top: 15px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  color: var(--light-color);
  z-index: 1;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn:hover,
.btn:focus,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="file"]:focus,
input[type="file"]:hover,
button:focus,
button:hover {
  text-decoration: none;
  outline: 0;
}
.light .btn:hover {
  color: var(--light-color);
}
.btn:last-child {
  margin-right: 0;
}
.btn:active,
.btn.btn-outline-light:active,
.btn.btn-outline-dark:active,
.btn.btn-outline-accent:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="file"]:active,
button:active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}
a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

/* - Button Sizes
------------------------------------------------------------- */
.btn.btn-small {
  padding: 0.8em 1.8em;
  font-size: 0.65em;
}
.btn.btn-medium {
  padding: 1.1em 3.0em;
  font-size: 1.0em;
}
.btn.btn-large {
  padding: 1.5em 5.5em;
  font-size: 1.3em;
}

/* - Button Shapes
------------------------------------------------------------- */
.btn.btn-rounded,
.btn.btn-rounded::after {
  border-radius: 6px;
}
.btn.btn-pill,
.btn.btn-pill::after {
  border-radius: 2em;
}
/* button outline */
.btn.btn-outline-dark,
.btn.btn-outline-light,
.btn.btn-outline-accent {
  background: transparent;
  text-shadow: none;
  box-shadow: none;
}
.btn.btn-outline-dark:hover::after,
.btn.btn-outline-light:hover::after {
  background-color: transparent;
}
.btn.btn-outline-dark {
  border-color: rgba(0,0,0,1);
  color: var(--dark-color);
}
.btn.btn-outline-dark:hover {
  background: var(--dark-color);
  color: var(--light-color);
}
.btn.btn-outline-accent {
  border-color: var(--accent-color);
  color: var(--accent-color);
}
.btn.btn-outline-accent:hover {
  background: var(--accent-color);
  color: var(--light-color);
}
.btn.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: var(--light-color);
}
.btn.btn-outline-light:hover {
  border-color: rgba(0,0,0,0.5);
  color: var(--dark-color);
}
.btn.btn-outline-primary {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--dark-color);
}
.btn.btn-outline-primary:hover {
  border-color: var(--dark-color);
  color: var(--dark-color) !important;
}
.btn.btn-full {
  display: block;
  margin: .85em 0;
  width: 100%;
  text-align: center;
}

/* - Buttons Color Scheme
------------------------------------------------------------- */
.btn.btn-dark {
  background: var(--dark-color);
  color: var(--light-color);
}
.btn.btn-dark:hover {
  background: var(--primary-color);
}
.btn.btn-light {
  background: var(--light-color);
  color: var(--dark-color);
}
.btn.btn-light:hover {
  background: var(--dark-color);
  color: var(--light-color);
}
.btn.btn-grey {
  background: var(--grey-color);
  color: var(--dark-color);
}
.btn.btn-grey:hover {
  background: var(--primary-color);
  color: var(--light-color);
}
.btn.btn-accent {
  color: var(--light-color);
  background-color: var(--accent-color);
}
.btn.btn-accent:hover {
  color: var(--light-color) !important;
  background-color: var(--primary-color);
}
.btn.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
}
.btn.btn-primary:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
}

/* - Buttons Aligns
------------------------------------------------------------- */
.btn-left{
  text-align: left;
  display: block;
}
.btn-center{
  text-align: center;
  display: block;
}
.btn-right{
  text-align: right;
  display: block;
}

/* - Buttons With Arrow
------------------------------------------------------------- */
.btn-wrap {
  font-weight: 500;
  text-transform: capitalize;
  width: fit-content;
}
.btn-wrap:hover i.icon.icon-arrow-io {
  transform: translate3d(5px,0,0) rotate(-180deg);
}
.btn-wrap i.icon.icon-arrow-io {
  display: inline-block;
  font-size: 1.4em;
  transform: rotate(-180deg);
  transition: transform 0.3s ease-out;
}

/*----------------------------------------------*/
/* 2.11 Images */
/*----------------------------------------------*/

/*--- Image Dimension
-----------------------------------------------*/
img.video-image,
img.post-image,
img.insta-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}
img.large-image {
    width: 100%;
    height: 660px;
    object-fit: cover;
}
img.small-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
img.single-image {
    width: 100%;
    height: 810px;
    object-fit: cover;
}
img.brand-image {
    max-width: 100%;
    height: auto;
    margin: 20px;
}

/*--- Image Shape
-----------------------------------------------*/
img.image-rounded {
   border-radius: 10px;
}
img.image-circle {
   border-radius: 50%;
}

/*----------------------------------------------*/
/* 2.12 Section */
/*-----------------------------------------------------------*/

/* site-banner */
/*----------------------------------------------*/
.site-banner{
  text-align: center;
}
.site-banner h1.page-title{
    font-size: 7.2em;
    font-weight: 800;
    line-height: 1em;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    color: var(--dark-color);
}
.breadcrumbs a:hover{
  color: var(--accent-color);
}
.breadcrumbs{
  color: var(--accent-color);
}
.breadcrumbs .item{
  text-transform: capitalize;
}
@media screen and (max-width: 1099px) {
  .site-banner h1.page-title{
      font-size: 6em;
  }
}
@media screen and (max-width: 768px) {
  .site-banner h1.page-title{
      font-size: 4.6em;
  }
}
@media screen and (max-width: 600px) {
  .site-banner h1.page-title{
      font-size: 3.2em;
  }
}

/* Hero section
/*----------------------------------------------*/
.hero-section {
    position: relative;
}
.hero-section h2 {
    font-size: 1.8em;
    text-transform: none;
}

/*--- Section Title
-----------------------------------------------*/
/*--- Widget Title
-----------------------------------------------*/
h5.widget-title {
    letter-spacing: 0;
    font-size: 1.3em;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
}

/*--- Product Title
-----------------------------------------------*/
h2.product-title{
    font-size: 2.6em;
    margin: 0;
}

/* - Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}
.padding-medium {
  padding-top: 4em;
  padding-bottom: 4em;
}
.padding-large {
  padding-top: 7em;
  padding-bottom: 7em;
}
.padding-xlarge {
  padding-top: 9.5em;
  padding-bottom: 9.5em;
}
.padding-2xlarge {
  padding-top: 15em;
  padding-bottom: 15em;
}

/* no padding */
.no-padding-top {
  padding-top: 0 !important;
}
.no-padding-bottom {
  padding-bottom: 0 !important;
}
.no-gutter {
  padding: 0 !important;
}

/* no padding and margin */
.no-padding {
  padding: 0;
}
.no-margin {
  margin: 0;
}
.no-margin-bottom {
  margin-bottom: 0 !important;
}

/* - Section margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 3em;
  margin-bottom: 3em;
}
.margin-medium {
  margin-top: 4.5em;
  margin-bottom: 4.5em;
}
.margin-large {
  margin-top: 6em;
  margin-bottom: 6em;
}
.margin-xlarge {
  margin-top: 7.5em;
  margin-bottom: 7.5em;
}

@media only screen and (max-width: 768px) {
  .margin-small,
  .margin-medium,
  .margin-large,
  .margin-xlarge {
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

/* - Section Bg Colors
--------------------------------------------------------------*/
.bg-light {
  background-color: var(--light-color) !important;
}
.bg-accent {
  background-color: var(--accent-color) !important;
}
.bg-grey {
  background-color: var(--grey-color) !important;
}
.bg-dark-grey {
  background-color: var(--dark-grey-color) !important;
}
.bg-light-grey {
  background-color: var(--light-grey-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-light-primary {
  background-color: var(--light-primary-color) !important;
}

/* - Content Colors
--------------------------------------------------------------*/
.content-light h1, .content-light h2, .content-light h3, .content-light h4, .content-light h5, .content-light h6 {
  color: var(--light-color);
}
.primary-color h1, .primary-color h2, .primary-color h3, .primary-color h4, .primary-color h5, .primary-color h6 {
  color: var(--primary-color);
}
.content-light a,
.content-light {
  color: var(--light-color);
}
.content-light a:hover {
  color: var(--light-color);
}
.content-dark h1, .content-dark h2, .content-dark h3, .content-dark h4, .content-dark h5, .content-dark h6 {
  color: var(--dark-color);
}
.content-dark a,
.content-dark {
  color: var(--dark-color);
}
.content-dark a:hover {
  color: var(--dark-color);
}

/* - Content Border
--------------------------------------------------------------*/
table.border-bottom tr {
    border-bottom: 1px solid rgba(0,0,0,0.125);
}
.content-light table.border-bottom tr {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.border-top {
   border-top: 1px solid rgba(0,0,0,0.125);
}
.content-light .border-top {
   border-top: 1px solid rgba(255,255,255,0.3);
}
.border-right {
   border-right: 1px solid rgba(0,0,0,0.125);
}
.content-light .border-right {
   border-bottom: 1px solid rgba(255,255,255,0.3);
}
.border-bottom {
   border-bottom: 1px solid rgba(0,0,0,0.125);
}
.content-light .border-bottom {
   border-bottom: 1px solid rgba(255,255,255,0.3);
}
.border-left {
   border-left: 1px solid rgba(0,0,0,0.125);
}
.content-light .border-left {
   border-left: 1px solid rgba(255,255,255,0.3);
}

/* - Content Border None
--------------------------------------------------------------*/
.no-border-top {
   border-top: none !important;
}
.no-border-right {
   border-right: none !important;
}
.no-border-bottom {
   border-bottom: none !important;
}
.no-border-left {
   border-left: none !important;
}

/*====================================================================*/
/* 3. EXTENDED TYPOGRAPHY */
/*====================================================================*/
/*----------------------------------------------*/
/* 3.1 Blockquote /Pullquote */
/*----------------------------------------------*/
.single-post .content p:first-child, 
.quote blockquote, blockquote, 
.single-post .content blockquote p, 
.pullquote-right, 
.pullquote-left {
    font-family: var(--heading-font);
    font-size: 1.5em;
    line-height: 1.4em;
    font-weight: 500;
    letter-spacing: 2px;
    font-style: normal;
    margin: 0 0 20px;
    padding: 20px 40px;
}
.pullquote-right, .pullquote-left {
  width: 40%;
} 
blockquote cite {
  display: block;
  font-size: 0.8em;
  margin-top: 20px;
  font-style: italic;
}
.pullquote-left {
  float: left;
  margin: 20px 20px 20px 0;
} 
.pullquote-right {
  float: right;
  margin: 20px 0 20px 20px;
}
  
/*----------------------------------------------*/
/* 3.2 Text Highlights */
/*----------------------------------------------*/
.highlight {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 1px 5px;
}

/*====================================================================*/
/* 4. CONTENT ELEMENTS */
/*====================================================================*/

/*--------------------------------------------------------------
/** 4.1 General Tabs
--------------------------------------------------------------*/
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .nav-link {
    transition: none;
  }
}
.nav-link:hover, .nav-link:focus {
  color: var(--accent-color);
}
.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-link {
  color: #999;
  padding: 10px 30px;
  margin-bottom: -1px;
  background: none;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  border-color: #e9ecef #e9ecef #dee2e6;
  isolation: isolate;
}
.nav-tabs .nav-link.disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: transparent;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #495057;
  border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.nav-pills .nav-link {
  background: none;
  border: 0;
  border-radius: 0.25rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #0d6efd;
}
.nav-fill > .nav-link,
.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}
.nav-justified > .nav-link,
.nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}
.nav-fill .nav-item .nav-link,
.nav-justified .nav-item .nav-link {
  width: 100%;
}
.bootstrap-tabs .tab-content {
  padding: 20px 0;
}
.bootstrap-tabs .tab-content > .tab-pane {
  display: none;
}
.bootstrap-tabs .tab-content > .active {
  display: block;
}

/*--------------------------------------------------------------
/** 4.2 Accordions
--------------------------------------------------------------*/
.collapse:not(.show) {
  display: none;
}
.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}
.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  color: var(--dark-color);
  text-align: left;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow-anchor: none;
  background-color: var(--light-background-color);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button {
    transition: none;
  }
}
/*.accordion-button:not(.collapsed)::after {
  background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
  transform: rotate(-180deg);
}*/
.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button::after {
    transition: none;
  }
}
.accordion-button:hover {
  z-index: 2;
}
.accordion-button:focus {
  z-index: 3;
  outline: 0;
  box-shadow: none;
}
.accordion-header {
  margin: 0;
}
.accordion-item {
  background-color: var(--light-background-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.accordion-body {
  padding: 1rem 1.25rem;
}
.accordion-flush .accordion-collapse {
  border-width: 0;
}
.accordion-flush .accordion-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}
.accordion-flush .accordion-item:first-child {
  border-top: 0;
}
.accordion-flush .accordion-item:last-child {
  border-bottom: 0;
}
.accordion-flush .accordion-item .accordion-button {
  border-radius: 0;
}

/*--- Tooltip
-----------------------------------------------*/
.tooltip .tooltip-text {
    width: 120px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 14px;
    text-align: center;
    position: absolute;
    top: -49px;
    left: -40px;
    z-index: 1;
    padding: 10px 0;
    visibility: hidden;
    border-radius: 20px;
}
.tooltip:hover .tooltip-text {
  visibility: visible;
}


/*====================================================================*/
/* 5. BLOG STYLES */
/*====================================================================*/

/* 5.1 Blog Single Post
------------------------------------------*/
/* breadcrumbs */
.breadcrumbs span {
  display: inline-block;
}

/* 5.2 About Author
------------------------------------------*/
.author-post {
  padding-left: 30px;
}
.author-post h4 {
  margin: 0;
  font-weight: 700;
  text-transform: none;
}

/* 5.3 Comments List
------------------------------------------*/
.comment-list .comment-item {
    display: flex;
}
.comment-item .comment-meta {
    display: flex;
    align-items: baseline;
}
.comment-meta span.meta-date {
    font-size: 13px;
    padding-right: 50px;
}
.comments-wrap .child-comments {
  padding-left: 50px;
}
.commentor-image {
  width: 80px;
  height: 80px;
}
/* 5.4 Comments Form
------------------------------------------*/
.comment-respond .comment-form {
  display: flex;
}

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/

/* 6.1 Header
--------------------------------------------------------------*/

/* Preloader */
.preloader-wrapper {
  width: 100%;
  height: 100dvh;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
}

.preloader-wrapper .preloader {
  margin: 20% auto 0;
}

.preloader:before,
.preloader:after {
  content: '';
  position: absolute;
  top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: animation 1.2s infinite ease-in-out;
}

.preloader {
  animation-delay: -0.16s;
}

.preloader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.preloader:after {
  left: 3.5em;
}

@keyframes animation {
  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -1em #333;
  }
  40% {
    box-shadow: 0 2em 0 0 #333;
  }
}

/* -- Header Top
--------------------------------------------------------------*/
.secondary-nav,
.secondary-nav p {
    line-height: 2.5em;
 }
.secondary-nav li {
    padding-right: 10px;
}
.secondary-nav li:last-child {
    padding-right: 0;
}
.secondary-nav ul,
.secondary-nav li,
.secondary-nav p {
    margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
    .header-contact, .shipping-purchase{
      display: none;
    }
}

/* submenu */
.stellarnav ul ul {
  background: var(--dark-color);
}
.stellarnav ul ul a {
  color: var(--light-color);
}
.stellarnav.desktop li.has-sub a{
  padding-right: 30px;
}
.menu-list a.item-anchor{
  text-transform: capitalize;
}
.menu-list a.item-anchor.active{
  color: var(--primary-color);
}
.menu-list a.item-anchor:hover{
  color: var(--primary-color);
}
.menu-item.has-sub .submenu a.item-anchor{
  padding-right: 15px;
}
.menu-list .submenu a.item-anchor:hover{
  color: var(--light-color);
  background-color: #343434;
}
.menu-list .submenu a.item-anchor.active{
  color: var(--light-color);
  background-color: #343434;
}

/* Search Bar
------------------------------------------------------------- */

/** Search Form
--------------------------------------------------------------*/
.search-form input[type="search"].search-field {
  width: 100%;
  border: 2px solid var(--grey-color);
  transition: ease-in;
  transition-duration: 0.2s;
  border-radius: 50px;
  padding: 10px 40px;
}
.search-form input[type="search"].search-field:focus {
  border: 2px solid var(--dark-color);
}
.search-form button {
  position: absolute;
  top: 6px;
  right: 9px;
  background: transparent;
  border: none;
  box-shadow: none;
}

/** Search Popup
--------------------------------------------------------------*/
.search-popup {
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.search-popup.is-visible {
  opacity: 1;
  visibility: visible;
  cursor: -webkit-image-set(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFF' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E") 1x, url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E") 2x), pointer;
  cursor: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E"), pointer;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
.search-popup-container {
  background-color: transparent;
  position: relative;
  top: 50%;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  text-align: center;
  box-shadow: none;
  cursor: default;
  -webkit-transform: translateY(-40px);
  transform: translateY(-40px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.is-visible .search-popup-container {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.search-popup-form {
  position: relative;
  margin: 0 0 3em 0;
}
.search-popup-form .form-control {
  padding: 0 0 .375em 0;
  font-size: 2em;
}
.search-popup-form #search-popup-submit {
  display: none;
}
.search-popup .search-popup-close {
  display: block;
  position: absolute;
  top: 2em;
  right: 2em;
  margin: -0.5em;
  padding: 0.5em;
  line-height: 0;
}
.search-popup .search-popup-close:hover {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.search-popup .search-popup-close i {
  display: block;
  position: relative;
  width: 1em;
  height: 1em;
  fill: rgba(0,0,0,0.5);
}
.search-popup .search-popup-close:hover i {
  fill: rgba(0,0,0,1);
}
.search-popup .cat-list-title {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 0.6em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.search-popup .cat-list {
  margin: 0;
  list-style-type: none;
}
.search-popup .cat-list-item {
  display: inline-block;
  margin-bottom: 0;
  letter-spacing: 0.015em;
  font-size: 2em;
}
.search-popup .cat-list-item a:hover::after {
  height: 1px;
  opacity: 1;
  -webkit-transform: translateY(2px);
  transform: translateY(2px);
}
.search-popup .cat-list-item::after {
  content: "/";
  padding: 0 5px;
  line-height: 1;
  vertical-align: text-top;
}
.search-popup .cat-list-item:last-child::after {
  display: none;
}

@media only screen and (max-width: 991px) {
  .search-popup .cat-list-item,
  .search-popup-form .form-control {
    font-size: 1.425em;
  }
}
@media only screen and (max-width: 767px) {
.search-popup .search-popup-close {
    top: 1em;
    right: 1em;
  }
}
@media only screen and (max-width: 575px) {
  .search-popup .cat-list-item,
  .search-popup-form .form-control {
    font-size: 1.125em;
  }
  .search-popup .search-popup-close {
    top: 1em;
    right: 1em;
  }
}

.search-popup input[type="search"] {
  font-size: 22px;
  height: 60px;
  padding: 26px;
}
.search-popup .search-form button {
  position: absolute;
  top: 0;
  right: 8px;
  margin: 0;
  padding: 15px;
}
.search-popup .search-form button i {
  font-size: 29px;
}

/* - Main Navigation
------------------------------------------------------------- */
#navbar ul.menu-list a {
    color: var(--dark-color);
    font-weight: 500;
    padding-left: 45px;
}
.main-menu .hamburger {
    display: none;
}
.main-menu.stellarnav>ul>li>a {
    padding: 10px 30px;
    font-weight: 500;
    font-size: 17px;
    color: #191919;
}
.stellarnav li a{  
    color: var(--dark-color);
    font-weight: 500;
}
.stellarnav li.has-sub>a:after {
    content: none;
}
.stellarnav .menu-toggle,
.stellarnav.mobile.right .close-menu{
    font-size: 0;
}
.stellarnav .icon-close {
    width: 30px;
    height: 30px;
}
.stellarnav .menu-toggle span.bars span {
    width: 30px;
    height: 3px;
    background: var(--dark-color);
    margin: 0 0 5px;
    transition: 0.3s ease-in;
}
.stellarnav .menu-toggle:hover span.bars span {
    background: var(--primary-color);
}
.stellarnav.mobile.right>ul {
    z-index: 222;
    background-color: var(--dark-color);
}
.stellarnav.mobile i {
    display: none;
}
.stellarnav.mobile ul{
    color: white;
}
.stellarnav.mobile li a{
    color: var(--light-color);
    border-bottom: 1px solid var(--accent-color);
}
.stellarnav.mobile .submenu li a{
    border-bottom: 1px solid #5e5e5e;
}
.stellarnav.mobile .menu-item.has-sub .submenu{
    background-color: var(--light-color);
}
.stellarnav.mobile .submenu a{
    background-color: #343434;
}
.stellarnav.mobile .submenu a.active{
    color: var(--primary-color);
}
.stellarnav .icon-close:after, .stellarnav .icon-close:before{
    width: 30px;
}
.stellarnav a.dd-toggle .icon-plus:after, .stellarnav a.dd-toggle .icon-plus:before {
    border-bottom: solid 3px var(--light-color);
}

/*----- Billboard
--------------------------------------------------------------*/
#billboard {
    position: relative;
}
#billboard .button-prev,
#billboard .button-next{
    font-size: 24px;
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 12px;
    height: fit-content;
    z-index: 2;
    margin: auto;
    padding: 10px;
    background: rgba(255,255,255,0.4);
    color: #191919;
}
#billboard .button-prev{
    left: 0;
}
#billboard .button-next{
    right: 0;
}
#billboard .button-prev:hover,
#billboard .button-next:hover {
    color: var(--light-color);
    background-color: var(--primary-color);
}
#billboard .image-holder img.banner-image {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}
.index-myo {
  letter-spacing: -0.02em;
  text-transform: capitalize;
  color: black;
}

.image-holder img{
  height: 150px;
  width: 150px;
}

/*global css */

/* Global Base Modal (From Cart) */

.premium-modal {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90dvh;
    padding: 3dvh 5dvw;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Modifier for Manage Sizes */
.premium-modal-compact {
    padding: 2dvh 3dvw; /* Slightly tighter than cart, but better than 1dvh */
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.primary-action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 2dvh 0;
    border-radius: 8px;
    font-size: 1.5dvh;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
    margin: 0;
}

.primary-action-btn:active { transform: scale(0.98); }

.support-action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 2dvh 0;
    border-radius: 8px;
    font-size: 1.5dvh;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.support-action-btn.primary {
    background-color: var(--brand-eccentric, #164657);
    color: #ffffff;
}

.support-action-btn.secondary {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.support-action-btn.tertiary {
    background-color: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.support-action-btn.destructive {
    background-color: transparent;
    border: 2px solid var(--brand-eccentric, #164657);
    color: var(--brand-eccentric, #164657);
}

.support-action-btn:active {
    transform: scale(0.98);
}

/* global css end */

/* layout */

main {
  margin-top: 4dvh;
  background-color: var(--bg-light);
}

#index-header-mobile {
  top: 1dvh;
  align-items: center;
  position: fixed;
  z-index: 100;
  width: 100dvw;
  height: 7dvh;
  background-color: rgba(248, 248, 248, 0.5);
  display: flex;
  gap: 1dvw;
  padding-left: 1dvw;
  padding-right: 1dvw;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 10px 15px rgba(100, 100, 100, 0.15);
}

#index-header {
  top: 1dvh;
  align-items: center;
  position: fixed;
  z-index: 100;
  width: 100dvw;
  height: 7dvh;
  background-color: rgba(248, 248, 248, 0.5);
  display: none;
  gap: 1dvw;
  padding-left: 1dvw;
  padding-right: 1dvw;
  box-shadow: 0px 0px 10px 15px rgba(100, 100, 100, 0.15);
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    #index-header {
        display: flex;
    }
    #index-header-mobile {
        display: none !important;
    }
}

#index-header i {
  color: rgba(167, 87, 57, 0.85);
  margin-bottom: auto;
}

.icon-user {
  color: rgba(167, 87, 57, 0.85); /* Set your initial icon color */
  /*animation: oscillate-icon-color 3s infinite alternate;*/
}

@keyframes oscillate-icon-color {
  from {
      color: rgba(167, 87, 57, 0.85); /* The first color */
  }
  to {
      color: rgba(255, 255, 248, 1); /* The second color */
  }
}

#page-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background: rgba(255, 255, 248, 1);
  z-index: 9999;
  
  justify-content: center;
  align-items: center;
}

body.is-loading #page-loader {
  display: flex;
}

#lottie-animation {
  width: 300px;
  height: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.expandable-menu {
  position: relative;
  width: auto;
  display: flex;
  justify-content: flex-end;
}

.menu-icon {
  width: 25px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 5px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background-color: rgba(167, 87, 57, 0.85); /* Adjust color as needed */
  border-radius: 3px;
  transition: 0.3s ease-in-out;
}

/* Base Mobile State (Hidden by default) */
/* Mobile Menu Link Styling */
.mobile-menu-list {
    display: flex;
    flex-direction: column;
}

.mobile-menu-list a {
    text-decoration: none;
    font-size: 1.8dvh;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 2dvh 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.mobile-menu-list a:active {
    background-color: #f9f9f9;
}

.mobile-menu-list a:last-child {
    border-bottom: none;
}
@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    #mobile-menu-overlay {
      display: none; /* Hidden by default */
    }
}

.menu-items {
  position: absolute;
  top: 55px;
  background-color: rgba(255, 255, 248, 0.9); /* Adjust background color */
  z-index: 10;
  display: none; /* Initially hidden */
  width: 94dvw; /* Adjust width as needed */
  border-radius: 4px;
}

.menu-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-items li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
}

.menu-items li a:hover {
  background-color: #ddd; /* Adjust hover background color */
}

.expandable-menu.open .menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.expandable-menu.open .menu-icon span:nth-child(2) {
  opacity: 0;
}

.expandable-menu.open .menu-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.expandable-menu.open .menu-items {
  display: block;
}

#maqeurown-name {
  color: rgba(167, 87, 57, 0.85);
  font-size: 3dvh;
  font-weight: 300;
}

.main-logo {
  font-size: xx-large;
  font-weight: bold;
  margin-left: 0;
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
}

#maqeurown-logo-mobile {
  height: 5dvh;
  width: auto;
  max-width: 200%;
}

#maqeurown-logo {
  height: 6dvh;
  width: auto;
  max-width: 200%;
  margin-bottom: 1.2dvh;
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
}

.maqeurown-shirt {
  height: 4dvh;
  width: auto;
  max-width: 200%;
  margin-left: 0dvw;
}

.maqeurown-cushion {
  height: 4dvh;
  width: auto;
  max-width: 200%;
  margin-left: 0dvw;
}

.index-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 5dvw;
  margin-left: auto;
}

.profile-button {
  display: none;
  padding: 0px 5px;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(167, 87, 57, 0.25);
  cursor: pointer;
  font-size: 10px;
  color: rgba(167, 87, 57, 1);
  background-color: rgba(255, 255, 248, 0.05);
  font-weight: 500;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.privacy-policy-page {
  font-size: 14px;
}

.privacy-policy-page strong{
  font-size: 14px;
  font-weight: 600 ;
}

.messages-container {
  position: absolute;
  top: 10dvh;
  width: 90dvw;
  right: 5dvw;
  z-index: 1050;
  background-color: rgba(255, 255, 248, 0.75);
  border-radius: 10px;
  font-size: 14px;
  justify-content: center;
  display: flex;
  padding: 2vh 3dvw;
}

.alert-message {
  color: rgb(100, 100, 100);
}

#install-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 5px 10px;
  color: var(--text-primary);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1dvh;
  text-transform: capitalize;
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    #install-btn-desktop {
        display: flex !important;
    }
    .install-btn-mobile {
        display: none !important;
    }
}

.pwa-overlay {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Dimmed background */
}

.pwa-overlay-content {
    background-color: #fefefe;
    color: #333;
    margin: 15% auto; /* Centered vertically */
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.pwa-overlay-content ol {
    list-style-type: none;
    padding-left: 0;
}

.pwa-overlay-content h3 p {
    color: rgba(100, 100, 100, 1);
}

.pwa-overlay-content li {
    margin-bottom: 15px;
    color: rgba(100, 100, 100, 1);
}

.pwa-close-btn {
    color: #aaa;
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.pwa-close-btn:hover,
.pwa-close-btn:focus {
    color: #000;
    text-decoration: none;
}

/* The full-screen background backdrop */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    z-index: 9999; /* On top of everything */
    display: flex;
    justify-content: center;
    align-items: center; /* Center the card */
    animation: fadeIn 0.3s ease;
}

.notification-overlay p, h3 {
  color: rgba(100, 100, 100, 1);
}

/* The white card box */
.notification-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.notification-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.notification-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-allow {
    background-color: rgba(167, 87, 57, 1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-later {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Overlay creation Background */
.creation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 990;
    display: flex;
    align-items: flex-end; /* Aligns content to the bottom */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.creation-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Sliding Content Sheet */
.creation-overlay-content {
    width: 100%;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    /* 12dvh (approx 90-100px) creates a safe zone at the bottom */
    padding: 3dvh 5vw 12dvh 5dvw; 
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 85dvh;
    overflow-y: auto;
}

.creation-overlay.active .creation-overlay-content {
    transform: translateY(0);
}

/* Header & Close Button */
.creation-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3dvh;
}

.creation-overlay-header h3 {
    margin: 0;
    font-size: 2.2dvh;
    font-weight: 300;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.close-overlay-btn {
    background: rgba(0,0,0,0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

/* Grid Layout */
.creation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3dvw;
}

/* Individual Choice Cards */
.creation-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.creation-card:active {
    transform: scale(0.96);
}

.creation-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.creation-card span {
    padding: 1.5dvh 0;
    text-align: center;
    font-size: 1.5dvh;
    font-weight: 300;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.curved-groove-nav {
    position: fixed; /* or absolute, depending on your layout */
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(7dvh + env(safe-area-inset-bottom));
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    .curved-groove-nav {
        display: none;
    }
}

/* Dropshadow applies to the perfectly unified shape */
.nav-shadow-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 -0.2vh 1vh rgba(0, 0, 0, 0.08));
    pointer-events: auto;
}

/* =========================================
   THE GEOMETRY ENGINE (S-CURVE BLENDING)
   ========================================= */

/* Left Flat Bar */
.nav-bar-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(50% - 4.2vh); /* Leaves exactly an 8.4vh gap */
    height: 7.5dvh;
    background: var(--bg-light);
    border-radius: 2.5vh 2.5vh 0 0; 
}

/* Right Flat Bar */
.nav-bar-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(50% - 4.2vh); /* Leaves exactly an 8.4vh gap */
    height: 7.5dvh;
    background: var(--bg-light);
    border-radius: 2.5vh 2.5vh 0 0;
}

/* The Central Cradle (Seat) */
.nav-crater {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 🟨 INCREASED from 8.4vh to 9vh to create an invisible overlap over the side bars */
    width: 9dvh; 
    height: 5dvh;
    background: transparent;
    overflow: hidden; 
}

/* The U-shape that fills the bottom of the crater */
.nav-crater::before {
    content: "";
    position: absolute;
    top: -4.2dvh; 
    /* 🟨 Center the exact 8.4vh circle inside the new 9vh container */
    left: 50%; 
    transform: translateX(-50%);
    width: 8.4dvh; 
    height: 8.4dvh;
    border-radius: 50%;
    box-shadow: 0 0 0 10vh var(--bg-light); 
}

/* =========================================
   ICONS & CENTRAL BUTTON
   ========================================= */

/* Central Dock Container */
.center-dock {
    position: relative;
    flex: 1.2;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

/* Sunk perfectly into the seat of the groove */
.center-fab-btn {
    position: absolute;
    /* 🟨 CHANGED: The crater circle's center is exactly 5vh from the bottom. 
       To center a 7.6vh button inside it, the bottom must be 1.2vh (5vh - 3.8vh half-height). */
    bottom: -1.8dvh; 
    left: 50%; /* Force horizontal centering relative to the viewport/nav */
    transform: translateX(-50%); /* Corrects the 50% left offset */
    width: 7.6dvh; 
    height: 7.6dvh; 
    border-radius: 50%;
    background-color: var(--brand-primary);
    border: none; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.6vh 1.5vh rgba(167, 87, 57, 0.4);
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    pointer-events: auto;
    z-index: 1001;
    padding: 0;
    filter: drop-shadow(0 0.4vh 1vh var(--brand-primary));
}

.center-fab-btn:active, .center-fab-btn.fab-pressed {
    transform: scale(0.9) translateX(-56%);
    left: 50%;
    background-color: var(--brand-eccentric);
    box-shadow: 0 0.4vh 1vh rgba(22, 70, 87, 0.5);
}

.nav-items-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* The env() function pushes the text up above the iPhone swipe bar */
    padding: 0 0.5dvh 1.5dvh 0.5dvh; 
    height: 100%;
    pointer-events: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: var(--text-primary);
    text-decoration: none;
    flex: 1; 
    height: 7.5dvh;
    pointer-events: auto; 
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item i {
    font-size: 2dvh;
    margin-bottom: 0.5dvh;
}

.nav-item span {
    font-size: 2dvw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05dvh;
}

.nav-item:hover, .nav-item:active {
    color: var(--brand-primary);
    transform: translateY(-0.25vh);
}

.center-logo {
    width: 87%; /* Scales logo relative to the button */
    height: auto;
    object-fit: contain;
}

/*Homepage*/
.index {
    display: block;
    justify-content: space-between;
  }

.info-overlay {
  position: absolute;
  top: 9dvh;
  width: 100%;
  border-radius: 0px;
  height: auto;
  background-color: #f8f8f88f;
  padding: 0px 5px;
  z-index: 1;
  overflow: hidden;
  box-shadow: none;
  /*box-shadow: 0 10px 15px -3px rgba(255, 255, 248, 0.1), 0 4px 6px -2px rgba(255, 255, 248, 0.05);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);*/
}

#discountOverlay {
  top: 18%;
}

.scrolling-text {
    display: flex; /* Allows the element to be animated */
    width: fit-content;
}

.scrolling-text p {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0 2rem; /* Adds space between the messages */
    font-size: 1rem;
    color: #646464;
    margin: 0;
}

@keyframes scroll-left {
  from {
        transform: translateX(5%);
    }
    to {
        transform: translateX(-95%);
    }
}

@keyframes oscillate-loginOverlayBG-color {
  from {
      background-color: rgba(167, 87, 57, 0.5);
  }
  to {
      background-color: rgba(100, 100, 100, 0);
  }
}

.menu-item {
  margin-top: 0ch;
}

.menu-item a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(167, 87, 57, 0.85);
  text-decoration: none;
  padding: 5px;
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
  .menu-item a {
    font-size: 19px;
    font-weight: 100;
  }
}

.menu-list {
  line-height: 2.5;
}

.card {
    width: 100%;
    height: auto;
}

.footer-menu-list p {
  display: flex;
  align-items: flex-end;
}

.background-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scrollbars if the video doesn't perfectly fit */
  z-index: -1; /* Place the video behind other content */
  background: rgba(50, 50, 50, 1);
}

#index-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100dvw;
    aspect-ratio: 3 / 5;
}

#slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;

    mask-image: none;
    border-radius: 0;
    filter: blur(2px);

    opacity: 0;
    z-index: 1;
    transition: all 1s ease-in-out;

    overflow: hidden;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Stretches to fill the container */
    background-position: center;
    filter: blur(15px) brightness(0.8); /* Adjust blur and brightness */
    transform: scale(1.1); /* Slightly zoom in to hide hard edges */
}

/* --- NEW: The clean, centered foreground image --- */
.slide-foreground {
    position: relative; /* Sits on top of the background */
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    .slide-foreground {
      left: 50%;
      transform: translateX(-50%) translateY(0);
    }
}

.slide a {
    display: flex;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* --- Mobile-First Styles (Default) --- */
.slide.homeactive {
    opacity: 1;
    z-index: 2;
    transform: translateX(0) translateY(0);
    filter: blur(0);
}

.slide.homeprev {
    transform: translateX(-100%) translateY(0);
    z-index: 1;
    filter: blur(2px);
}

.slide.homenext {
    z-index: 1;
    filter: blur(2px);
    transform: translateX(100%) translateY(0);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    color: rgba(255, 255, 248, 0.55);
    padding: 5px 10px;
}

#slider-arrow-left { left: 5dvw; }
#slider-arrow-right { right: 5dvw; }


/* --- Desktop Styles (3-Image Layout) --- */
@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    
    #index-slider-wrapper {
        /* On desktop, we use a viewport height */
        height: 80dvh; 
        aspect-ratio: auto; /* Remove the 4:5 constraint */
    }

    .slide {
        /* Default side-image style */
        width: 23dvw;
        top: 50%;
        filter: blur(2px);
        transform: translateY(-50%) scale(0.8);
        z-index: 1;
        opacity: 0;
        transition: all 1s ease-in-out;
        border: none;
    }
    
    /* Previous slide position */
    .slide.homeprev {
        left: 0;
        opacity: 0.5;
        transform: translateY(-50%) scale(0.8);
    }

    /* Next slide position */
    .slide.homenext {
        right: 0;
        opacity: 0.5;
        transform: translateY(-50%) scale(0.8);
    }

    /* Active (center) slide */
    .slide.homeactive {
        width: 100dvw;
        left: 50%;
        opacity: 1;
        filter: blur(0);
        transform: translate(-50%, -50%) scale(1); /* Center it */
        z-index: 2;
    }

    .slide-foreground {
        /* 1. Set fixed 4:5 aspect ratio based on 80vh height */
        width: 64dvh;  /* (80vh * 4/5) */
        height: 80dvh; /* (100% of the wrapper height) */
        
        /* 2. Make it a filled box, not contained */
        object-fit: cover; 
        
        /* 3. Hide it by default */
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
    }
    
    .slide.homeactive .slide-foreground {
        /* 4. Only show the foreground for the ACTIVE slide */
        opacity: 1;
    }
}

#background-video {
  /* Make the video fill the container while maintaining aspect ratio */
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Center the video */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(14px); /* Optional: add a blur effect to the video */
}
.index-home-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  background-color: rgba(167, 87, 57, 0.25);
  align-items: center;
  filter: drop-shadow(1px 1px 5px rgba(50, 50, 50, 0.5));
}

#indexFront {
  width: 100%;
  height: auto;
  max-width: 720px;
  transition: opacity 0.5s ease-in-out;
  filter: drop-shadow(1px 1px 5px rgba(50, 50, 50, 0.5));
}

/* A helper class to make the image invisible */
#indexFront.fade-out {
    opacity: 0;
}

.index-home-content1 {
  display: flex;
  font-weight: 300;
  padding: 5px; top: 50px; position: absolute;
  background: rgba(200, 200, 200, 0.5);
  color: rgb(100, 100, 100);
  border-radius: 5px;
  margin-top: 50px;
  text-align: center;
  justify-content: center;
  z-index: 150;
  }

  .index-home-content2 {
    display: flex;
    font-weight: 300;
    padding: 5px; top: 50px; position: absolute;
    background: rgba(200, 200, 200, 0.5);
    color: rgb(100, 100, 100);
    border-radius: 5px;
    margin-top: 100px;
    text-align: center;
    justify-content: center;
    z-index: 150;
    }
.card_img {
    height: 400px;
    width: 400px;
}

/* Container for the text, positioned absolutely over the slider */
.hero-text-overlay {
    position: absolute;
    top: 80%;
    left: 4%; /* Indented slightly from the left edge */
    transform: translateY(-50%);
    z-index: 20; /* Ensures it sits above the video track (z-index 1-10) */
    pointer-events: none; /* Allows user touch/swipe gestures to pass through to the slider */
}

/* "Be Your Own" Tagline */
.hero-tagline {
    font-size: 5.5dvh;
    font-weight: 800;
    line-height: 1.15;
    color: #f8f8f8;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Main Headline */
.hero-headline {
    font-size: 2.5dvh;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3dvh;
    color: #f8f8f8;
    margin-bottom: 1.5dvh;
    font-family: 'Montserrat', sans-serif;
}


/* Mobile-Specific Centering */
@media (min-width: 768px) {
    .hero-text-overlay {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
    }
}

/* Trust Section */

.premium-trust-section {
    width: 100%;
    min-height: 10dvh;
    background-color: var(--bg-light, #f8f8f8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2vh 5dvw;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-carousel-inner {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 10dvh; /* Fixed height to prevent page jumping during transitions */
}

.trust-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.trust-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Enhanced Icon Block */
.trust-icon {
    flex-shrink: 0;
    width: 10dvh;
    height: 10dvh;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: var(--brand-primary, #a75739);
    font-size: 4dvh;
}

/* Fabric Video Thumbnail matched to icon size */
.trust-fabric-vid {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Text Formatting */
.trust-content {
    flex-grow: 1;
}

.trust-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary, #323232);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.trust-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-primary, #646464);
    font-weight: 300;
    font-family: arial, sans-serif;
}

/* Pulsing Info Hint inside Text */
@keyframes pulse-hint {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(22, 70, 87, 0.4)); }
    50% { transform: scale(1.3); filter: drop-shadow(0 0 6px rgba(22, 70, 87, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(22, 70, 87, 0.4)); }
}

.trust-info-hint {
    color: var(--brand-eccentric, #164657);
    animation: pulse-hint 2s infinite ease-in-out;
    margin: 0 4px;
}

/* Progress Dots */
.trust-indicators {
    display: flex;
    gap: 8px;
    margin-top: 0;
}

.trust-indicators .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.trust-indicators .dot.active {
    background-color: var(--brand-primary, #a75739);
    transform: scale(1.3);
}

/*Category section*/
/* Vertical Section Container */
.shop-categories-vertical {
    padding: 4dvh 0 6dvh 0;
    background-color: var(--page-bg, #ffffff);
}

.category-header {
    text-align: center;
    padding: 0 5dvw;
    margin-bottom: 3.5dvh;
}

.category-title {
    font-size: 2.8dvh;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

/* Vertical Stack Layout */
.categories-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 3dvh; /* Spacing between the massive blocks */
    padding: 0 4dvw;
}

/* Individual Editorial Cards */
.category-hero-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Tall portrait ratio for maximum mobile impact */
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 0.8dvh 2dvh rgba(0, 0, 0, 0.1);
    display: block;
    transform: translateZ(0); /* Hardware acceleration for smooth crossfades */
}

@media (min-width: 768px) {
    .categories-vertical-stack {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .category-hero-card {
        width: calc(50% - 1.5dvh); /* 2 columns on desktop */
        aspect-ratio: 1 / 1;
    }
}

/* Slideshow Track inside the Card */
.card-image-track {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--bg-light);
}

.card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 5s ease-out;
}

.card-slide.active {
    opacity: 1;
    transform: scale(1.04);
}

/* Deep Gradient for Text */
.category-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3dvh 5dvw;
    z-index: 5;
}

.category-hero-overlay h3 {
    color: #ffffff;
    margin: 0 0 0.5dvh 0;
    font-size: 3.5dvh;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 0.2dvh 0.5dvh rgba(0,0,0,0.6);
    font-family: 'Montserrat', sans-serif;
}

.category-price-hint {
    color: #e0e0e0;
    font-size: 1.6dvh;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0.2dvh 0.5dvh rgba(0,0,0,0.6);
}

.category-hero-card:active .card-image-track {
    transform: scale(0.98);
    transition: transform 0.2s ease;
}

/* How It Works CSS */
.how-it-works-section {
    padding: 3dvh 5dvw;
    background-color: var(--bg-light, #f8f8f8);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.hiw-header {
    text-align: center;
    margin-bottom: 3dvh;
}

.hiw-title {
    font-size: 2.8dvh;
    font-weight: 300;
    color: var(--text-primary, #646464);
    margin: 0 0 1dvh 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.hiw-subtitle {
    font-size: 1.6dvh;
    color: var(--text-secondary, #323232);
    margin: 0;
    font-weight: 500;
}

/* Grid Layout */
.hiw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4dvh;
}

@media (min-width: 768px) {
    .hiw-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3dvw;
    }
}

/* Individual Step Cards */
.hiw-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 4dvh 4dvw;
    box-shadow: 0 0.8dvh 2dvh rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .hiw-card:hover {
        transform: translateY(-0.5dvh);
        box-shadow: 0 1.2dvh 2.5dvh rgba(0, 0, 0, 0.08);
    }
}

/* Large Background Number */
.hiw-step-number {
    position: absolute;
    top: -1dvh;
    right: 2dvw;
    font-size: 8dvh;
    font-weight: 900;
    color: rgba(167, 87, 57, 0.1); /* Very faint brand primary color */
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

/* Icon Styling */
.hiw-icon {
    width: 6dvh;
    height: 6dvh;
    background-color: rgba(22, 70, 87, 0.08); /* Faint eccentric brand color */
    color: var(--brand-eccentric, #164657);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5dvh;
    margin-bottom: 2dvh;
    z-index: 2;
}

.hiw-card h3 {
    font-size: 2dvh;
    font-weight: 300;
    color: var(--text-primary, #646464);
    margin: 0 0 1.5dvh 0;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}

.hiw-card p {
    font-size: 1.5dvh;
    line-height: 1.6;
    color: var(--text-secondary, #323232);
    margin: 0;
    z-index: 2;
}

/* Embroidery Feature Section CSS */
.feature-embroidery-section {
    padding: 6dvh 5dvw;
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
    overflow: hidden;
}

.emb-feature-container {
    display: flex;
    gap: 2dvw;
    align-items: center;
}

@media (min-width: 768px) {
    .emb-feature-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 4dvw;
    }
}

/* Text Content */
.emb-feature-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .emb-feature-text {
        text-align: left;
        padding-right: 5dvw;
    }
}

.emb-feature-title {
    font-size: 2.8dvh;
    font-weight: 300;
    margin: 0 0 1.5dvh 0;
    letter-spacing: 1px;
    text-transform: capitalize;
    font-family: 'Montserrat', sans-serif;
}

.emb-feature-desc {
    font-size: 1.6dvh;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0 0 3.5dvh 0;
    font-weight: 300;
}

.emb-feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 1dvh;
    background-color: var(--brand-primary, #a75739); /*[cite: 1] */
    color: #ffffff;
    padding: 1.5dvh 3dvw;
    border-radius: 6px;
    font-size: 1.5dvh;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.emb-feature-btn:active {
    transform: scale(0.96);
}

/* Video Slider */
.emb-feature-visuals {
    flex: 1;
    width: 100%;
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1dvh 3dvh rgba(0, 0, 0, 0.4);
    background-color: #0d2b36; /* Darker shade of eccentric for loading state */
}

@media (min-width: 768px) {
    .emb-feature-visuals {
        max-width: 40dvw;
        aspect-ratio: 3 / 1;
    }
}

.emb-vid-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.emb-vid-slide.active {
    opacity: 1;
}

.lazy-emb-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Elegant Text Caption over Video */
.emb-vid-caption {
    position: absolute;
    bottom: 4dvh;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.5dvh;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    z-index: 2;
}

/* Slider Dots */
.emb-vid-indicators {
    position: absolute;
    bottom: 1.5dvh;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5dvw;
    z-index: 3;
}

.emb-ind {
    width: 0.8dvh;
    height: 0.8dvh;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}

.emb-ind.active {
    background-color: #ffffff;
    transform: scale(1.3);
}

/* AI Measure Feature Section CSS */
.feature-ai-section {
    padding: 6dvh 5dvw;
    background-color: #ffffff; /* Crisp white for clean tech contrast */
    color: var(--text-secondary, #323232);
    overflow: hidden;
}

.ai-feature-container {
    display: flex;
    flex-direction: column;
    gap: 4dvh;
    align-items: center;
}

@media (min-width: 768px) {
    .ai-feature-container {
        flex-direction: row; /* Video on left, text on right */
        justify-content: space-between;
        align-items: center;
        padding: 0 4dvw;
    }
}

.ai-feature-visuals {
    flex: 1;
    width: 100%;
    position: relative;
    /* aspect-ratio rules completely removed so it naturally hugs the video */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1dvh 3dvh rgba(0, 0, 0, 0.08);
    background-color: rgba(22, 70, 87, 0.05); /* Faint brand eccentric background */
    display: flex; /* Removes accidental baseline spacing below the video */
}

@media (min-width: 768px) {
    .ai-feature-visuals {
        max-width: 40dvw;
        /* Desktop aspect-ratio removed as well */
    }
}

.lazy-ai-vid {
    width: 100%;
    height: auto; /* Forces the video to dictate the height */
    object-fit: contain; /* Guarantees zero cropping[cite: 1] */
    display: block;
}

/* Faux UI element to make the video feel like a live scanner */
/* AI Measure HUD Overlay */
.ai-vid-overlay-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    /* Subtle digital mesh tracking grid in Brand Eccentric */
    background-image: 
        linear-gradient(rgba(22, 70, 87, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 70, 87, 0.05) 1px, transparent 1px);
    background-size: 4vw 4dvw;
}

/* Floating Camera Reticles */
.hud-bracket {
    position: absolute;
    width: 3dvh;
    height: 3dvh;
    border-color: rgba(22, 70, 87, 0.8);
    border-style: solid;
    border-width: 0;
}
.hud-tl { top: 3dvh; left: 4dvw; border-top-width: 2px; border-left-width: 2px; }
.hud-tr { top: 3dvh; right: 4dvw; border-top-width: 2px; border-right-width: 2px; }
.hud-bl { bottom: 3dvh; left: 4dvw; border-bottom-width: 2px; border-left-width: 2px; }
.hud-br { bottom: 3dvh; right: 4dvw; border-bottom-width: 2px; border-right-width: 2px; }

/* The Moving Scanner Group */
.ai-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: scanSweep 6s infinite ease-in-out;
}

/* Intense Center Laser */
.ai-laser {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(22, 70, 87, 0.9);
    box-shadow: 0 0 10px rgba(22, 70, 87, 0.8), 0 0 20px rgba(22, 70, 87, 0.5);
    z-index: 2;
}

/* Ambient Radiating Glow */
.ai-glow {
    position: absolute;
    top: -4dvh; /* Centers the bloom exactly over the thin laser line */
    left: 0;
    width: 100%;
    height: 8dvh;
    background: radial-gradient(ellipse at center, rgba(22, 70, 87, 0.3) 0%, transparent 60%);
    z-index: 1;
}

/* Smooth sweeping motion restricted to the inside of the reticles */
@keyframes scanSweep {
    0% { top: 15%; }
    50% { top: 85%; }
    100% { top: 15%; }
}

/* Text Content */
.ai-feature-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .ai-feature-text {
        text-align: left;
        padding-left: 5dvw; /* Spacing between video and text */
    }
}

.ai-feature-title {
    font-size: 2.8dvh;
    font-weight: 300;
    margin: 0 0 1.5dvh 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-eccentric, #164657);
    font-family: 'Montserrat', sans-serif;
}

.ai-feature-desc {
    font-size: 1.6dvh;
    line-height: 1.6;
    color: var(--text-primary, #646464);
    margin: 0 0 3.5dvh 0;
    font-weight: 400;
}

.ai-feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 1dvh;
    background-color: var(--brand-eccentric, #164657);
    color: var(--bg-light, #ffffff);
    border: 2px solid var(--brand-eccentric, #164657);
    padding: 1.5dvh 3dvw;
    border-radius: 6px;
    font-size: 1.5dvh;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.ai-feature-btn:hover, .ai-feature-btn:active {
    background-color: var(--brand-eccentric, #164657);
    color: #ffffff;
}

/*offer section */

.offer-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.offer-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.offer-card > * {
    position: relative;
    z-index: 1;
}

/* Hide scrollbar for the horizontal mobile swiper */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.createShirt_home {
  height: 360px;
  width: auto;
  border-radius: 10px;
}
td {
    width: 150px;
}

.maqeurown-btn-container {
  padding: 1dvh;
  display: flex;
  justify-content: center;
}

.maqeurown-btn {
  padding: 0px 30px;
  color: rgba(255, 255, 248, 0.75);
  background-color: rgba(167, 87, 57, 1);
  border-radius: 16px;
  text-transform: none;
  font-size: 16px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(167, 87, 57, 0.25);
  box-shadow: 0px 0px 20px -3px rgba(0, 0, 0, 0.5);
}

.inspiration {
  padding: 1vh 0;
}

.index-h2-div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100dvw;
  height: 40px;
  background-color: rgba(100, 100, 100, 0.25);
  left: 0;
  right: 0;
  font-size: 20px;
  text-transform: capitalize;
  margin: 0;
}

#inspiration_container {
  border-radius: 4px;
}

.inspiration-image-holder {
  position: relative;
  margin-right: 2dvw;
  margin-left: 2dvw;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: rgba(100, 100, 100, 0.25);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;*/
  border-radius: 4px;
  width: 96dvw;
  max-width: 720px;
  height: 96dvw;
  max-height: 720px;
  overflow: hidden;
  /*animation: oscillateBG 6s infinite;*/
}

@keyframes oscillateBG {
    0% {
      background: rgba(100, 100, 100, 0.25);
    }
    50% {
      background: rgba(100, 100, 100, 1);
    }
    100% {
      background: rgba(100, 100, 100, 0.25);
    }
  }

.inspiration-footer {
  position: absolute;
  z-index: 10;
  bottom: 0px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
  background-color: rgba(100, 100, 100, 0.5);
}

.inspiration-stock-info {
  display: flex;
  justify-content: flex-start;
  width: 75%;
  font-size: 16px;
}

.inspiration-rate-info {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 248, 1);
  text-align: center;
  display: flex;
  align-items: center;
  font-family: sans-serif;
  /*animation: oscillateSizeInfo 6s infinite;*/
  background: transparent;
}

.inspiration-drate-info {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 248, 1);
  text-align: center;
    display: flex;
  align-items: center;
  font-family: sans-serif;
  /*animation: oscillateSizeInfo 6s infinite;*/
  background: transparent;
}

@keyframes oscillateSizeInfo {
    0% {
      color: rgba(100, 100, 100, 1);
    }
    50% {
      color: rgba(255, 255, 248, 0.85);
    }
    100% {
      color: rgba(100, 100, 100, 1);
  }
}

.inspiration_shirt_front {
  display: flex;
  position: relative;
  container-type: inline-size;
  margin: auto auto 0 auto;
  max-width: 100dvw;
  max-height: 100dvw;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
  animation: inspirationZoomEffect 20s infinite alternate ease-in-out;
}

@keyframes inspirationZoomEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.inspiration_shirt_front img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  padding: 10px;;
  object-fit: cover;
  outline: none;
  border: none;
  font-family: 'Arial';
  text-indent: -9999px;
  z-index: 100;
}

@media only screen and (min-width:961px) {
    .index {
        display: flex;
        justify-content: space-between;
      }
      .card {
        width: 25%;
        height: auto;
    }
}

.customer-slideshow-container {
  position: relative;
  max-width: 720px;
  overflow: hidden;
  margin-top: 0px;
}

#slideshow-text {
  color: rgba(100, 100, 100, 0.85);
  font-style: italic;
}

.star-rating {
  color: #FFD700; /* Gold color for stars */
  font-size: 1.2em; /* Adjust size as needed */
  margin-top: 8px;  /* Space above stars */
  margin-bottom: 5px; /* Space below stars */
}

.review-text-p {
  font-style: italic;
  color: rgba(255, 255, 248, 0.75); /* Adjust color as needed */
  font-size: 0.95rem; /* Adjust size as needed */
  max-width: 90%; /* Prevent text from becoming too wide */
  margin: 0 auto 10px auto; /* Center block and add bottom margin */
  line-height: 1.4;
  font-weight: 300;
  justify-content: center;
  justify-self: center;
  align-items: center;
  display: flex;
}

.mySlides {
  position: relative;
}

.customer-image-container {

  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.mySlides a img {
  animation: zoomIn 10s infinite; /* 5-second zoom animation, loops infinitely */
  transform-origin: center; /* Zoom from the center of the image */
}

@keyframes zoomIn {
  0% {
      transform: scale(1); /* Start at normal size */
  }
  100% {
      transform: scale(1.2); /* Slightly zoom in */
  }
}

.fade {
  animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
  from {opacity: 0.4}
  to {opacity: 1}
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
  user-select: none;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#slideshow-text {
  text-align: center;
  font-size: 12px;
  margin: 10px 0;
}

.prev, .next {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  user-select: none;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot:hover {
  background-color: #717171;
}

.blog-index {
  margin-top: 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.blog-index h4 {
  font-weight: 500;
  font-size: 18px;
  color: rgba(255, 255, 248, 0.65);
}

.blog-index p {
  font-weight: 300;
  font-size: 12px;
  color: rgba(255, 255, 248, 0.55);
}

.blog-index li {
  font-weight: 300;
  font-size: 12px;
  color: rgba(255, 255, 248, 0.55);
}

.blog-index img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  max-width: 720px;
}

.blog-list-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 00px;
}

.blog-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.blog-item p {
  width: 96dvw;
}

/*Homepage Review Section */

.featured-reviews-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: sans-serif;
}

.reviews-title {
    font-size: 2.8dvh;
    font-weight: 300;
    margin: 0 0 1.5dvh 0;
    letter-spacing: 1px;
    text-transform: capitalize;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary, #646464);
    text-align: center;
}

/* Horizontal Scrolling Container */
.reviews-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Hide scrollbar for a cleaner look, but keep functionality */
.reviews-scroller::-webkit-scrollbar {
    height: 8px;
}
.reviews-scroller::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Individual Review Card */
.review-card {
    flex: 0 0 320px; /* Fixed width cards */
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Media Area */
.review-media {
    width: 100%;
    height: 320px; 
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
}

.review-media img,
.review-media video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: relative;
    z-index: 2;
}

.review-media-bg {
    position: absolute;
    /* We make it 120% larger and offset it to hide the blurry edges! */
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.6); /* Blurs and slightly darkens the background */
    z-index: 1;
}

/* 2. The Main Un-cropped Foreground Image */
.review-media-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain !important; /* CRITICAL: This ensures the full image is shown */
    z-index: 2;
}


/* Content Area */
.review-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.reviewer-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    text-transform: capitalize;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 1rem 0;
    font-style: italic;
    flex-grow: 1; /* Pushes the item code to the bottom */
}

.review-item-code {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.no-reviews-msg {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Truncation Magic */
.text-truncated {
    display: -webkit-box;
    line-clamp: 3; /* Show only 3 lines */
    -webkit-line-clamp: 3; /* Change this number to show more/less lines initially */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem !important; /* Tighten the gap before the button */
}

/* Push the item code to the bottom even if text expands */
.review-text-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.read-more-btn {
    background: none;
    border: none;
    color: #A75739; /* Standard link blue, change to match your brand */
    padding: 0;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 600;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.whatsapp-button {
    /* Fixed position at the bottom-right of the screen */
    position: fixed;
    bottom: 7%;
    right: 10%;
    z-index: 1000;

    /* Basic styling for the button */
    background-color: rgba(167, 87, 57, 1);
    color: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;

    /* Transition properties for smooth animation */
    transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
    width: 40px;
    height: 40px; /* Initial width for icon only */
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides the text initially */

    display: flex;
    align-items: center;
}

.WA-return-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 3dvh;
}

.whatsapp-button-return {
    /* Fixed position at the bottom-right of the screen */
    position: relative;
    z-index: 1;

    /* Basic styling for the button */
    background-color: rgba(167, 87, 57, 1);
    color: white;
    padding: 0 23px;
    gap: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;

    /* Transition properties for smooth animation */
    transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
    width: fit-content;
    height: auto; /* Initial width for icon only */
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides the text initially */

    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-return-text {
  font-size: 12px;
}

.whatsapp-button.expanded {
  width: 217px; /* Expanded width for text and icon */
  border-radius: 40px; /* Change border-radius on hover/expand */
  color: white;
}

.whatsapp-button:hover {
    color: white;
  }

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {  
.whatsapp-button:hover {
    width: fit-content; /* Expanded width for text and icon */
    border-radius: 40px; /* Change border-radius on hover/expand */
    color: white;
  }
}

.whatsapp-button .whatsapp-icon {
    font-size: 21px;
    margin-right: 10px;
}

/* Hide the text initially */
.whatsapp-button .whatsapp-text {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    transition-delay: 0.2s; /* Delay the text fade-in */
    font-size: 14px;
}

/* Show the text when the button is expanded */
.whatsapp-button:hover .whatsapp-text,
.whatsapp-button.expanded .whatsapp-text {
    opacity: 1;
}

/* blogHome */

.blog-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -4dvh;
}

.blog-item-details {
  width: 90vw
}

.blog-item-details h4 {
  font-weight: 500;
  color: rgb(100, 100, 100);
  font-size: 18px;
  margin-top: 20px;
}

.blog-item-details p {
  font-weight: 300;
  font-size: 12px;
  color: rgb(100, 100, 100);
}

/*blogDetail*/

.blogDetailPage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -4dvh;
  width: 100dvw;
}

.blogDetailPage h1 {
  font-weight: 500;
  color: rgb(100, 100, 100);
  font-size: 24px;
  width: 96dvw;
  text-align: center;
  position: relative;
}

.blogDetailPage h2 {
  font-weight: 500;
  color: rgb(100, 100, 100);
  font-size: 20px;
  width: 96dvw;
  text-align: center;
  left: 2dvw;
  position: relative;
}

.blogDetailPage p {
  font-weight: 300;
  font-size: 10px;
  color: rgb(100, 100, 100);
  width: 96dvw;
  margin-bottom: 0px;
  left: 2dvw;
  position: relative;
}

.blog-body {
  width: 96dvw;
  margin-top: 20px;
  font-size: 12px;
  color: rgb(100, 100, 100);
  text-align: justify;
  left: 2dvw;
}

.blog-sections {
  justify-self: center;
  text-align: center;
  align-items: center;
}

.section-content {
  width: 96dvw;
  margin-top: 10px;
  font-size: 12px;
  color: rgb(100, 100, 100);
  left: 2dvw;
  margin-bottom: 30px;
  position: relative;
  text-align: justify;
}

/*----- Featured Products Section
--------------------------------------------------------------*/
.product-store .product-item {
    position: relative;
    margin-bottom: 30px;
}
.product-item img.product-image {
    background: var(--light-color);
    border: 1px solid var(--grey-color);
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
}
.product-item .cart-concern {
    background: var(--light-color);
    width: 80%;
    text-align: center;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 300px;
    z-index: 9;
    transition: 0.5s ease-out;
    padding: 20px 30px;
    opacity: 0;
}
.product-item:hover .cart-concern {
    bottom: 280px;
    opacity: 1;
}
i.icon.icon-arrow-io {
    font-size: 12px;
}
.cart-concern .cart-button button {
    background: none;
    color: var(--dark-color);
    height: auto;
    padding: 0;
    margin: 0;
}
.cart-concern .cart-button button i.icon {
    color: var(--dark-color);
}
.product-item .wishlist-btn i.icon.icon-heart {
    font-size: 20px;
    padding-left: 25px;
}
.product-item h3.product-title {
    font-size: 1.4em;
    margin: 0;
}
.product-item .item-price {
    font-size: 1.8em;
}
.swiper.product-swiper {
    position: relative;
    margin-bottom: 30px;
}
.swiper-pagination {
    width: 100%;
    position: inherit;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
}
.swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #E0EAF0;
    opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #7CA2BB;
    position: relative;
}
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #CEDDE7;
    border-radius: 50%;
    top: -6px;
    left: -6px;
}

/*----- category page
--------------------------------------------------------------*/
.category-page-container {
    top: 6dvh;
    position: relative;
}

/*----- Subscribe Section
--------------------------------------------------------------*/
#subscribe .block-text {
    width: 50%;
}
#subscribe p {
    font-size: 1em;
}
#subscribe .subscribe-content {
    width: 45%;
    margin-top: 35px;
}
#subscribe .subscribe-content input[type="text"] {
    width: 100%;
    height: 65px;
    background: var(--light-grey-color);
    border: 1px solid var(--grey-color);
    border-radius: 4px 0 0 4px;
    padding-left: 25px;
    margin-bottom: 0;
}
#subscribe .subscribe-content button {
    font-weight: 700;
    margin: 0;    
}
#subscribe .subscribe-content button:hover {
    background: var(--primary-color);
}

@media screen and (max-width: 1599px) {
  #subscribe .block-text {
      width: 80%;
  }
  #subscribe .subscribe-content {
      width: 60%;
  }
}

@media screen and (max-width: 991px) {
  #subscribe .block-text {
      width: 100%;
  }
  #subscribe .subscribe-content {
      width: 100%;
  }  
  #subscribe .subscribe-content button {
      width: 100%;
      margin-top: 20px;
      padding: 24px 0;
  }
  #subscribe .subscribe-content #form {
      flex-wrap: wrap;
  }
}

/*----- Best selling products Section
--------------------------------------------------------------*/
.tab-content {
    position: relative;
}
[data-tab-content] {
    opacity: 0;
    visibility: hidden;
    display: grid;
    transition: cubic-bezier(0.22, 0.78, 0.71, 1.01);
    transition-duration: 0.8s;
}
.active[data-tab-content] {
    opacity: 1;
    visibility: visible;
    height: auto;
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.tabs .tab {
    font-weight: 500;
    color: var(--dark-grey-color);
    margin-right: 50px;
    cursor: pointer;
    transition: 0.2s all;
}
.tabs .tab.active,
.tabs .tab:hover {
    color: var(--primary-color);
}

@media screen and (max-width: 991px) {
  #selling-products .tabs {
      flex-wrap: unset;
      overflow-x: scroll;
  }
}

/*----- Testimonials Section
--------------------------------------------------------------*/
#testimonials .container {
    max-width: 1400px;
}
#testimonials .reviews-content {
    position: relative;
}
.review-icon i.icon.icon-right-quote {
    font-size: 9em;
    color: var(--grey-color);
}
#testimonials .testimonial-detail {
    padding-left: 20px;
}
#testimonials .testimonial-detail p {
    font-size: 1.3em;
    color: var(--dark-color);
}
.testimonial-detail .author-detail .name {
    font-weight: 700;
    color: var(--primary-color);
}
#testimonials .swiper-arrows {
    position: absolute;
    left: 0;
}
.swiper-arrows button {
    font-size: 1em;
    font-weight: 600;
    color: var(--dark-grey-color);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    left: 23px;
}
.swiper-arrows i.icon:hover {
    color: var(--primary-color);
}

/*----- Sales Offer Section
--------------------------------------------------------------*/
.product-item .item-price del {
    color: var(--grey-color);
    font-size: 0.6em;
    padding-right: 10px;
}
#flash-sales {
    position: relative;
}
#flash-sales .product-item .discount {
    font-weight: 500;
    color: var(--light-color);
    width: 100px;
    text-align: center;
    background: var(--primary-color);
    position: absolute;
    top: 20px;
    left: 20px;
}

/*----- Shoppify section banner Section
--------------------------------------------------------------*/
.shoppify-section-banner img{
  object-position: top;
}
@media screen and (max-width: 1199px) {
  .shoppify-section-banner img {
      opacity: 0.3;
  }
}

/*----- Quotation Section
--------------------------------------------------------------*/
#quotation blockquote {
    width: 50%;
    margin: 0 auto;
    padding: 0;
}
#quotation q {
    display: block;
    padding: 50px 0;
}
#quotation .author-name {
    font-size: 0.7em;
    font-weight: 600;

}

/*----- Latest Blog Section
--------------------------------------------------------------*/
#latest-blog article.post-item,
#latest-blog .image-holder {
    margin-bottom: 30px;
}
#latest-blog .image-holder {
    border-radius: 4px;
}
#latest-blog .meta-date {
    padding-bottom: 20px;
    margin-right: 30px;
    color: var(--dark-grey-color);
}
#latest-blog .meta-date .meta-day {
    font-size: 4em;
    line-height: 1;
    font-weight: 200;
}
#latest-blog .meta-date .meta-month {
    line-height: 1.4;
    font-weight: 600;
    color: var(--dark-grey-color);
}
#latest-blog h3.post-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}
a.blog-categories {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
}
a.blog-categories:hover{
    color: var(--primary-color);
}
@media screen and (max-width: 1599px) {
  #latest-blog .meta-date {
      margin-right: 15px;
  }
  #latest-blog .meta-date .meta-day {
      font-size: 2.4em;
  }
  #latest-blog h3.post-title {
      font-size: 1.3em;
  }
}

@media screen and (max-width: 991px) {
  #latest-blog .meta-date .meta-day {
      font-size: 3em;
  }
  #latest-blog h3.post-title {
      font-size: 1.5em;
  }
}

/*----- Instagram Section
--------------------------------------------------------------*/
#instagram p {
    font-size: 1.1em;
}
#instagram figure {
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}
#instagram figure i.icon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: var(--light-color);
    opacity: 0;
    transition: 0.8s all;
}
#instagram figure:hover i.icon {
    opacity: 1;
}

/*----- Icon Box Section
--------------------------------------------------------------*/
#shipping-information {
    padding-bottom: 100px;
}
#shipping-information .icon-box {
    display: flex;
    align-items: baseline;
    border-right: 1px solid #EAEAEA;
    padding-right: 50px;
    margin-right: 50px;
}
#shipping-information .icon-box:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}
#shipping-information .icon-box i.icon {
    font-size: 1.5em;
    color: var(--primary-color);
    padding-right: 15px;
}
.icon-box h4.block-title {
    line-height: 1.2;
    font-weight: 400;
    margin: 20px 0;
}

/*----- Footer Section
--------------------------------------------------------------*/
#footer {
  position: relative;
  display: none;
  bottom: 1px;
  top: 10dvh;
  box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.5);
}

#footer .container {
  background: rgba(100, 100, 100, 0.25);
  position: relative;
  width: 100dvw;
  right: 0dvw;
  left: 0dvw;
  border-radius: 0px;
  display: flex;
  justify-content: space-between;
}

#footer .footer-menu {
    margin-right: 50px;
}
.footer-menu ul.menu-list a {
    color: var(--accent-color);
    font-size: 12px;
    color: rgba(167, 88, 57, 0.85);
}
.footer-menu ul.menu-list a:hover {
    color: var(--primary-color);
}
.footer-menu a.email {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;
}
.social-links {
  position: relative;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-evenly;
    gap: 15px;
    text-align: right;
}

.social-links i {
  color: rgba(167, 88, 57, 0.85);
  font-size: 16px;
}

.social-links p {
  font-size: 16px;
  color: rgba(167, 88, 57, 0.85);
  font-weight: 400;
  margin-bottom: 0px;
}
.social-links a {
  justify-content: right;
  line-height: 0;
}

/*----- Footer Bottom Section
--------------------------------------------------------------*/
.payment-method {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.payment-method img {
    object-fit: contain;
    height: fit-content;
}

/*--------------------------------------------------------------
/* 7. OTHER PAGES 
--------------------------------------------------------------*/

/* 7.1 About Page
--------------------------------------------------------------*/
#about-us .about-image{
    border-radius: 8px;
}
#about-us .detail{
    padding: 0 60px;
}
@media screen and (max-width: 992px) {
  #about-us .detail{
      padding: 0;
  }
}

/* 7.2 Product Detail
--------------------------------------------------------------*/

/* ------ Quantity ------*/
.qty-number .increment-button,
.qty-number .decrement-button{
  background: var(--light-color);
  color: var(--dark-color);
  border: 1px solid var(--grey-color);
  display: flex;
  text-align: center;
  cursor: pointer;
}
.qty-number .increment-button:hover,
.qty-number .decrement-button:hover{
  background: var(--light-grey-color);
}
.qty-number input{
  width: 55px;
  text-align: center;
  margin: 0 10px;
  border-radius: 0;
  border: 1px solid var(--grey-color);
}

/* 7.3 Shop Page & Blog Page
--------------------------------------------------------------*/

/* ------ Sidebar ------*/
.shopify-grid .sidebar .widgets,
.post-grid .sidebar .widgets{
    margin-bottom: 40px;
}
.shopify-grid input[type="text"], 
.post-grid input[type="text"] {
    width: 100%;
    height: 65px;
    background-color: var(--light-grey-color);
    border: 1px solid var(--grey-color);
    border-radius: 4px 0 0 4px;
    padding-left: 25px;
    margin-bottom: 0;
}
.shopify-grid .widget-search-bar .btn,
.post-grid .widget-search-bar .btn{
    margin: 0;
}
.post-grid .card-image{
  margin-bottom: 10px;
}

/* ------ Pagination ------*/
.pagination .page-numbers,
.pagination .pagination-arrow{
  margin: 0 10px;
} 
.pagination .page-numbers {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    color: var(--accent-color);
    padding: 0 10px;
    line-height: 1.4;
    transition: 0.9s all;
    border-radius: 8px;    
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    color: var(--light-color); 
    background-color: var(--primary-color);
}
.pagination i.icon {
    font-size: 1.5em;
}

/** 7.4 Shop List Page
--------------------------------------------------------------*/
.shopify-list .product-detail,
.shopify-list .action-buttons{
  margin-top: 20px;
}
.shopify-list .product-detail p{
  margin-top: 10px;
}

/** 7.5 Single Product
--------------------------------------------------------------*/
.single-product .large-swiper{
  padding-left: 0;
}
.product-preview .swiper-slide {
  padding-bottom: 15px;
  padding-right: 15px;
  transition: cubic-bezier(0.22, 0.78, 0.71, 1.01);
}
.single-product .large-swiper .swiper-slide{
  padding-right: 0;
}
.swiper-slide-thumb-active img{
  border: 1px solid var(--accent-color);
}

/*---- Single Product Information ----------*/
.product-info .item-title{
  margin-right: 20px;
}
.rating-container .rating {
    padding-right: 10px;
    color: var(--dark-color);
    font-size: 1em;
}
.product-info .product-price strong {
    font-size: 1.6em;
    color: var(--primary-color);
    padding-right: 10px;
}
.product-info .select-item{
  margin-right: 20px;
}

/*---- Product Tabs ----------*/
.product-tabs .nav-link {
  color: var(--accent-color);
  font-weight: 600;
}
.nav-tabs .nav-link:focus{
  box-shadow: none;
}
.nav-tabs .nav-link {
  padding: 10px 30px;
  margin-bottom: -1px;
  background: none;
  border: 1px solid transparent;
}
.product-tabs button.nav-link.active {
    color: var(--dark-color);
}
.tabs-listing .tab-content {
  padding: 40px 0;
  border-bottom: 1px solid #dee2e6;
}
.tabs-listing .tab-content > .tab-pane {
  display: none;
}
.tabs-listing .tab-content > .active {
  display: block;
}
.product-tabs .review-item{
  width: 50%;
  margin-bottom: 20px;
}
.product-tabs .review-item .image-holder{
  margin-right: 10px;
}
.product-tabs .review-header{
  color: var(--dark-color);
  font-weight: 600;
}
@media screen and (max-width: 991px) {
  .product-tabs .review-item{
    width: 100%;
    flex-wrap: wrap;
  }
  .product-tabs .review-item .image-holder{
    margin-bottom: 10px;
  }
}

/** 7.6 Single Post Page
--------------------------------------------------------------*/
.main-content .post-meta{
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--accent-color);
}
.main-content .feature-image{
    margin-bottom: 20px;
}
.main-content .post-tags li{
    margin-right: 10px;
}
.main-content .element-title{
    margin-right: 10px;
}
#single-post-navigation a{
  flex-direction: column;
}
#single-post-navigation a h3{
  margin: 0;
  transition: all 0.3s ease-in;
}
#single-post-navigation a:hover h3.page-nav-title{
  color: var(--primary-color);
}
/** 7.9 Checkout Page
--------------------------------------------------------------*/
.checkout-wrap .form-group input.form-control,
.checkout-wrap .form-group select,
.checkout-wrap .form-group textarea{
  width: 100%;
}
.checkout-wrap .form-group .list-group-item{
  align-items: baseline;
}
.checkout-wrap .form-group .list-group-item input{
  margin-right: 4px;
}
.checkout-wrap .form-group .list-group-item p{
  font-weight: 400;
}

/** 7.10 Home2 Page
--------------------------------------------------------------*/

/** Billboard
--------------------------------------------------------------*/
#billboard .two-column-swiper {
    position: relative;
}
#billboard .two-column-swiper .banner-content h1.element-title {
    font-size: 3.7em;
    font-weight: 100;
}
#billboard .two-column-swiper .banner-item{
    display: flex;
    align-items: center;
}
#billboard .two-column-swiper .banner-content{
    text-align: center;
}
#billboard .two-column-swiper .banner-content p {
    width: 80%;
    margin: 0 auto 30px;
}
#billboard .two-column-swiper .banner-content .btn-wrap{
    margin: auto;
}
#billboard .two-column-swiper .swiper-slide{
  opacity: 0;
  transition: ease-in-out;
  transition-duration: 0.9s;
}
#billboard .two-column-swiper .swiper-slide.swiper-slide-active{
  opacity: 1;
}
#billboard .two-column-swiper-slider{
  margin-top: 30px;
}
#billboard .two-column-swiper .button-prev, 
#billboard .two-column-swiper .button-next {
    position: unset;
    font-size: 24px;
    padding: 20px;
    height: fit-content;
    background: rgba(255,255,255,0.4);
    color: #191919;
    margin: 0;
    border: 2px solid var(--dark-color);
}
#billboard .two-column-swiper .button-prev:hover, 
#billboard .two-column-swiper .button-next:hover {
    color: var(--light-color);
    background-color: var(--dark-color);
    border: 2px solid var(--dark-color);
}
#billboard .two-column-swiper .button-prev{
    margin-right: 10px;
}
@media screen and (max-width: 991px) {
  #billboard .two-column-swiper .banner-item{
    display: block;
  }
}

/** Video Section
--------------------------------------------------------------*/
.site-banner {
    position: relative;
}
.video .video-player {
    position: absolute;
}
.video .video-player {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video .video-player i.icon {
    color: #fff;
    font-size: 50px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
  .video .video-player img.text-pattern {
      width: 60%;
      display: flex;
      margin: 0 auto;
  }
}

/** Categories
--------------------------------------------------------------*/
section.categories .category-content{
    margin-bottom: 30px;
}
section.categories .category-content a{
    font-size: 1.3em;
    font-weight: 800;
}

/** 7.11 Coming Soon Page
--------------------------------------------------------------*/
#countdown-clock{
    margin: 2% 20%;
}
.coming-soon .time{
  font-size: 60px;
  font-weight: 400;
}
.coming-soon .time span{
  color: var(--dark-color);
}
.coming-soon .time small{
  font-size: 30px;
}
.coming-soon .btn-wrap{
  margin: auto;
}
.coming-soon .subscribe-content{
  margin: auto;
}

/** 7.12 Login Page
--------------------------------------------------------------*/
.login-tabs .tab-pane{
    max-width: 720px;
    margin: auto;
}

/** 7.13 Error Page
--------------------------------------------------------------*/
.error-page {
    position: relative;
}
.error-page img {
    height: 100dvh;
    width: 100%;
    object-fit: cover;
}
.error-page .page-content {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.error-page .page-content h1,
.error-page .page-content p {
    color: var(--light-color);
}
.error-page .page-content .btn-wrap {
    margin: auto;
}

/* 7.14 Styles Page
--------------------------------------------------------------*/
.jarallax.min-height300 {
    min-height: 300px;
}
/* Create page */

/* 🟨 GLOBAL CREATE PAGE WRAPPERS */
.create-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#page-content {
  display: none; /* Hidden initially */
}

/* 🟨 LOADING VIDEO OVERLAY */
#loading-video-container {
  position: fixed;
  top: 0; left: 0;
  width: 100dvw; height: 100dvh;
  overflow: hidden;
  background-color: black;
  display: none;
  z-index: 9999;
}

#loading-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🟨 UNIFIED SIZE & FIT GRID */
.unified-fit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .unified-fit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fit-card {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 1.5dvh 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.fit-card:hover { border-color: var(--brand-eccentric, #164657); }

.fit-card.active {
    border-color: var(--brand-primary, #a75739);
    background: rgba(167, 87, 57, 0.05);
}

.fit-card.active .fw-bold {
    color: var(--brand-primary, #a75739);
}

@keyframes scroll-ticker {
    0%   { transform: translateX(-16%); }
    40%  { transform: translateX(-25%); }
    80%  { transform: translateX(-33%); }
    90%  { transform: translateX(-25%); }
    100% { transform: translateX(-16%); }
}

/* 🟨 POCKET OVERLAY */
.pocket-numbers, .pocket-style-options {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.pocket-style-options {
    overflow-x: scroll;
}

.pocket-numbers .option-pocket-count {
    flex: 1;
    min-width: 60px;
    background-color: rgba(100, 100, 100, 0.5);
    border: 1px solid rgba(100, 100, 100, 0.5);
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px 10px;
}

.pocket-numbers .option-pocket-count:hover {
    background-color: #555555;
}

.pocket-numbers .option-pocket-count.active {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: bold;
}

/* 🟨 MORE OVERLAY (Placket, etc.) */
.more-options-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 70dvh;
    overflow-y: auto;
    padding: 15px 10px;
    box-sizing: border-box;
}

.more-group-title {
    color: var(--brand-eccentric);
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px 0;
    text-align: left;
    padding-left: 5px;
}

.more-group-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
    overflow-x: scroll;
}

.more-group-items img.option-type {
    max-height: 15dvh;
}

.more-divider {
    border: none;
    border-top: 1px solid #555555;
    width: 100%;
    margin: 15px 0;
}

/* 🟨 AI MEASURE & CUSTOM SIZE */
#measurement-overlay .overlay-body {
    flex: 1;
    overflow-y: auto;
    padding: 0px 6px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.guide-content { max-width: 800px; }

.measurement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.measure-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    display: block;
}

.measure-input {
    width: 100%;
    padding: 0px 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.measure-info-btn {
    color: #888;
    margin-left: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: color 0.2s;
}

.measure-info-btn:hover {
    color: var(--brand-primary, #a75739);
}

#saved-sizes-list strong {
    color: rgba(100, 100, 100, 1);
}
/*end custom size*/

/* ========================================================= */
/* 🟨 HORIZONTAL SCROLL FOR COMPONENT OPTIONS                */
/* ========================================================= */
.vertical-scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap; /* Forces a single horizontal line */
    overflow-x: hidden;
    overflow-y: auto;
    gap: 15px;
    padding-bottom: 12px; /* Breathing room for the scrollbar */
    margin-bottom: 5px;
    width: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
    
}

/* Force the injected images to maintain their shape */
.option-type {
    flex: 0 0 auto; /* Prevents shrinking */
    width: 60%; /* Standardized width for component icons */
    height: auto;
    max-height: 33%; /* Ensures they don't exceed a certain height */
    object-fit: contain;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s ease;
    padding: 6px;
    border: 1px solid var(--brand-eccentric);
}

.option-type:active {
    transform: scale(0.95);
}

/*embroidery overlay*/

#embroidery-overlay {
    justify-content: flex-start;
    padding-top: 2dvh;
}

/* The Main Bottom Sheet */
#embroidery-overlay .overlay-content {
    /* Forces it to the bottom of the screen and rounds the top */
    margin: 0 auto;
    height: 82dvh; 
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    position: relative;
}

/* Force the clickable area to fill the circle */
#embroidery-overlay .close-description {
  position: relative;
}

/* The Header */
#embroidery-overlay .overlay-header {
    padding: 0px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

#embroidery-overlay .overlay-header h5 {
  color: var(--brand-eccentric);
}

#emb-preview-stage {
    background: url('https://maqeurown-bucket.s3.amazonaws.com/appMedia/images/create/mann-BG.png');
    width: 100%;
    height: 50dvh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.emb-stage-left {
  display: grid;
  grid-template-columns: auto auto; /* 🟨 Creates 2 columns */
  grid-template-areas: 
    "confirm bothsides"
    "clear placement"; /* 🟨 Explicitly maps the 2x2 layout */
  gap: 8px 12px;
  padding: 10px;
  justify-content: space-between;
  width: 100%; /* 🟨 Keeps the grid tight and compact */
  background: transparent;
  position: absolute; /* Kept absolute as requested */
  left: 0dvw;
  bottom: 0px; 
  z-index: 5;
}

/* 🟨 Map each button to its specific grid slot */
#emb-confirm-btn { 
  grid-area: confirm;
  background-color: var(--brand-primary);
  color: var(--bg-light);
  border: none;
}

#emb-clear-current-btn { 
  grid-area: clear; 
  
}

/* "Change Placement" Button */
#emb-zoom-out-btn { 
  grid-area: placement; 
  
}

/* The Flip button (shows up when Zoom Out is hidden) takes the same spot */
#emb-flip-btn { 
  grid-area: clear; 
  
}

/* "Both Sides" Button */
#emb-mirror-btn { 
  grid-area: bothsides; 
  
}

.emb-stage-btn {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  color: var(--brand-eccentric);
  text-transform: capitalize;
  text-wrap: auto;
  border-radius: 6px;
  border: 1px solid var(--brand-eccentric);
  backdrop-filter: blur(6px);
  margin: 0;
  padding: 2px 15px;
}

.emb-stage-btn.active {
    color: var(--bg-light);
    background-color: var(--brand-eccentric);
}

/* 🟨 RIGHT COLOR PALETTE (Hidden by default) */
.emb-stage-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 5px;
    width: 44px; /* Narrow vertical strip */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 22px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 69%; /* Prevents it from overflowing the preview stage */
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.emb-color-selector {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    width: 100%;
    align-items: center;
    scrollbar-width: none; /* Firefox */
}
.emb-color-selector::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
}

.emb-ux-guide {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 95%;
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
  background-color: rgba(50, 50, 50, 0.5);
  color: var(--bg-light);
  padding: 6px 6px;
  border-radius: 20px;
  font-size: 15px;
  font-family: sans-serif;
  z-index: 100;
  white-space: wrap;
  opacity: 0.8;
  text-wrap: wrap;
    
  pointer-events: none;

  transition: opacity 0.2s ease-in-out;  
}

.emb-live-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    
    background-color: currentColor; 
    
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    
    display: block; 
    
    will-change: transform; 
}

.snaps-active {
    accent-color: #a75739 !important;
}

.snaps-active::-webkit-slider-thumb {
    background-color: #a75739 !important;
    box-shadow: 0 0 8px 2px rgba(167, 87, 57, 0.6) !important;
    transform: scale(1.15); /* Slightly enlarge the thumb */
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

@keyframes highlightPulse {
    0% { filter: drop-shadow(0px 0px 0px rgba(167, 87, 57, 0)); }
    50% { filter: drop-shadow(0px 0px 8px rgba(167, 87, 57, 0.8)); }
    100% { filter: drop-shadow(0px 0px 0px rgba(167, 87, 57, 0)); }
}

.emb-selectable-pulse {
    animation: highlightPulse 2s infinite ease-in-out;
    cursor: pointer;
}

/* 🟨 THE ZOOM CAMERA LAYER */
.zoomed-preview-container {
    width: 100%;
    height: 50dvh;
    position: relative;
    display: block; 
    overflow: hidden;
    background-color: #f7f5f0; /* Matches premium layout background */
}


.preview-camera-layer {
    width: auto;
    height: 45dvh;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                transform-origin 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: 50% 50%;
}

/* Style for the mannequin in the preview */
.preview-camera-layer .mann-div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30dvh;
    height: 45dvh;
    pointer-events: none;
    justify-content: center;
    display: flex;
    object-fit: cover;
    outline: none;
    border: none;
    z-index: 1;
    -webkit-transform: translate(-50%, -50%) scale(1) translateZ(0);
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.preview-camera-layer .create-component {
  width: 30vh !important;
  height: 45vh !important;
}

/* Force any shirt container inside the preview to be visible */
#zoomed-preview-container .create_shirt_front, 
#zoomed-preview-container .create_shirt_back {
    visibility: visible !important;
}

/* Ensure shirt components have a positive z-index so they stay in front */
.preview-camera-layer .create-component {
    z-index: 1 !important; 
}

/* Ensure the text/embroidery layer also moves smoothly */
.emb-live-layer {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                top 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The Scrollable Controls Body (Bottom half) */
#embroidery-overlay .overlay-body {
    flex: 1;
    overflow-y: auto;
    padding: 0px 6px;
    width: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
}

/* ========================================== */
/* TOUCH TARGETS & SCROLLERS                  */
/* ========================================== */

/* Hide horizontal scrollbars but keep functionality */
.scroll-x {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 5px; /* Prevent clipping of active borders */
    scrollbar-width: none; /* Firefox */
}
.scroll-x::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
}

/* Standard Pill Buttons */
.pill-btn, .theme-pill {
    white-space: nowrap;
    padding: 6px 24px; /* Taller for fat fingers */
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    background: var(--bg-light);
    color: var(--brand-eccentric);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin: 6px 0px;
    text-transform: capitalize;
}

.pill-btn.active, .theme-pill.active {
    background: var(--brand-eccentric); /* Your brand dark color */
    color: var(--bg-light);
    border-color: var(--brand-eccentric);
}

.design-item.active {
    border: 1px solid var(--brand-eccentric);
}

.emb-attributes {
  color: #5a4b41;
  font-weight: 500;
}

.emb-attributes-content {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: scroll;
  scrollbar-width:thin;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.premium-select {
  margin: 0 !important;
}

.emb-attributes-content::-webkit-scrollbar {
  height: 4px; /* Makes the horizontal scrollbar track visible */
}

.emb-attributes-content::-webkit-scrollbar-track {
  background: #f1f1f1; /* Visible background track */
}

.emb-attributes-content::-webkit-scrollbar-thumb {
  background: #888;    /* Visible scrollbar handle */
  border-radius: 4px;
}

.premium-slider-container {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.slider-header-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #555;
  display: none;
}

.slider-dynamic-val {
  display: none;
}

.extremity-label {
  font-size: 10px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
    min-width: 40px;
}
    
.extremity-label.left { text-align: right; }

.extremity-label.right { text-align: left; }

.premium-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 6px;
  outline: none;
  margin: 0 10px;
}

.premium-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a75739;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(167, 87, 57, 0.4);
  transition: transform 0.15s ease;
}

.premium-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a75739;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(167, 87, 57, 0.4);
  transition: transform 0.15s ease;
}

.premium-range::-webkit-slider-thumb:hover,
.premium-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
}

.premium-switch-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  gap: 10px;
}

.premium-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin: 0;
}

.premium-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 22px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  .premium-switch input:checked + .switch-slider {
    background-color: #a75739;
  }
  .premium-switch input:checked + .switch-slider:before {
    transform: translateX(18px);
  }

.grid-btn {
    background: #fff; border: 1px solid #ccc; border-radius: 4px; height: 40px;
    font-size: 18px; color: #555; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.grid-btn:hover:not(:disabled) { background: #e9ecef; }
.grid-btn.active { background: #ab7f65; color: white; border-color: #ab7f65; }
.grid-btn:disabled { background: #f1f1f1; color: #ddd; cursor: not-allowed; border-style: dashed; }

.color-swatch {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s ease, outline 0.2s ease;
    margin: 4px 0; /* Vertical margin instead of horizontal */
}

.color-swatch.active {
    outline: 3px solid #a75739;
    outline-offset: 1px;
    transform: scale(1.05);
}

#emb-text-input {
    border-radius: 12px;
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 1rem;
    width: 100%;
}

.position-grid-wrapper {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; max-width: 100%; margin: 0 auto; background: #f8f9fa; padding: 10px; border-radius: 8px; border: 1px solid #ddd;
}

#live-embroidery-layer {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* embroidery div ends */

/* ========================================================= */
/* 🟨 1. MAIN CANVAS SHELL (Fills the new premium layout)    */
/* ========================================================= */

.premium-builder-layout {
    display: flex;
    flex-direction: column;
    height: 100dvh; /* Uses dynamic viewport height for mobile browsers */
    width: 100dvw;
    overflow: hidden;
    background-color: #f7f5f0;
    top: 0dvh;
    position: absolute;
}

.builder-canvas {
    position: relative;
    height: 50dvh; /* Explicitly lock top half to 55% of viewport */
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
}

/* Force docks to float above the canvas */
.canvas-left-dock {
    position: absolute;
    left: 10px;
    top: 28%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5dvh;
    z-index: 100;
}

.canvas-right-dock {
    position: absolute;
    right: 10px;
    top: 15dvh;
    display: flex;
    flex-direction: column;
    gap: 1.5dvh;
    z-index: 100;
}

/* ========================================================= */
/* 🟨 BRAND-ECCENTRIC DOCK BUTTONS                           */
/* ========================================================= */
.dock-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
     
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    border: 1px solid rgba(22, 70, 87, 0.35);
    box-shadow: 0 4px 15px rgba(22, 70, 87, 0.1);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2px;
    transition: all 0.2s ease;
    
    /* Base color for any text/icons not specifically targeted */
    color: var(--brand-eccentric, #164657); 
    cursor: pointer;
    margin: 0;
    overflow: hidden;
}

/* 🟨 ICONS (Brand Eccentric) */
.dock-btn .icon-type, 
.dock-btn i,
.dock-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 2px;
    opacity: 0.9;
    
    /* Force SVGs and icon fonts to use the eccentric color */
    color: var(--brand-eccentric, #164657);
    fill: var(--brand-eccentric, #164657); 
    transition: all 0.2s ease;
}

/* 🟨 LABELS (Brand Eccentric) */
.dock-btn .dock-label {
    display: block;
    font-size: 9px; 
    font-weight: 800;
    color: var(--brand-eccentric, #164657);
    text-transform: uppercase;
    letter-spacing: -0.2px; 
    line-height: 1.1;
    margin: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================================= */
/* 🟨 HOVER & ACTIVE STATES (Invert to solid eccentric)      */
/* ========================================================= */
.dock-btn:hover, 
.dock-btn:active {
    background-color: var(--brand-eccentric, #164657);
    border-color: var(--brand-eccentric, #164657);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(22, 70, 87, 0.25);
}

/* Invert text and icons to white when tapped */
.dock-btn:hover .icon-type, 
.dock-btn:hover i,
.dock-btn:hover svg,
.dock-btn:active .icon-type, 
.dock-btn:active i,
.dock-btn:active svg {
    color: #ffffff;
    fill: #ffffff;
    opacity: 1;
}

.dock-btn:hover .dock-label,
.dock-btn:active .dock-label {
    color: #ffffff;
}

[data-component="Embroidery"] .dock-label {
    width: auto !important; /* Overrides the strict 100% width */
    white-space: nowrap !important; /* Forces it onto one line */
    text-overflow: clip !important; /* Removes the "..." ellipsis */
    display: inline-block !important;
    
    /* Applies a 3-second gentle pan that pauses at the edges */
    animation: panText 6s ease-in-out infinite alternate !important;
}

/* The panning keyframes */
@keyframes panText {
    0% {
        transform: translateX(15%); /* Pauses slightly at the start */
    }
    50% {
        transform: translateX(-15%); /* Pans left and pauses to reveal the end */
    }
    100% {
        transform: translateX(15%); /* Pans left and pauses to reveal the end */
    }
}

.create_shirt {
    position: relative;
    width: 100%;
    height: 100%; /* Now inherits gracefully from .builder-canvas */
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
    contain: strict;
    /*background: url('https://maqeurown-bucket.s3.amazonaws.com/appMedia/images/create/mann-BG.png') center/cover no-repeat;*/
    border-radius: 8px;
}

.create_shirt_front, 
.create_shirt_back {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transform-style: flat; 
    transform-style: flat;
}
.create_shirt_back { display: none; }

/* ========================================================= */
/* 🟨 2. COMPONENT GEOMETRY (DO NOT ALTER DIMENSIONS)        */
/* ========================================================= */
/* Mobile Default: 36vh x 54vh */
#mannf-div, #mannb-div, .create-component, #mapClick {
    position: absolute;
    top: 50%; left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 36dvh;
    height: 54dvh;
    object-fit: cover;
    outline: none;
    border: none;
    z-index: 1;
    display: flex;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Desktop Scaling: 52vh x 78vh */
@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    #mannf-div, #mannb-div, .create-component, #mapClick {
        width: 52dvh;
        height: 78dvh;
    }
}

.create-component {
    isolation: isolate;
    pointer-events: none;
    filter: drop-shadow(1px 1px 5px rgba(50, 50, 50, 0.5));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    transition: all 0.4s ease;

    opacity: 0.99;
}

/* Specific Component Z-indexes & Filters */
#colfSupport { z-index: 0; }
#plkf { filter: none !important; }
#yokb { filter: drop-shadow(1px 1px 5px rgba(50, 50, 50, 0.1)); }
#colf { filter: drop-shadow(1px 1px 5px rgba(50, 50, 50, 0.3)); }
#pctf { filter: drop-shadow(1px 1px 1px rgba(255, 255, 255, 0.5)); }
#bdaf, #bdbf, #bdaf-c01, #bdbf-c01, #bdaSupport, #bdbSupport, #yokf, #yokf-c01 { filter: none !important; }

/* ========================================================= */
/* 🟨 3. MINIATURE PREVIEW TOGGLE (Bottom Right)             */
/* ========================================================= */
.preview-container {
    position: absolute;
    bottom: 10px;
    right: 1dvh; /* Pinned to the right to avoid the left dock */
    z-index: 15;
    width: 7dvh;
    height: 12dvh;
    background: transparent;
    border: 1px solid rgba(22, 70, 87, 0.35);
    box-shadow: 0 4px 15px rgba(22, 70, 87, 0.1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.preview-container:active { transform: scale(0.95); }

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    .preview-container { width: 12dvh; height: 18dvh; bottom: 20px; }
}

.front-back-preview {
    position: absolute;
    width: 7dvh;
    height: 10.5dvh;
    z-index: 1;
    display: flex;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* This tells Safari to group all child elements into ONE single GPU layer */
    -webkit-transform-style: flat; 
    transform-style: flat;
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    .front-back-preview { width: 10dvh; height: 15dvh; }
}

#frontPreview { display: none; }
#preview-mannb, #preview-mannf, .preview-container .preview-component {
    position: absolute;
    top: 50%; left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%; height: 100%;
    pointer-events: none;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
}

#previewText {
    position: absolute;
    bottom: 3px;
    font-size: 1.1dvh;
    font-weight: 300;
    color: var(--brand-eccentric, #164657);
    z-index: 10;
    padding: 0px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================================= */
/* 🟨 4. HITMAPS & MASKS (DO NOT ALTER)                      */
/* ========================================================= */
#shirt-hit-map-front, #shirt-hit-map-back {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    opacity: 0.7;
    pointer-events: none;
    z-index: 5000;
}

.background-element {
    position: absolute;
    width: 100%; height: 100%;
    pointer-events: none;
}

.overlay-element {
    position: absolute;
    top: 60%; left: 50%;
    height: 100%; width: 141%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
    opacity: 0.9;
    pointer-events: none;
}

/* Fine-tuned mask overlays */
#OV-cfaf-c01, #OV-cfbb-c01 { top: 75%; left: 25%; }
#OV-cfbf-c01, #OV-cfab-c01 { top: 75%; right: 25%; }
#OV-plkf-c01 { left: 43%; opacity: 0.95; }
#OV-colf-c01 { left: 59%; top: 25%; opacity: 0.95; }
#OV-colf-c01-A, #OV-colf-c01-B { opacity: 0.95; }
#OV-colb-c01 { left: 41%; top: 25%; opacity: 0.95; }
#OV-yokb-c01 { opacity: 0.98; }
/* ========================================================= */
/* 🟨 CANVAS ANIMATIONS & UTILITIES                          */
/* ========================================================= */
.fabric-revealing {
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.5s ease-out;
    z-index: 5;
}

.fabric-ghost {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ========================================================= */
/* 🟨 IN-CANVAS INFO & DISCLAIMERS                           */
/* ========================================================= */
.tap-info {
    position: absolute;
    bottom: 3px; /* Safely anchors it to the bottom of the canvas */
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2dvh;
    font-weight: 600;
    color: var(--brand-eccentric);
    backdrop-filter: blur(4px);
    padding: 0px 16px;
    border-radius: 20px;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    white-space: nowrap;
}

#disclaimerIcon {
    position: absolute;
    top: 10dvh; /* Pinned cleanly to the top */
    left: 72%;
    transform: translateX(calc(-50% + 80px)); /* Centers it, then nudges it right */
    background-color: rgba(0, 0, 0, 0.15);
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-family: 'Georgia', serif;
    cursor: pointer;
    z-index: 20;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

#disclaimerIcon.active {
    background-color: var(--brand-eccentric,);
}

#disclaimerText {
    display: none;
    position: absolute;
    top: 9dvh;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 250px;
    font-size: 1.1dvh;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-primary, #323232);
    border-radius: 6px;
    padding: 8px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 25;
    text-align: center;
}

#disclaimerText.show {
    display: block;
}

/* ========================================================= */
/* 3. THE CONVERSION BAR (Sticky middle anchor)              */
/* ========================================================= */
.conversion-anchor-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 6px 6px;
    background-color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05); /* Subtle shadow projecting up */
    z-index: 100;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ========================================================= */
/* 🟨 CONVERSION BAR: EQUAL WIDTHS & ALIGNMENT               */
/* ========================================================= */

/* Reduce maximum width of buttons to give the center price more room */
.conversion-size-btn, 
.conversion-anchor-bar #cart-form {
    flex: 1 !important;
    max-width: 36% !important; 
}

/* Ensure the ATC button fills its container with tighter padding */
.conversion-anchor-bar .primary-action-btn {
    padding: 10px 8px !important; 
    font-size: 13px !important;
    box-shadow: 0 4px 12px rgba(167, 87, 57, 0.2) !important;
    border-radius: 123px;
}

/* Expand the minimum width for the price block */
.conversion-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 1 auto !important;
    min-width: 28% !important;
    padding: 0 !important; /* Zero padding */
    margin: 0 !important;
    gap: 3px !important; /* Strict maximum 3px vertical gap */
}

/* The Active Discounted Price */
.conversion-price #dRate {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1; /* Prevents invisible line-height gaps */
    margin: 0; /* Strips Bootstrap's default margins */
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* The Crossed-Out Original Price */
.conversion-price #displayPrice {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #999 !important;
    line-height: 1 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================================= */
/* 🟨 TACTILE SIZE & FIT BUTTON (Brand Border)               */
/* ========================================================= */
.conversion-size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px 8px; /* Tighter internal padding */
    gap: 3px;
    /* Tactile Button Styling with Brand Colors */
    background: linear-gradient(to bottom, #ffffff, #fffaf8);
    border: 1px solid var(--brand-primary, #a75739);
    border-bottom: 2px solid var(--brand-primary, #a75739); /* Brand 3D depth */
    border-radius: 123px;
    box-shadow: 0 2px 6px rgba(167, 87, 57, 0.1);
    
    cursor: pointer;
    transition: all 0.1s ease;
    margin: 0;
    outline: none;
}

/* The physical "press" effect when tapped */
.conversion-size-btn:active {
    background: #fdf5f2;
    border-bottom: 1px solid var(--brand-primary, #a75739);
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(167, 87, 57, 0.1);
}

/* Size & Fit top label - scaled down slightly */
#sizeDisplay span:first-child {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
    margin: 0;
}

/* The dynamic size value - scaled down slightly */
.size-display-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conversion-size-btn #sizeDisplay {
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-primary, #a75739);
    text-transform: uppercase;
    transition: all 0.2s ease;
}

/* ========================================================= */
/* 🟨 DYNAMIC PANNING (Calculated via JavaScript)            */
/* ========================================================= */

@keyframes panTextDynamic {
    0%, 15% { 
        transform: translateX(0px); 
    }
    45%, 55% { 
        /* Slides exactly the distance calculated by JS */
        transform: translateX(var(--pan-distance, 0px)); 
    }
    85%, 100% { 
        transform: translateX(0px); 
    }
}

.pan-text-dynamic {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: panTextDynamic 5.5s ease-in-out infinite !important;
    
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    letter-spacing: inherit !important;
}

/* ========================================================= */
/* 4. THE BUILDER BOTTOM DRAWER                              */
/* ========================================================= */
.builder-bottom-drawer {
    flex-grow: 1; /* Automatically takes up the remaining 45dvh */
    background-color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Header stays sticky, inner content scrolls */
    z-index: 50;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    background-color: #fafafa;
    border-bottom: 1px solid #eaeaea;
    flex-shrink: 0;
}

/* The scrollable area containing your fabric grid */
.drawer-content, .fabrics_container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 4dvh 2dvw;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
}

/* ========================================================= */
/* 🟨 COMPONENT NAVIGATION BAR & ANIMATIONS                  */
/* ========================================================= */

#component-navigation-bar.nav-active-effect {
    background-color: var(--brand-eccentric);
    transition: background-color 0.3s ease;
}

.nav-title-container {
    display: flex;
    align-items: center;
    width: 80%;
    justify-content: space-between;
    pointer-events: none;
}

#active-component-title {
    font-size: 1.6dvh;
    font-weight: 300;
    color: var(--brand-eccentric);
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-wrap: wrap;
    max-width: 50%;
    text-transform: uppercase;
    margin: 0 auto;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

#split-view-button {
    background-color: var(--brand-eccentric);
    font-size: 1.1dvh;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 33px;
    padding: 4px 12px;
    cursor: pointer;
    pointer-events: auto;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    position: absolute;
    right: 17%;
    margin: 0;
}

#split-view-button:active {
    background-color: #8c452b;
}

/* 🟨 Component Slide Animations */
@keyframes slide-in-from-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slide-out-to-left {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}
@keyframes slide-in-from-left {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slide-out-to-right {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.slide-in-right { animation: slide-in-from-right 0.3s ease-out forwards; }
.slide-out-left { animation: slide-out-to-left 0.3s ease-out forwards; }
.slide-in-left { animation: slide-in-from-left 0.3s ease-out forwards; }
.slide-out-right { animation: slide-out-to-right 0.3s ease-out forwards; }

/* Component Container Visibility */
.select-component {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    flex-shrink: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    touch-action: pan-y;
}

.select-component.active {
    opacity: 1;
    visibility: visible;
}

/* 🟨 Navigation Arrows */
.nav-arrow {
    width: 10%;
    height: auto;
    border-radius: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-eccentric);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    pointer-events: auto;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.nav-arrow:active {
    background: var(--brand-primary, #a75739);
    color: #ffffff;
    transform: scale(0.9);
}

.scroll-indicator:hover { opacity: 1; }
.scroll-indicator.left { left: 10px; }
.scroll-indicator.right { right: 10px; }


/* ========================================================= */
/* 🟨 FILTER OVERLAY STYLING                                 */
/* ========================================================= */



/* Neutralize Bootstrap's btn-link and style as a premium tab */
#open-filter-btn {
    display: inline-flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--brand-eccentric);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    background: var(--bg-light);
    border: 1px solid var(--brand-eccentric);
    padding: 6px 8px;
    border-radius: 33px;
    transition: all 0.2s ease;
    line-height: 1;
    margin: 4.5dvh 2dvw;
    z-index: 20;
}

/* Hover and Active states */
#open-filter-btn:hover,
#open-filter-btn:hover,
#open-filter-btn:active {
    background-color: #f4f4f4;
    color: var(--brand-primary, #a75739);
}

/* Perfectly align any sorting arrows or filter icons */
#open-filter-btn button i,
#open-filter-btn svg {
    font-size: 11px;
    margin: 0;
    transition: transform 0.2s ease;
}

.filter-content { overflow-y: scroll; }

.filter-section {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.filter-section:last-child { border-bottom: none; }
.filter-section h6 {
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #555;
}

.filter-chip-group { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter-chip-group input { display: none; }
.filter-chip-label {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #333;
}
.filter-chip-input:checked + .filter-chip-label {
    background-color: var(--brand-primary, #a75739);
    color: #fff;
    border-color: var(--brand-primary, #a75739);
}

/* Converts the label into a flex container to align swatch and text */
.filter-chip-label.visual-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between the circle and the text */
    padding-left: 10px; /* Slight adjustment so the circle doesn't hug the left edge */
}

/* The visual colored/patterned circle */
.filter-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15); /* Adds a subtle border (helpful for white/light colors) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ========================================================= */
/* 🟨 PICKR COLOR WHEEL OVERRIDES (For Embroidery UI)        */
/* ========================================================= */
.color-circle-wrapper {
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden; 
    border: 2px solid #ddd;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.color-circle-wrapper input[type="color"] {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
    padding: 0; margin: 0;
    border: none; cursor: pointer; background: none;
}
.pickr .pcr-button {
    width: 40px !important; height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid #ddd !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
}
.pickr .pcr-button::after, .pickr .pcr-button::before { display: none !important; }
.pcr-app .pcr-interaction .pcr-save {
    background: rgba(167, 87, 57, 0.78) !important;
    font-size: 12px; padding: 9px 80px; border-radius: 20px;
}
.pcr-app .pcr-interaction .pcr-type.active {
    background: transparent !important;
    color: #666 !important;
    box-shadow: none !important;
    border: none !important;
    font-weight: bold; cursor: default !important; display: none !important;
}
.pcr-app .pcr-selection .pcr-color-preview {
    display: flex !important; flex-direction: row !important;
    justify-content: space-between !important; align-items: center !important;
    width: 100% !important;
}
.pcr-app .pcr-selection .pcr-color-preview .pcr-last-color { border-radius: 4px !important; z-index: 2; width: 30% !important; height: 30% !important; }
.pcr-app .pcr-selection .pcr-color-preview .pcr-current-color { border-radius: 4px !important; width: 70% !important; height: 100% !important; }
.pcr-app .pcr-selection .pcr-color-chooser .pcr-picker, .pcr-app .pcr-selection .pcr-color-chooser .pcr-slider { width: 24px !important; }
.pcr-app .pcr-selection .pcr-color-chooser .pcr-picker { height: 24px !important; }

/* ========================================================= */
/* 🟨 TOAST NOTIFICATIONS                                    */
/* ========================================================= */
#avatar-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    opacity: 0; transition: opacity 0.3s, bottom 0.3s;
}
#avatar-toast.toast-show { visibility: visible; opacity: 1; bottom: 50px; }
.toast-icon { font-size: 20px; }


/* ========================================================= */
/* 🟨 EMPTY STATE MESSAGES                                   */
/* ========================================================= */
.no-results-message {
    width: 100%;
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.no-results-message i { font-size: 2rem; margin-bottom: 10px; color: #ccc; }
.no-results-message p { font-size: 1.1rem; margin: 0; font-weight: 500; }
.no-results-message small { display: block; margin-top: 5px; font-size: 0.85rem; color: #aaa; }

/* ========================================================= */
/* 🟨 FABRIC GRID CONTAINER                                  */
/* ========================================================= */
.fabric-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    padding-bottom: 15dvh; /* Ensure last row clears the bottom nav bar */
}

@media (min-width: 768px) {
    .fabric-options {
        grid-template-columns: repeat(3, 1fr); /* More columns on desktop */
    }
}

/* ========================================================= */
/* 🟨 INDIVIDUAL FABRIC SWATCHES                             */
/* ========================================================= */
.comp-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Perfect squares */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #f5f5f5;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.comp-image-container:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #ddd;
}

/* The Fabric Image */
.shc_option {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.comp-image-container:hover .shc_option {
    transform: scale(1.05);
}

/* 🟨 FABRIC UI OVERLAYS (Applied State, Labels, Icons) */

/* The "Applied" Overlay */
.comp-image-container.applied-fabric::after {
    content: 'Applied';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(167, 87, 57, 0.9); /* Brand Primary */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* The Info (i) Icon */
.info-icon {
    position: absolute;
    top: 6px; left: 6px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    color: #555;
    border-radius: 50%;
    width: 22px; height: 22px;
    display: flex; justify-content: center; align-items: center;
    font-size: 9px;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
}

.info-icon:hover {
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
}

/* The Fabric Type Label (e.g. Premium Cotton) */
.fabric-type-label {
    position: absolute;
    bottom: 6px; left: 6px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    color: #333;
    font-size: 0.55rem;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


/* ========================================================= */
/* 🟨 GLOBAL MODAL BACKGROUNDS (.overlay)                    */
/* ========================================================= */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px); /* Premium frosted background */
    display: none; 
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    gap: 1dvh;
}

.overlay-outer-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 720px;
    width: 90%;
    margin-top: 15px;
}

#emb-clear-all-btn {
    flex: 1;
}

#apply-embroidery-btn {
    flex: 2;
}

.overlay-outer-btns button {
    padding: 6px 24px !important;
    margin: 0;
}

/* ========================================================= */
/* 🟨 OVERLAY CLOSE BUTTON (Cross)                           */
/* ========================================================= */
.close-cross {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 93%;
    margin-top: 1dvh;
    padding: 0;
    position: absolute;
}

.close-description {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #555;
    border: 1px solid #e0e0e0;
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Hover and Tactile "Press" State */
.close-description:hover,
.close-description:active {
    background-color: #e9ecef;
    color: #111;
    transform: scale(0.92);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* ========================================================= */
/* 🟨 FABRIC ROTATION TOOL & ICON                            */
/* ========================================================= */
.rotate-icon {
    position: absolute;
    top: 6px; right: 6px; /* Mirrors the info icon on the left */
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    color: #555;
    border-radius: 33px;
    padding: 0px 3px;
    width: auto; height: auto;
    display: flex; justify-content: center; align-items: center;
    font-size: 9px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rotate-icon:hover {
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
}

.rotate-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.rotate-controls {
    display: flex;
    flex-direction: column-reverse;
}

#fabRotateTool {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#fabRotateTool .rs-range-color {
    background-color: var(--brand-primary, #a75739);
}

#slider-angle-display {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    color: var(--brand-primary, #a75739);
    pointer-events: none;
    z-index: 10;
    display: none;
}

/* Body (Scrollable) */
/* 🟨 UNIVERSAL COMPONENT SELECTION MODAL (#selection-overlay) */
.selection-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

#selection-overlay-title {
    font-size: 2.2dvh;
    font-weight: 700;
    color: var(--text-primary, #323232);
    margin: 0;
    text-transform: capitalize;
}

.selection-overlay-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-height: 60dvh;
    overflow-y: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

/* Image Options (Collar, Sleeve, Placket, etc.) */
.selection-overlay-body img.option-type {
    width: auto;
    max-height: 140px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: rgba(166, 166, 166, 0.05); /* Clean backdrop */
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.selection-overlay-body img.option-type:hover {
    transform: scale(1.03);
    border-color: var(--brand-primary, #a75739);
    box-shadow: 0 4px 12px rgba(167, 87, 57, 0.15);
}

/* Active/Selected State for Options */
.selection-overlay-body img.option-type.active {
    border-color: var(--brand-primary, #a75739);
    background-color: rgba(167, 87, 57, 0.05);
}

/* Text-based Options fallback */
.selection-overlay-body .option-fit, 
.selection-overlay-body .size-option {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary, #323232);
    font-size: 1.6dvh;
    transition: all 0.2s ease;
}

.selection-overlay-body .option-fit:hover, 
.selection-overlay-body .size-option:hover {
    background: var(--brand-primary, #a75739);
    color: #ffffff;
    border-color: var(--brand-primary, #a75739);
}

/* ========================================================= */
/* 🟨 GLOBAL BUTTONS & OVERLAY CONTENT                       */
/* ========================================================= */

/* ========================================================= */
/* 🟨 OVERLAY HEADER & TITLE                                 */
/* ========================================================= */
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 12px;
    margin-bottom: 0;
    border-bottom: 1px solid #eaeaea;
}

.overlay-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-eccentric, #164657); /* Uses your deep teal */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

/* Ensure the body takes full width below the header */
.overlay-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    flex: 1;
}

.overlay-content {
    position: relative;
    top: 2dvh;
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 84dvh;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    align-items: center;
    animation: fadeIn 0.2s ease-out;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.overlay-content h3 {
    margin: 6px 0;
}

.submit-btn {
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
    border-radius: 8px;
    font-size: 1.4dvh;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s;
}
.submit-btn:hover { background-color: #8c452b; }

.back-btn {
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #555;
    border-radius: 8px;
    font-size: 1.3dvh;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s;
}
.back-btn:hover { background-color: #e2e2e2; }

.clear-all {
    background-color: #777;
    color: #fff;
    font-size: 1.2dvh;
    font-weight: 600;
}

.guest-login-btn {
    padding: 10px 20px;
    border-radius: 6px;
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.4dvh;
    text-transform: uppercase;
    width: 100%;
    text-decoration: none;
    display: block;
}

/* ========================================================= */
/* 🟨 COMPONENT STATES & FABRIC INFO MODAL                   */
/* ========================================================= */
.component-out-of-stock {
    filter: grayscale(10%) blur(1px) brightness(0.9);
    opacity: 0.7;
    pointer-events: none;
    transform: scale(1.05);
}

#description-img, .description-img, #description-video, .fabric-preview-container {
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    border-radius: 6%;
}

.description-text, #avlStatus-text, #outOfStock-text {
    margin: 15px 0;
    font-size: 1.4dvh;
    color: #444;
}

/* ========================================================= */
/* 🟨 CUSTOM SIZE & MEASURE UI                               */
/* ========================================================= */
.measure-img { z-index: 500; }
#custom-size-form label { color: #555; font-weight: 600; }
.custom-size-content { overflow-y: auto; }
#saved-sizes-view { display: flex; flex-direction: column; gap: 15px; }
#saved-sizes-list { display: none; flex-direction: column; gap: 10px; }

.size-item {
    padding: 6px 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}

.size-select-area strong {
    font-size: 15px;
}

.edit-icon {
    padding: 6px 10px;
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    margin: 0;
}

.saved-size-pill {
    overflow: hidden;
}

.pan-text-animated {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: panText 4.5s ease-in-out infinite !important;
}

#no-sizes-msg { padding: 10px; text-align: center; display: none; font-size: 1.3dvh; }
#guest-view, #custom-size-form { display: flex; flex-direction: column; }
.size-guide-btn {
    border-radius: 20px;
    background-color: var(--brand-primary, #a75739);
    color: white;
    padding: 8px 20px;
    font-size: 1.4dvh;
    font-weight: bold;
    border: none;
}

.avatar-headspace {
  display: none;
}

/* ========================================================= */
/* 🟨 VIRTUAL TRY-ON (AR)                                    */
/* ========================================================= */

#tryOn-overlay, #outOfStock-overlay, #wait-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}
#tryOn-overlay { flex-direction: column; overflow-y: auto; }

#video, .mirrored-preview { transform: scaleX(-1); }
#canvas { display: none; width: 100%; height: auto; }

.controls {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 400px;
}
.tryOnSrc-div { display: flex; justify-content: space-between; width: 100%; }

.controls button, .label-btn {
    padding: 8px 12px;
    border: none;
    background-color: var(--brand-primary, #a75739);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.3dvh;
    font-weight: 600;
}
.controls button:disabled { background-color: #ccc; cursor: not-allowed; }

#processing-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 10;
    justify-content: center; align-items: center; flex-direction: column;
    color: var(--brand-primary, #a75739); font-size: 14px; font-weight: 600;
    animation: oscillateOverlayColor 4s linear infinite;
}

#resultContainer { margin-top: 20px; text-align: center; }
#resultImage { max-width: 100%; border-radius: 8px; margin-top: 10px; }

/* Try-On Button Animations */
.ar-try-on-button {
    --glow-color: rgba(167, 87, 57, 1);
    background: transparent;
    border: 2px solid var(--glow-color);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    animation: oscillateColor 3s linear infinite;
    box-shadow: 0 0 15px var(--glow-color);
    transition: transform 0.2s ease;
}
.ar-try-on-button:hover { transform: scale(1.05); }
.ar-try-on-button svg { width: 22px; height: 22px; stroke: var(--glow-color); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes oscillateOverlayColor {
    0%, 100% { background-color: rgba(167, 87, 57, 0.25); color: #a75739; }
    50% { background-color: rgba(255, 255, 255, 0.25); color: #fff; }
}
@keyframes oscillateButtonColor {
    0%, 100% { background-color: rgba(167, 87, 57, 0.25); color: #a75739; }
    50% { background-color: rgba(100, 100, 100, 0.25); color: #666; }
}
@keyframes oscillateColor {
    0%, 100% { --glow-color: rgba(167, 87, 57, 1); }
    50% { --glow-color: rgba(167, 87, 57, 0.5); }
}
.imagining-animation { animation: oscillateButtonColor 4s linear infinite; }

/* ========================================================= */
/* 🟨 GLOBAL FLOATING WHATSAPP BUTTON                        */
/* ========================================================= */
.studio-whatsapp-button {
    position: fixed;
    bottom: 25px; right: 20px;
    z-index: 1000;
    background-color: #25D366; /* Using official WA green instead of brand brown */
    color: white;
    border-radius: 50px;
    width: 45px; height: 45px;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.studio-whatsapp-button:hover { transform: scale(1.1); color: white; }

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    
    /* 🟨 1. CONVERT BOTTOM DRAWER TO RIGHT SIDEBAR */
    .builder-bottom-drawer { /* Replace with your drawer's ID or Class */
        position: fixed;
        display: flex;
        flex-direction: column;
        top: 8dvh;
        right: 0;
        bottom: 0;
        left: auto; /* Reset mobile left alignment if any */
        width: 45%; /* Set a fixed width for the desktop panel */
        height: 92dvh;
        
        /* Reset mobile styling */
        border-radius: 0; 
        border-left: 1px solid #e0e0e0;
        
        /* Override mobile slide-up animations */
        transform: translateY(0); 
        z-index: 5;
        overflow: hidden
    }

    .drawer-header {
        height: auto;
        padding: 2vh 1dvw;
    }

    .drawer-header,
    #open-filter-btn {
        flex-shrink: 0; /* Prevents them from shrinking when fabrics overflow */
        top: 2.5dvh;
    }

    /* 3. Make the fabrics area scrollable */
    #fabricsContainer {
        flex-grow: 1; /* Expands to fill all remaining space below the button */
        overflow-y: auto; /* Enables vertical scrolling just for this div */
        
        /* A flexbox quirk: this prevents the container from blowing past the drawer height */
        min-height: 0; 
    }

    /* 🟨 2. ADJUST THE 3D CANVAS AREA */
    .builder-canvas { /* Replace with your 3D viewer's ID */
        position: fixed;
        top: 8dvh;
        left: 0;
        height: 100%;
        /* Shrink the canvas width by exactly the width of the sidebar */
        width: 55%; 
        
        /* Center the 3D model within this new, smaller width */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .create_shirt {
        height: 84dvh;
        top: -8dvh;
    }

    .tap-info {
        bottom: 6dvh;
    }

    .preview-container {
        bottom: 6dvh;
        right: 2dvw;
    }

    .conversion-anchor-bar {
        position: absolute;
        width: 55%;
        padding: 2.4vh 3dvw;
        height: auto;
        bottom: 0dvh;
    }

    .canvas-left-dock {
        left: 2dvw;
    }

    .canvas-right-dock {
        right: 2dvw;
    }

    /* 🟨 3. HIDE MOBILE-ONLY ELEMENTS (Optional) */
    .mobile-drawer-handle, 
    .close-drawer-btn {
        display: none; /* Hide the drag handle or close 'X' on desktop */
    }
}

/* Create Page ends */


/* cart page */

/* Cart Page Base Layout */
.cart-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7dvh 5vw 14dvh 5dvw; /* Reduced top padding from 12dvh to 6dvh */
    min-height: 100dvh;
    background-color: var(--bg-light, #f8f8f8);
    gap: 3dvh;
}

/* 🟨 FIXED BOTTOM ACTION BAR */
.checkout-bottom-bar {
    position: fixed;
    /* Adjust this value (e.g., 10dvh or 70px) to sit perfectly above your nav bar */
    bottom: 10dvh; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px; /* Keeps it proportionate on larger screens */
    z-index: 2000;
    display: flex;
    justify-content: center;
    background: transparent; /* Removes the white blocking box */
    box-shadow: none;
    padding: 0;
}

@media (min-width: 768px) {
    .checkout-bottom-bar {
        padding: 2dvh 20dvw;
        max-width: 720px;
    }
}

/* 🟨 CONVERSION BUTTON (Brand Primary) */
.conversion-primary-btn {
    background-color: #a75739 !important; /* Brand Primary */
    color: #ffffff !important;
    padding: 2dvh 5vw !important;
    font-size: 1.8dvh !important;
    font-weight: 700;
    border-radius: 30px; /* Transforms it into a premium pill */
    border: none;
    /* Stronger, diffused shadow to make it pop off the scrolling content */
    box-shadow: 0 8px 25px rgba(167, 87, 57, 0.4); 
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.conversion-primary-btn:active {
    transform: scale(0.96);
    box-shadow: 0 4px 15px rgba(167, 87, 57, 0.3);
}

@media (min-width: 768px) {
    .cart-page { padding: 6dvh 20vw 8dvh 20dvw; }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.visible { visibility: visible; opacity: 1; }

.loading-spinner {
    border: 4px solid #f0f0f0;
    border-top: 4px solid var(--brand-eccentric, #164657);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Alert Banners */
.cart-alerts-wrapper {
    width: 100%;
    max-width: 720px;
}

.cart-alert {
    display: flex;
    align-items: center;
    padding: 2dvh 4dvw;
    border-radius: 12px;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.warning-alert { background-color: #fff8e1; border: 1px solid #ffe082; }
.success-alert { background-color: #e8f5e9; border: 1px solid #c8e6c9; }

.alert-icon { font-size: 2.5dvh; }
.warning-alert .alert-icon { color: #f57c00; }
.success-alert .alert-icon { color: #2e7d32; }

.alert-title { font-size: 1.6dvh; font-weight: 700; color: var(--text-secondary); margin: 0 0 4px 0; font-family: 'Montserrat', sans-serif;}
.alert-subtitle { font-size: 1.4dvh; color: var(--text-primary); margin: 0; }
.alert-micro { font-size: 1.1dvh; color: #888; margin: 4px 0 0 0; font-style: italic; }

/* Total & Coupon Summary Card */
.cart-summary-card {
    width: 100%;
    max-width: 720px;
    padding: 2.5dvh 5dvw;
}

.total_coupon-container {
    display: flex;
    flex-direction: column;
    gap: 2dvh;
}

.cart-total-display p {
    margin: 0;
    font-size: 2.2dvh;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.cart-total-display del {
    font-size: 1.4dvh;
    color: #aaa;
    font-weight: 400;
}

.summary-divider {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 0;
}

/* Micro Promo Hint */
.promo-micro-text {
    font-size: 1.15dvh; /* Slightly reduced size to fit */
    color: #2e7d32;
    background-color: #f7fbf8;
    padding: 8px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the text */
    gap: 6px;
    border: 1px dashed #c8e6c9;
    white-space: nowrap; /* 🟨 Forces everything to stay on one single line */
    width: 100%;
    margin: 0;
    display: none;
}

.milestone-text-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-eccentric);
}

/* Update your existing milestone wrapper styling slightly */
/* 1. Eccentric Themed Wrapper */
.cart-milestone-wrapper {
    background: #f2f6f7; /* Very faint tint of eccentric blue */
    border: 1px solid #d1dfe3; /* Soft eccentric border */
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 2. Eccentric Progress Bar */
.milestone-progress-track {
    width: 100%;
    height: 8px;
    background: #d1dfe3; /* Light grey-blue track */
    border-radius: 10px;
    overflow: hidden;
}

.milestone-progress-fill {
    height: 100%;
    /* Gradient from a slightly lighter eccentric blue to your core eccentric */
    background: linear-gradient(90deg, #2a738c, var(--brand-eccentric));
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}

/* 3. Eccentric Badges */
.milestone-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.clickable-badge {
    background: var(--brand-eccentric);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(22, 70, 87, 0.2); /* Shadow matching the eccentric hex */
    text-align: center;
}

.clickable-badge:hover {
    background: #113643; /* Darker hover state for #164657 */
    transform: translateY(-1px);
}

.applied-badge {
    background: var(--brand-eccentric);
    color: #f8f8f8;
    cursor: default;
}

/* Perfectly Aligned Input Group */
.coupon-input-group {
    display: flex;
    align-items: stretch; /* 🟨 Forces the input and button to match heights exactly */
    gap: 10px;
    width: 100%;
}

.coupon-input-group .modern-input {
    flex-grow: 1;
    text-transform: uppercase;
    margin: 0;
    height: auto; /* Lets flexbox dictate the height */
    padding: 1.2dvh 3dvw;
}

.coupon-input-group .support-action-btn {
    width: auto;
    margin: 0;
    padding: 0 4dvw; /* Horizontal padding only, flex-stretch handles vertical */
    border-radius: 8px;
    height: auto; /* Lets flexbox dictate the height */
}

/* Enlarged Premium Success Box */
.premium-success-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f6f7; /* Very faint eccentric blue background */
    border: 2px solid #d1dfe3; /* Soft eccentric blue border */
    padding: 2dvh 4dvw; /* Taller padding */
    border-radius: 8px;
    gap: 10px;
}

@media (min-width: 768px) {
    .premium-success-box { padding: 2dvh 2dvw; }
}

.check-icon {
    color: var(--brand-eccentric); /* Brand eccentric icon */
    font-size: 3dvh; /* Scaled up icon */
}

.success-title {
    font-size: 1.3dvh; /* Slightly scaled down for better fit */
    font-weight: 800;
    color: var(--brand-eccentric); /* Brand eccentric text */
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    white-space: normal; /* Allows text to wrap to a second line instead of clipping */
    line-height: 1.3;
}

/* Injected Cart Items */
.cart-items-wrapper {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 3dvh;
}

.cart-item-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    padding: 1.5dvh 5dvw;
    display: flex;
    flex-direction: column;
    gap: 0.6dvh;
}

.cart-front-back-container {
    display: flex;
    justify-content: center;
    gap: 1dvh;
    position: relative;
    padding-bottom: 2.5dvh;
    border-bottom: 1px dashed #eee;
}

.cart-modify-link {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f5f5f5;
    color: var(--brand-eccentric, #164657);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.2dvh;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
}

/* 🟨 COMPACT ITEM DETAILS GRID */
.cart-details {
    width: 100%;
}

.cart-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3-column top row for specs */
    gap: 1.5dvh 2dvw;
    align-items: center;
    text-align: center;
    width: 100%;
}

.cart-item-details p {
    margin: 0;
    font-size: 1.4dvh;
    color: var(--text-primary);
    background: #fdfdfd;
    padding: 0.8dvh;
    border-radius: 6px;
    border: 1px solid #f5f5f5;
}

.cart-item-details p strong {
    color: var(--text-secondary);
}

/* Combined Action Row (Quantity + Remove) */
.cart-action-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fcfcfc;
    border: 1px dashed #e0e0e0;
    padding: 1dvh 3dvw;
    border-radius: 8px;
    margin-top: 1dvh;
}

.qty-change-div {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 4px 15px;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.qty-change-btn-rdc, .qty-change-btn-inc {
    background: none;
    border: none;
    font-size: 1.8dvh;
    font-weight: 700;
    color: var(--brand-eccentric, #164657);
    cursor: pointer;
    padding: 2px 10px;
}

.qty-change-div span {
    font-size: 1.5dvh;
    font-weight: 700;
}

/* Item Total Value */
.item-total-price {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6dvh;
    font-weight: 700;
    background: #f7fbf8;
    border: 1px solid #c8e6c9;
    padding: 1.5dvh 3dvw;
    border-radius: 8px;
    color: var(--text-secondary);
}

.item-total-price p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rmv-item-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2dvh;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0;
    transition: color 0.2s;
    box-shadow: none;
    background-color: rgba(100, 100, 100, 0.05);
}

.rmv-item-btn:hover { color: #a71d2a; }

/* Bottom Action Buttons */
.cart-action-buttons {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1.5dvh;
}

/* Confirmation Modal Overlays */
.premium-modal-overlay {
    position: fixed;
    top: -3dvh; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🟨 MODAL MODIFIER: Premium Modal Long (Cart Specific) */
.premium-modal-long {
    max-height: 90vh !important;
    padding: 1dvh 5vw !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Enable scrolling strictly within the visuals container */
.premium-modal-long .confirmation-visuals {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* Allows scrolling for vertically stacked shirts */
    padding: 1dvh 0;
    gap: 2dvh;
}

/* Force vertical stacking of the front and back containers */
.premium-modal-long .cart-front-back-container {
    display: flex;
    flex-direction: column !important; /* Forces vertical layout */
    align-items: center;
    gap: 1dvh;
    padding-bottom: 0;
    border-bottom: none;
    width: 100%;
}

.confirm-shirt-view-container {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* Scale shirts for the vertical stack */
.premium-modal-long .cart-shirt-view {
    height: 40dvh; /* Adjusts height to ensure they are large and clearly visible */
    width: auto;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    margin: -6dvh 0 0 0;
}

/* Desktop override to return to side-by-side if screen is wide enough */
@media (min-width: 768px) {
    .premium-modal-long .cart-front-back-container {
        flex-direction: row !important;
        justify-content: center;
    }
    .premium-modal-long .cart-shirt-view {
        height: 45dvh;
    }
}

#confirmation-text {
  margin: 0 !important;
}

.confirm-specs-badge {
    background-color: #f9f9f9;
    padding: 1dvh;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.3dvh;
    color: var(--text-primary);
    margin: 0;
}

.spec-divider { color: #ccc; }

.confirmation-visuals {
    flex-grow: 1;
    min-height: 40dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Preserve Cart Component Rendering Math */
.cart-shirt-view {
    position: relative;
    width: 32dvw;
    height: 48dvw;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cart-shirt-view { width: 15dvw; height: 22.5dvw; }
}

/* 1. Center the parent containers exactly in the middle of the view */
.shirt-component-container, .cart-mannf-div, .cart-mannb-div {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
}

/* 2. The child mask component simply fills its perfectly centered parent */
.cart-shirt-component {
    position: absolute;
    top: 0; left: 0;
    transform: none; /* 🟨 Removes the double-shift pushing it off screen! */
    width: 100%; height: 100%;
    object-fit: cover;
    mask-repeat: no-repeat; mask-position: center; mask-size: cover;
    -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: cover;
}

.cart-msh-NT-div { position: absolute; z-index: 1; top: 51%; left: 36%; transform: translate(-50%, -50%) rotate(-2deg); font-family: monospace; font-weight: bold; font-size: 0.64dvw; }
.cart-fsh-NT-div { position: absolute; z-index: 1; top: 44%; left: 39%; transform: translate(-50%, -50%) rotate(-2deg); font-family: monospace; font-weight: bold; font-size: 0.56dvw; }


/* 4. Fix the stretched "Go Back" button */
.confirmation-nav {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: stretch; /* Forces both sides to equal height */
}

/* Ensure the button and the form wrapper split the space 50/50 */
.confirmation-nav > button,
.confirmation-nav > form {
    flex: 1;
    margin: 0;
    display: flex; 
}

/* Force the buttons inside the flex items to match heights identically */
/* 🟨 Unified Button Box Model for Confirmation Nav */
.confirmation-nav button,
.confirmation-nav .support-action-btn,
.confirmation-nav .primary-action-btn {
    box-sizing: border-box !important;
    height: 5.5dvh !important; /* Forces an identical, rigid height */
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* cart page ends */

/* Address Cards */
/* Premium Address Card Container */

.add-address-page {
  padding: 9dvh 6dvw;
}

.address-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 2.5dvh 5dvw;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    margin-bottom: 2dvh;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
    .address-card { padding: 3dvh 2dvw; }
}

/* Header Layout (Stacked for maximum breathing room) */
.address-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns both elements to the left */
    gap: 1.2dvh; /* Adds clean vertical spacing between the name and pill */
    margin-bottom: 2dvh;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 1.5dvh;
}

/* Name Grouping */
.address-title-group {
    display: flex;
    align-items: center;
    gap: 8px; /* Adds physical space between icon and text */
}

.address-icon {
    font-size: 2dvh;
    color: var(--brand-eccentric, #164657);
}

.address-name {
    font-size: 1.8dvh;
    font-weight: 700;
    color: var(--text-secondary, #323232);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

/* Phone Number Pill Badge */
.address-phone-badge {
    background-color: #f9f9f9;
    color: var(--text-primary, #646464);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1.3dvh;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #eeeeee;
}

.address-phone-badge i {
    color: var(--brand-primary, #a75739);
    font-size: 1.1dvh;
}

/* Address Body Typography */
.address-body {
    font-size: 1.4dvh;
    color: var(--text-primary, #646464);
    line-height: 1.6;
    margin-bottom: 2dvh;
}

.address-body p {
    margin: 0 0 4px 0; /* Prevents awkward line spacing */
}

/* Action Buttons (Edit / Delete) */
.address-actions {
    display: flex;
    gap: 6dvw; /* Generous touch target spacing for mobile */
}

@media (min-width: 768px) {
    .address-actions { gap: 2dvw; }
}

.text-action-btn {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 1.2dvh;
    font-weight: 700;
    color: var(--text-primary, #646464);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    box-shadow: none !important; /* Removes any default button shadows */
}

.text-action-btn i {
    font-size: 1.4dvh;
}

/* Button Hover States */
.text-action-btn:hover { color: var(--brand-eccentric, #164657); }
.text-action-btn.destructive { color: #dc3545; }
.text-action-btn.destructive:hover { color: #a71d2a; }

.selected-card {
    border-color: var(--brand-eccentric, #164657);
    background-color: #fcfdfe;
}

.selected-badge {
    font-size: 1.2dvh;
    font-weight: 700;
    color: var(--brand-eccentric, #164657);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1dvh;
}

.sr-card {
    background-color: #f7fbf8;
    border-color: #d1e7dd;
}

.shiprocket-header {
    font-size: 1.3dvh;
    font-weight: 700;
    color: #0f5132;
    text-transform: uppercase;
    margin-bottom: 1dvh;
}

/* Modern Form Elements */
.form-section-title {
    font-size: 2dvh;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 2dvh;
    font-family: 'Montserrat', sans-serif;
}

.modern-form { width: 100%; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2dvh;
}

@media (min-width: 768px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .full-width { grid-column: span 2; }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5dvh;
}

.input-group label {
    font-size: 1.2dvh;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-input {
    padding: 1.5dvh;
    border: 2px solid var(--brand-primary, #a75739);
    border-radius: 8px;
    font-size: 1.5dvh;
    color: var(--brand-primary, #a75739);
    background-color: #fafafa;
    transition: all 0.2s ease;
    margin: 0;
}

.modern-input:focus {
    outline: none;
    border-color: var(--brand-eccentric, #164657);
    background-color: #f8f8f8;
    box-shadow: 0 0 0 3px rgba(22, 70, 87, 0.1);
}

.error-text {
    color: #dc3545;
    font-size: 1.1dvh;
    font-weight: 600;
    display: none;
    margin-top: 4px;
}

.form-actions-row {
    display: flex;
    gap: 2dvw;
    margin-top: 3dvh;
}

/* Master Checkout Button */
.checkout-footer {
    width: 100%;
    max-width: 720px;
    margin-top: 4dvh;
}

.mt-2 { margin-top: 1dvh; }
.mt-3 { margin-top: 2dvh; }
.mt-4 { margin-top: 4dvh; }
.divider { border: 0; border-top: 1px solid #e0e0e0; margin: 3dvh 0; }

/*manage size page*/

/* Manage Sizes Base Layout */
.manage-sizes-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12dvh 5vw 8dvh 5dvw;
    min-height: 100dvh;
    background-color: var(--bg-light, #f8f8f8);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2dvh;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1dvh;
}

/* Custom Unit Toggle Pill (Replaces Bootstrap Group) */
/* Premium Unit Toggle Pill */
.unit-nav-pill {
    display: flex;
    background-color: #eeeeee; /* Softer, premium gray */
    border-radius: 30px;
    padding: 4px;
    width: 100%;
    max-width: 200px; /* Constrains the pill so it doesn't stretch awkwardly */
}

.unit-nav-pill .btn-check {
    display: none;
}

.unit-label {
    flex: 1; /* Guarantees both INCHES and CM take up exactly 50% of the pill */
    text-align: center;
    padding: 1dvh 0; /* Taller padding for a better touch target */
    border-radius: 26px;
    font-size: 1.2dvh;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #888888; /* Subtle unselected color */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother sliding animation */
    text-transform: uppercase;
    letter-spacing: 1px; /* Adds premium breathing room between letters */
    margin: 0;
}

.btn-check:checked + .unit-label {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); /* Much softer, diffused shadow */
    color: var(--brand-eccentric, #164657);
}

/* Data Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2dvh;
    width: 100%;
}

@media (min-width: 768px) {
    .cards-grid { grid-template-columns: 1fr 1fr; }
}

/* Premium Card Padding */
.profile-data-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 3dvh 6dvw; /* Generous internal padding */
    border: 1px solid #f0f0f0;
}

@media (min-width: 768px) {
    .profile-data-card { padding: 3dvh 2.5dvw; }
}

/* Card Header Structural Spacing */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2dvh;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5dvh;
}

/* Card Titles */
.card-title-text {
    font-size: 1.6dvh;
    font-weight: 700;
    color: var(--text-secondary, #323232);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px; /* Adds space between icon and name */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Prevents long names from breaking the layout */
}

.card-title-text i {
    color: var(--brand-primary, #a75739);
}

/* Premium Pill Badge (Specifically for Manage Sizes Page) */
.profile-tag-pill {
    background-color: #f5f5f5;
    color: var(--text-secondary, #323232);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1.1dvh;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 1px solid #eeeeee;
}

/* Subtle Text Badge (For Scan Date) */
.badge-subtle {
    color: #888888;
    font-size: 1.2dvh;
    font-weight: 600;
    white-space: nowrap;
}

/* Rigid 2-Column Grid to eliminate empty right space */
.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forces two equal columns */
    column-gap: 6dvw; /* Generous gap between the left and right columns */
    row-gap: 2dvh; /* Clean vertical spacing between rows */
    width: 100%;
    margin-bottom: 3dvh;
}

@media (min-width: 768px) {
    .data-grid { column-gap: 3dvw; }
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 6px;
}

.data-label {
    color: #888888;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1dvh;
    letter-spacing: 0.5px;
}

.data-val {
    color: var(--text-primary, #323232);
    font-weight: 700;
    font-size: 1.4dvh;
    text-align: right;
}

.sync-check-box {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    padding: 1.5dvh;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sync-check-box label {
    font-size: 1.2dvh;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    cursor: pointer;
}

/*Saved Avatar page start*/
  /* Manage Avatars Base Layout */
.manage-avatars-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12dvh 5vw 8dvh 5dvw;
    min-height: 100dvh;
    background-color: var(--bg-light, #f8f8f8);
}

/* Responsive Grid for Avatars */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 3dvh 4dvw;
    width: 100%;
}

@media (min-width: 768px) {
    .avatar-grid { 
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 3dvh 2dvw; 
    }
}

/* Premium Image Card */
.avatar-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.avatar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.avatar-img-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3; /* Maintains standard portrait proportions */
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Action Bar */
.avatar-actions {
    padding: 1.5dvh 0;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    border-top: 1px solid #f5f5f5;
}
/* saved avatar page end */

/*payment page*/

.payment-page {
  font-family: 'Montserrat', sans-serif;
  padding: 9dvh 6dvw;
}

.payment-order-value {
  color: var(--brand-eccentric);
}

#paymentPageDetails {
  margin-top: 0ch;
}

.paymentPage_buttons {
  display: flex;
  justify-content: center; /* Centers the buttons horizontally */
  align-items: center; /* Vertically centers the buttons */
  gap: 1ch; /* Adds space between the buttons */
  padding: 1ch 0; /* Adds padding above and below the buttons */
  margin-top: 1ch;
}

.payNow_button {
  padding: 5px 15px;
  border-radius: 10px;
  background-color:#a75839; /* Background color for the button */
  opacity: 0.85;
  justify-content: center; /* Centers the buttons horizontally */
  align-items: center; /* Vertically centers the buttons */
  color: var(--light-grey-color);
  font-weight: bold;
  font-size: large;
  border: none; /* Removes default border */
  cursor: pointer; /* Adds a pointer cursor on hover */
}

.payNow_button:hover {
  background-color: #776502; /* Darkens background on hover */
}

.modifyItems_button {
  background-color: rgba(100, 100, 100, 0.25);
  color: rgb(255, 255, 248, 0.5);
  padding: 0px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

#razorpay-affordability-widget {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 15px;
    }
#razorpay-affordability-widget iframe {
        width: 100% !important;
        max-width: 500px !important; /* Matches Razorpay's 31.25rem limit */
        margin: 0 auto !important;
        display: block !important;
    }

/* 🟨 ORDER COMPLETION ANIMATIONS */

.order-completion-page {
  padding: 9dvh 6dvw;
  max-width: 720px;
  font-family: 'Montserrat', sans-serif;
}

/* 🟨 ORDER COMPLETION ANIMATIONS (UPDATED) */
.animation-container {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Success State - Brand Primary Colors */
.success-animated .circle {
    width: 100%;
    height: 100%;
    border: 4px solid var(--brand-primary, #a75739); 
    border-radius: 50%;
    position: absolute;
    opacity: 0; /* Start hidden */
    transform: scale(0);
    animation: circleExpand 0.5s ease-out forwards;
}

.success-animated .check {
    width: 25px;
    height: 45px;
    border: solid var(--brand-primary, #a75739);
    border-width: 0 4px 4px 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0; /* Start hidden */
    animation: checkAppear 0.4s 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

/* Failure State - Remains Error Red */
.animation-container.failure .circle {
    border-color: #dc3545; 
}

.cross {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    animation: checkAppear 0.3s 0.5s forwards ease-in;
}

.cross .line1, .cross .line2 {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #dc3545;
    left: 50%;
    transform: translateX(-50%);
}

.cross .line1 { transform: translateX(-50%) rotate(45deg); }
.cross .line2 { transform: translateX(-50%) rotate(-45deg); }

/* Animation Keyframes */
@keyframes circleExpand {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes checkAppear {
    0% { 
        height: 0; 
        width: 0; 
        opacity: 0; 
    }
    50% {
        height: 0;
        width: 25px;
        opacity: 1;
    }
    100% { 
        height: 45px; 
        width: 25px;
        opacity: 1; 
    }
}

/* Order List Page - Premium DTC Aesthetic */
.order-list-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12dvh 5vw 8dvh 5dvw;
    min-height: 100dvh;
    background-color: var(--bg-light, #f8f8f8);
}

/* Inherits your exact requested header styling */
.profile-header h2 {
    font-size: 3.2dvh;
    font-weight: 300;
    color: var(--text-primary, #646464);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Category Toggle Nav Pill */
.order-nav-pill {
    display: flex;
    background-color: #e0e0e0;
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 4dvh;
    width: 100%;
    max-width: 300px;
}

.order-nav-pill a, .order-nav-pill span {
    flex: 1;
    text-align: center;
    padding: 1.2dvh 0;
    border-radius: 26px;
    font-size: 1.4dvh;
    font-weight: 600;
    color: var(--text-secondary, #323232);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.order-nav-pill span.active {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: var(--brand-eccentric, #164657);
}

/* List Container */
.order-list-container {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 2dvh;
}

/* Individual Order Card */
.order-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.order-card:active {
    transform: scale(0.98);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2dvh 5vw 1.5dvh 5dvw;
    border-bottom: 1px solid #f5f5f5;
}

@media (min-width: 768px) {
    .order-card-header, .order-card-body, .order-card-footer, .order-card-action {
        padding-left: 2dvw;
        padding-right: 2dvw;
    }
}

.order-id {
    font-size: 1.6dvh;
    font-weight: 700;
    color: var(--text-secondary, #323232);
    font-family: 'Montserrat', sans-serif;
}

.order-date {
    font-size: 1.3dvh;
    color: #888888;
}

.order-card-body {
    display: flex;
    justify-content: space-between;
    padding: 2dvh 5dvw;
}

.order-info-column {
    display: flex;
    flex-direction: column;
    gap: 0.5dvh;
}

.text-right {
    text-align: right;
    align-items: flex-end;
}

.order-label {
    font-size: 1.2dvh;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.order-value {
    font-size: 1.8dvh;
    font-weight: 700;
    color: var(--text-secondary, #323232);
}

.old-price {
    font-size: 1.4dvh;
    color: #aaaaaa;
    font-weight: 400;
    margin-left: 4px;
}

/* Status Badges */
.order-status {
    font-size: 1.3dvh;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-success { background-color: #e6f4ea; color: #1e7e34; }
.badge-warning { background-color: #fff3cd; color: #856404; }
.badge-danger { background-color: #f8d7da; color: #721c24; }
.badge-neutral { background-color: #e2e3e5; color: #383d41; }

.order-card-footer {
    padding: 1.5dvh 5dvw;
    background-color: #fcfcfc;
    border-top: 1px solid #f5f5f5;
}

.delivery-est {
    font-size: 1.3dvh;
    font-weight: 600;
    color: var(--brand-eccentric, #164657);
}

.order-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5dvh 5dvw;
    background-color: #f9f9f9;
    border-top: 1px dashed #e0e0e0;
    font-size: 1.4dvh;
    font-weight: 600;
    color: var(--brand-primary, #a75739);
    font-family: 'Montserrat', sans-serif;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 6dvh 0;
    color: #888888;
}

.empty-icon {
    font-size: 4dvh;
    margin-bottom: 2dvh;
    color: #cccccc;
}


/* Order Detail Page Base */
.order-detail-page {
    display: flex;
    flex-direction: column;
    padding: 10dvh 5vw 8dvh 5dvw;
    min-height: 100dvh;
    background-color: var(--bg-light, #f8f8f8);
    gap: 3dvh;
}

@media (min-width: 768px) {
    .order-detail-page { padding: 12dvh 20vw 8dvh 20dvw; }
}

.delivery-highlight-box {
    background-color: #f4f7f8; /* Very soft gray/blue tint */
    border-left: 4px solid #164657; /* Your brand eccentric color */
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 4px;
    display: inline-block; /* Keeps the box tightly wrapped around the text */
}

.delivery-highlight-box .expected-date {
    margin: 0;
    font-size: 14px;
    color: #4a4a4a;
}

.delivery-highlight-box strong {
    color: #164657; /* Matches the border */
    font-size: 15px;
    font-weight: 700;
}

.delivery-highlight-box .delivery-icon {
    color: #164657;
    margin-right: 8px;
    font-size: 14px;
}

/* Header & Navigation */
.detail-header {
    display: flex;
    flex-direction: column;
    gap: 1dvh;
    margin-bottom: 1dvh;
}

.back-link {
    font-size: 1.4dvh;
    font-weight: 600;
    color: var(--brand-eccentric, #164657);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
}

.detail-header h2 {
    font-size: 3.2dvh;
    font-weight: 300;
    color: var(--text-primary, #646464);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Shared Premium Card Style */
.detail-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 3dvh 5dvw;
    width: 100%;
}

@media (min-width: 768px) {
    .detail-card { padding: 3dvh 3dvw; }
}

/* Order Total Summary JS Target */
.order-total-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5dvh 5vw !important;
}

.order-total-card p {
    margin: 0;
    font-size: 1.8dvh !important;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
}

.order-total-card span {
    color: var(--brand-eccentric, #164657);
    font-weight: 700;
}

/* JS-Injected Individual Order Items */
.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 2dvh;
}

.order-items-list > div { /* Targets the JS itemDiv */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 2.5dvh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.order-front-back-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2dvw;
    margin-bottom: 2dvh;
    width: 100%;
}

/* Shirt View (Matching the cart logic) */
.order-shirt-view {
    position: relative;
    width: 40dvw;
    height: 60dvw;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .order-shirt-view {
        width: 15dvw;
        height: 22.5dvw;
    }
}

/* JS-Injected Item Details Typography */
.order-details {
    width: 100%;
    padding: 0 5dvw;
    text-align: center;
}

.order-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5dvh;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.order-item-details p {
    margin: 0;
    font-size: 1.4dvh;
    font-weight: 400;
}

.order-item-details p:first-child {
    font-weight: 700;
    font-size: 1.8dvh;
    color: var(--text-secondary);
    margin-bottom: 0.5dvh;
}

/* Reviews Section within Item */
.item-review {
    width: 90%;
    margin-top: 2dvh;
    padding-top: 2dvh;
    border-top: 1px dashed #eee;
}

.item-review h6 {
    font-size: 1.4dvh;
    color: var(--text-secondary);
    margin-bottom: 1dvh;
    text-transform: uppercase;
}

.review-text {
    font-size: 1.3dvh;
    font-style: italic;
    color: #666;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
}

/* Tracking Card Formatting */
.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5dvh;
    margin-bottom: 1.5dvh;
}

.tracking-header h3 {
    font-size: 1.8dvh;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0;
}

.awb-badge {
    background-color: #e0e0e0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.2dvh;
    font-weight: 600;
}

.status-highlight {
    font-size: 1.6dvh;
    font-weight: 700;
    color: var(--brand-eccentric, #164657);
    text-transform: uppercase;
    margin: 0 0 4px 0;
}

.expected-date {
    font-size: 1.3dvh;
    color: #888;
    margin: 0 0 2.5dvh 0;
}

/* Vertical Timeline */
.tracking-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    height: 100%;
    width: 2px;
    background: #eaeaea;
}

.tracking-timeline li {
    display: flex;
    gap: 15px;
    margin-bottom: 2dvh;
    position: relative;
}

.tracking-timeline li:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid var(--brand-primary, #a75739);
    border-radius: 50%;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: -2px;
}

.scan-date { font-size: 1.1dvh; color: #999; font-weight: 600; }
.scan-location { font-size: 1.4dvh; font-weight: 700; color: var(--text-secondary); }
.scan-detail { font-size: 1.3dvh; color: #666; }

/* WhatsApp Support Buttons */
.order-support-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.5dvh;
    margin-top: 2dvh;
}

/*profile page*/

/* Profile Page - Premium DTC Aesthetic */
.profile-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12dvh 5vw 8dvh 5dvw;
    min-height: 100dvh;
    background-color: var(--bg-light, #f8f8f8);
}

.profile-header {
    text-align: center;
    margin-bottom: 4dvh;
}

.profile-header h2 {
    font-size: 3.2dvh;
    font-weight: 300;
    color: var(--text-primary, #646464);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.profile-alert {
    background-color: #e2f0e6;
    color: #2e6b3c;
    padding: 1.5dvh 4dvw;
    border-radius: 6px;
    margin-bottom: 3dvh;
    font-size: 1.4dvh;
    font-weight: 600;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Menu List Container */
.profile-menu-list {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 4dvh;
    display: flex;
    flex-direction: column;
}

/* Individual Navigation Buttons */
.profile-btn {
    display: flex;
    align-items: center;
    padding: 2.5dvh 5dvw;
    text-decoration: none;
    color: var(--text-secondary, #323232);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
    .profile-btn { padding: 2.5dvh 2dvw; }
}

.profile-btn:last-child {
    border-bottom: none;
}

.profile-btn:active, .profile-btn:hover {
    background-color: #f9f9f9;
}

/* Primary Icon (Left) */
.profile-btn i:first-child {
    font-size: 2.2dvh;
    color: var(--brand-eccentric, #164657);
    width: 35px;
    text-align: center;
    margin-right: 15px;
}

/* Text Label */
.profile-btn span {
    flex-grow: 1;
    font-size: 1.6dvh;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}

/* Chevron Icon (Right) */
.profile-btn .arrow-icon {
    font-size: 1.4dvh;
    color: #cccccc;
}

/* Destructive / Secondary Action Logout Button */
.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    padding: 2dvh 0;
    background-color: transparent;
    color: var(--brand-primary, #a75739);
    border: 2px solid var(--brand-primary, #a75739);
    border-radius: 8px;
    font-size: 1.5dvh;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.logout-btn:active, .logout-btn:hover {
    background-color: var(--brand-primary, #a75739);
    color: #ffffff;
}

/* Review page */

    /* Premium Fashion UI Overrides for Reviews */
    .reviews-page-container {
        padding-top: 80px; /* Accounts for fixed navbar */
        padding-bottom: 60px;
    }

    .review-card {
        background: #ffffff;
        border: 1px solid #eaeaea;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .review-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .review-text-p {
        color: #4a4a4a;
        font-size: 14px;
        line-height: 1.7;
        font-style: italic;
    }

    /* Custom Pagination Styling to match Maqeurown */
    .mq-pagination .page-link {
        color: #1a1a1a;
        border: 1px solid #eaeaea;
        margin: 0 4px;
        border-radius: 8px !important;
        font-weight: 600;
        font-size: 13px;
        transition: all 0.2s ease;
    }

    .mq-pagination .page-link:hover {
        background-color: #f8f9fa;
        border-color: #dcdcdc;
        color: #000;
    }

    .mq-pagination .page-item.active .page-link {
        background-color: #212529;
        border-color: #212529;
        color: #ffffff;
    }

    .mq-pagination .page-item.disabled .page-link {
        color: #adb5bd;
        background-color: transparent;
        border-color: #eaeaea;
    }

/*login page*/

.btn-google {
  background-color: transparent !important;  /* Force background to be transparent */
  border: none !important;                   /* Force no border */
  padding: 0 !important;                     /* Force no padding */
}

.custom-sign-in-btn {
  padding: 10px auto;
  border-radius: 4px;
  color: rgba(255, 255, 248, 0.85);
  background-color: rgba(167, 88, 57, 0.85);
  font-weight: 400;
  font-size: 16px;
  margin-top: 00px;
  text-transform: none;
  width: 50dvw;
  max-width: 300px;
  border-width: 0.4px;
  border-color: rgba(255, 255, 248, 1);
}

.loginPage {
margin-left: 2ch;
margin-top: 5ch;
position: relative;
}
.registerPage {
  margin-left: 2ch;
  }

  /*verify OTP page*/
.verifyOTP_page .card {
  background-color: rgb(100, 100, 100);
}

.verifyOTP_page h2 {
  color: rgba(255, 255, 248, 0.65);
  font-size: 18px
}

.verifyOTP_page .form-label {
  color: rgba(255, 255, 248, 0.65);
  font-size: 14px
}

.verifyOTP_page .verifyOTP_text {
  display: flex;
  flex-wrap: wrap;
  color: rgba(255, 255, 248, 0.65);
  font-size: 14px;
  justify-content: center;
}

#id_otp {
  font-size: 12px;
  font-weight: 400;
  padding-left: 1ch;
  width: 50dvw;
  margin: 0 0 0 0;
  border-radius: 4px;
}

.verifyOTP-btn {
  background-color: rgba(167, 87, 57, 0.85);
  font-size: 14px;
  padding: 4px 4px;
  border-radius: 4px;
  width: auto;
  text-transform: capitalize;
}

.verifyOTP_page a {
  color: rgba(255, 255, 248, 0.65);
}

/*signup page*/
/* Style the help text container */
.helptext {
  font-size: 4px;          /* Adjust font size */
  color: #555;              /* Customize text color */
  margin-top: 8px;          /* Add spacing above the help text */
  padding-left: 20px;       /* Indent to align with bullets */
}

.helptext a {
  display: block;  /* This forces the link onto a new line */
  margin-top: 5px; /* Optional: Adds space above the link */
}

/* Style for the list items */
.helptext ul {
  list-style-type: disc;    /* Set bullet style to disc */
  padding-left: 20px;       /* Ensure bullets align */
  margin-top: 0;
}

.helptext li {
  margin-bottom: 6px;       /* Space between each rule */
}

/*admin-page*/

.pagination-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination-controls button {
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
}

.pagination-controls .active {
  font-weight: bold;
  background-color: #007bff;
  color: white;
}

