/*!
 * animate.css -http://daneden.me/animate
 * Version - 3.5.1
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2016 Daniel Eden
 */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both; }

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite; }

.animated.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s; }

.animated.flipOutX,
.animated.flipOutY,
.animated.bounceIn,
.animated.bounceOut {
  -webkit-animation-duration: .75s;
  animation-duration: .75s; }

@-webkit-keyframes bounce {
  from, 20%, 53%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  40%, 43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0); }
  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0); }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0); } }
@keyframes bounce {
  from, 20%, 53%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  40%, 43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0); }
  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0); }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0); } }
.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom; }

@-webkit-keyframes flash {
  from, 50%, to {
    opacity: 1; }
  25%, 75% {
    opacity: 0; } }
@keyframes flash {
  from, 50%, to {
    opacity: 1; }
  25%, 75% {
    opacity: 0; } }
.flash {
  -webkit-animation-name: flash;
  animation-name: flash; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse; }

@-webkit-keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1); }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1); }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1); }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1); }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1); }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1); }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand; }

@-webkit-keyframes shake {
  from, to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); } }
@keyframes shake {
  from, to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); } }
.shake {
  -webkit-animation-name: shake;
  animation-name: shake; }

@-webkit-keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0); }
  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg); }
  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg); }
  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg); }
  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg); }
  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0); } }
@keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0); }
  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg); }
  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg); }
  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg); }
  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg); }
  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0); } }
.headShake {
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: headShake;
  animation-name: headShake; }

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg); }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg); }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg); }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg); }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg); } }
@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg); }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg); }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg); }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg); }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg); } }
.swing {
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing; }

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  10%, 20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  10%, 20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.tada {
  -webkit-animation-name: tada;
  animation-name: tada; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes wobble {
  from {
    -webkit-transform: none;
    transform: none; }
  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); }
  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); }
  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); }
  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); }
  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes wobble {
  from {
    -webkit-transform: none;
    transform: none; }
  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); }
  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); }
  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); }
  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); }
  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); }
  to {
    -webkit-transform: none;
    transform: none; } }
.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble; }

@-webkit-keyframes jello {
  from, 11.1%, to {
    -webkit-transform: none;
    transform: none; }
  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg); }
  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg); }
  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg); }
  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg); }
  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg); }
  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg); }
  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg); } }
@keyframes jello {
  from, 11.1%, to {
    -webkit-transform: none;
    transform: none; }
  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg); }
  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg); }
  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg); }
  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg); }
  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg); }
  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg); }
  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg); } }
.jello {
  -webkit-animation-name: jello;
  animation-name: jello;
  -webkit-transform-origin: center;
  transform-origin: center; }

@-webkit-keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03); }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97); }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03); }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97); }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.bounceIn {
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn; }

@-webkit-keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0); }
  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0); }
  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown; }

@-webkit-keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
.bounceInLeft {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft; }

@-webkit-keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
.bounceInRight {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight; }

@-webkit-keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0); }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0); }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp; }

@-webkit-keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  50%, 55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); } }
@keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  50%, 55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); } }
.bounceOut {
  -webkit-animation-name: bounceOut;
  animation-name: bounceOut; }

@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
  animation-name: bounceOutDown; }

@-webkit-keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
.bounceOutLeft {
  -webkit-animation-name: bounceOutLeft;
  animation-name: bounceOutLeft; }

@-webkit-keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
@keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
.bounceOutRight {
  -webkit-animation-name: bounceOutRight;
  animation-name: bounceOutRight; }

@-webkit-keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
@keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  animation-name: bounceOutUp; }

@-webkit-keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn; }

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown; }

@-webkit-keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInDownBig {
  -webkit-animation-name: fadeInDownBig;
  animation-name: fadeInDownBig; }

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-10%, 0, 0);
    transform: translate3d(-10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-10%, 0, 0);
    transform: translate3d(-10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft; }

@-webkit-keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInLeftBig {
  -webkit-animation-name: fadeInLeftBig;
  animation-name: fadeInLeftBig; }

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(10%, 0, 0);
    transform: translate3d(10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(10%, 0, 0);
    transform: translate3d(10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight; }

@-webkit-keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig; }

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 150%, 0);
    transform: translate3d(0, 150%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 150%, 0);
    transform: translate3d(0, 150%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp; }

@-webkit-keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInUpBig {
  -webkit-animation-name: fadeInUpBig;
  animation-name: fadeInUpBig; }

@-webkit-keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }
@keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }
.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut; }

@-webkit-keyframes fadeOutDown {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
@keyframes fadeOutDown {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown; }

@-webkit-keyframes fadeOutDownBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
@keyframes fadeOutDownBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
.fadeOutDownBig {
  -webkit-animation-name: fadeOutDownBig;
  animation-name: fadeOutDownBig; }

@-webkit-keyframes fadeOutLeft {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
@keyframes fadeOutLeft {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft; }

@-webkit-keyframes fadeOutLeftBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
@keyframes fadeOutLeftBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
.fadeOutLeftBig {
  -webkit-animation-name: fadeOutLeftBig;
  animation-name: fadeOutLeftBig; }

@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
@keyframes fadeOutRight {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight; }

@-webkit-keyframes fadeOutRightBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
@keyframes fadeOutRightBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
.fadeOutRightBig {
  -webkit-animation-name: fadeOutRightBig;
  animation-name: fadeOutRightBig; }

@-webkit-keyframes fadeOutUp {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
@keyframes fadeOutUp {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
.fadeOutUp {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp; }

@-webkit-keyframes fadeOutUpBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
@keyframes fadeOutUpBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
.fadeOutUpBig {
  -webkit-animation-name: fadeOutUpBig;
  animation-name: fadeOutUpBig; }

@-webkit-keyframes flip {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; } }
@keyframes flip {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; } }
.animated.flip {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip; }

@-webkit-keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
@keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX; }

@-webkit-keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
@keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY; }

@-webkit-keyframes flipOutX {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0; } }
@keyframes flipOutX {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0; } }
.flipOutX {
  -webkit-animation-name: flipOutX;
  animation-name: flipOutX;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important; }

@-webkit-keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0; } }
@keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0; } }
.flipOutY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY; }

@-webkit-keyframes lightSpeedIn {
  from {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0; }
  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1; }
  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1; }
  to {
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes lightSpeedIn {
  from {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0; }
  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1; }
  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1; }
  to {
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.lightSpeedIn {
  -webkit-animation-name: lightSpeedIn;
  animation-name: lightSpeedIn;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out; }

@-webkit-keyframes lightSpeedOut {
  from {
    opacity: 1; }
  to {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0; } }
@keyframes lightSpeedOut {
  from {
    opacity: 1; }
  to {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0; } }
.lightSpeedOut {
  -webkit-animation-name: lightSpeedOut;
  animation-name: lightSpeedOut;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in; }

@-webkit-keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn; }

@-webkit-keyframes rotateInDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInDownLeft {
  -webkit-animation-name: rotateInDownLeft;
  animation-name: rotateInDownLeft; }

@-webkit-keyframes rotateInDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInDownRight {
  -webkit-animation-name: rotateInDownRight;
  animation-name: rotateInDownRight; }

@-webkit-keyframes rotateInUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInUpLeft {
  -webkit-animation-name: rotateInUpLeft;
  animation-name: rotateInUpLeft; }

@-webkit-keyframes rotateInUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInUpRight {
  -webkit-animation-name: rotateInUpRight;
  animation-name: rotateInUpRight; }

@-webkit-keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0; } }
@keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0; } }
.rotateOut {
  -webkit-animation-name: rotateOut;
  animation-name: rotateOut; }

@-webkit-keyframes rotateOutDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; } }
@keyframes rotateOutDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; } }
.rotateOutDownLeft {
  -webkit-animation-name: rotateOutDownLeft;
  animation-name: rotateOutDownLeft; }

@-webkit-keyframes rotateOutDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
@keyframes rotateOutDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
.rotateOutDownRight {
  -webkit-animation-name: rotateOutDownRight;
  animation-name: rotateOutDownRight; }

@-webkit-keyframes rotateOutUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
@keyframes rotateOutUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
.rotateOutUpLeft {
  -webkit-animation-name: rotateOutUpLeft;
  animation-name: rotateOutUpLeft; }

@-webkit-keyframes rotateOutUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0; } }
@keyframes rotateOutUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0; } }
.rotateOutUpRight {
  -webkit-animation-name: rotateOutUpRight;
  animation-name: rotateOutUpRight; }

@-webkit-keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  20%, 60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  40%, 80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1; }
  to {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0; } }
@keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  20%, 60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  40%, 80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1; }
  to {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0; } }
.hinge {
  -webkit-animation-name: hinge;
  animation-name: hinge; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes rollIn {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes rollIn {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.rollIn {
  -webkit-animation-name: rollIn;
  animation-name: rollIn; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes rollOut {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); } }
@keyframes rollOut {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); } }
.rollOut {
  -webkit-animation-name: rollOut;
  animation-name: rollOut; }

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  50% {
    opacity: 1; } }
@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  50% {
    opacity: 1; } }
.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn; }

@-webkit-keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInDown {
  -webkit-animation-name: zoomInDown;
  animation-name: zoomInDown; }

@-webkit-keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInLeft {
  -webkit-animation-name: zoomInLeft;
  animation-name: zoomInLeft; }

@-webkit-keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInRight {
  -webkit-animation-name: zoomInRight;
  animation-name: zoomInRight; }

@-webkit-keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp; }

@-webkit-keyframes zoomOut {
  from {
    opacity: 1; }
  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  to {
    opacity: 0; } }
@keyframes zoomOut {
  from {
    opacity: 1; }
  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  to {
    opacity: 0; } }
.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut; }

@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown; }

@-webkit-keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center; } }
@keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center; } }
.zoomOutLeft {
  -webkit-animation-name: zoomOutLeft;
  animation-name: zoomOutLeft; }

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center; } }
@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center; } }
.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation-name: zoomOutRight; }

@-webkit-keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomOutUp {
  -webkit-animation-name: zoomOutUp;
  animation-name: zoomOutUp; }

@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown; }

@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft; }

@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight; }

@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp; }

@-webkit-keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
@keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
.slideOutDown {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown; }

@-webkit-keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
@keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
.slideOutLeft {
  -webkit-animation-name: slideOutLeft;
  animation-name: slideOutLeft; }

@-webkit-keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
@keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
.slideOutRight {
  -webkit-animation-name: slideOutRight;
  animation-name: slideOutRight; }

@-webkit-keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
@keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
.slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp; }

/**/
@-webkit-keyframes blurFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.3); }
  50% {
    opacity: 0.5; }
  100% {
    opacity: 1;
    transform: scale(1); } }
@keyframes blurFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.3); }
  50% {
    opacity: 0.5; }
  100% {
    opacity: 1;
    transform: scale(1); } }
.blurFadeIn {
  -webkit-animation-name: blurFadeIn;
  animation-name: blurFadeIn; }

@-webkit-keyframes blurFadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px); }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); } }
@keyframes blurFadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px); }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); } }
.blurFadeInDown {
  -webkit-animation-name: blurFadeInDown;
  animation-name: blurFadeInDown; }

@-webkit-keyframes passing {
  0% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; } }
@keyframes passing {
  0% {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; } }
@-webkit-keyframes passing-reverse {
  0% {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; } }
@keyframes passing-reverse {
  0% {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; } }
@keyframes jackInTheBox {
  from {
    opacity: 0;
    transform: scale(0.1) rotate(30deg);
    transform-origin: center bottom; }
  50% {
    transform: rotate(-10deg); }
  70% {
    transform: rotate(3deg); }
  to {
    opacity: 1;
    transform: scale(1); } }
.jackInTheBox {
  animation-name: jackInTheBox; }

.contact-display-1-row .title-contact{
  display: inline;
}
@media (max-width: 1600px) and (min-width: 1024px){
  .banner-left{
    max-width: 52%;
  }
  .banner-right{
    max-width: 46%;
  }
}
.med-bestsale .product-miniature{
  border-bottom: none;
  border-left: none;
  border-right: none;
  padding-left: 0;
  padding-right: 0;
  margin: 0 20px !important;
}
.med-bestsale .product-miniature:hover{
  border-color: #ebebeb;
}
.med-bestsale .pos-product-widget .slick-arrow{
  top: -2.957rem !important;
}
.med-bestsale .pos-product-widget .slick-next{
  right: 1rem !important;
}
.med-bestsale .pos-product-widget .slick-prev{
  right: 3.5rem !important;
}
.toy-bestsale .product-miniature{
  border-bottom: none;
  border-left: none;
  border-right: none;
  padding-left: 0;
  padding-right: 0;
  margin: 0 20px;
  border-radius:0;
}
.toy-bestsale .product-miniature:hover{
  border-color: #ebebeb;
}
.toy-bestsale .pos-product-widget .slick-slide > *:not(:last-child) {
    margin-bottom: 0;
}
.toy-bestsale .pos-product-widget .slick-next{
  right: 1rem !important;
}
.toy-bestsale .pos-product-widget .slick-prev{
  right: 3.5rem !important;
}
/*# sourceMappingURL=animate.css.map */

.list-bigger-image .style_product_list .img_block{
  max-width: 170px;
}

.has-section-inner .elementor-widget-wrap{
  display: block !important;
}
.elementor-widget-wrap > section{
  width: 100% !important;
}
.elementor-editor-active .elementor.elementor-edit-mode .elementor-top-column .elementor-widget-wrap .elementor-inner-section{
  margin-top: 0;
}

@keyframes shakeLight {
  0% { transform: translate(-5px, 0px) rotate(0deg); }
  10% { transform: translate(-4.5px, 0px) rotate(0deg); }
  20% { transform: translate(-4px, 0px) rotate(0deg); }
  30% { transform: translate(-3.5px, 0px) rotate(0deg); }
  40% { transform: translate(-3px, 0px) rotate(0deg); }
  50% { transform: translate(-2.5px, 0px) rotate(0deg); }
  60% { transform: translate(-2px, 0px) rotate(0deg); }
  70% { transform: translate(-1.5px, 0px) rotate(0deg); }
  80% { transform: translate(-1px, 0px) rotate(0deg); }
  90% { transform: translate(-0.5px, 0px) rotate(0deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
.buy-now:hover i{
  animation: shakeLight 0.5s;
}

/* ============================================
   HEADER HEADER & FOOTER STYLES
   ============================================ */

/* Header Improvements */
#header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Clean header top section */
.header-top {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header-top .elementor-text-editor p {
  margin: 0;
  color: #666666;
  font-weight: 400;
}

/* Hide "Welcome to Optima store" message */
.header-top .elementor-text-editor:has(p:contains("Welcome")) {
  display: none !important;
}

/* Simplify header main section */
.header-main,
.elementor-location-header {
  background: #ffffff;
  padding: 1rem 0;
}

/* Logo styling */
.pos-logo,
.site-logo {
  max-height: 45px;
}

/* Navigation menu - Modern style */
.pos-menu,
.elementor-nav-menu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
}

.pos-menu a,
.elementor-nav-menu a {
  color: #31302F !important;
  padding: 0.75rem 1.25rem;
  transition: color 0.2s ease;
}

.pos-menu a:hover,
.elementor-nav-menu a:hover {
  color: #4D65FF !important;
}

/* Account/Sign in button */
.pos-account a,
.account-login {
  color: #31302F !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.pos-account a:hover,
.account-login:hover {
  background: #f7f7f7;
}

/* Hide unnecessary header elements */
.header-top .elementor-widget-text-editor:first-child,
div[data-id*="Welcome"] {
  display: none !important;
}

/* Shopping notification banner */
.elementor-message,
.shipping-message {
  display: none !important;
}

/* ============================================
   FOOTER STYLE
   ============================================ */

#footer,
.page-footer {
  background: #ffffff !important;
  color: #666666;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

/* Hide social media icons - they are rendering as empty circles */

/* FORCE newsletter text to be white on purple background */
.newsletter-section h3,
.newsletter-section .newsletter-text h3,
.newsletter-text h3 {
  color: #ffffff !important;
}

.newsletter-section p,
.newsletter-section .newsletter-text p,
.newsletter-text p {
  color: rgba(255, 255, 255, 0.95) !important;
}

.footer-modern .social-links,
.footer-modern .social-link,
.social-links,
.social-link {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Footer headings */
#footer h2,
#footer h3,
#footer .links-widget-title,
#footer .footer-title {
  color: #31302F !important;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Footer links */
#footer a,
#footer .links-widget-content a {
  color: #666666 !important;
  font-size: 0.9375rem;
  line-height: 2;
  transition: color 0.2s ease;
  text-decoration: none;
}

#footer a:hover,
#footer .links-widget-content a:hover {
  color: #AD8B95 !important;
}

/* Footer columns */
#footer .links-widget,
#footer .footer-column {
  margin-bottom: 2rem;
}

/* Hide/simplify footer decorative elements */
#footer .elementor-image-box-img {
  display: none;
}

#footer .elementor-image-box-title {
  color: #31302F !important;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

#footer .elementor-image-box-description {
  color: #666666;
  font-size: 0.875rem;
}

/* Footer bottom/copyright */
#footer .footer-copyright,
#footer .copyright {
  border-top: none;
  padding-top: 1.5rem;
  margin-top: 2rem;
  color: rgba(102, 102, 102, 0.8);
  font-size: 0.875rem;
  text-align: center;
}

/* Newsletter form */
#footer .pos-newsletter-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

#footer .pos-newsletter-form input[type="email"] {
  background: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}

#footer .pos-newsletter-form button {
  background: #4D65FF;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

#footer .pos-newsletter-form button:hover {
  background: #3d52cc;
}

/* Social links */
#footer .social-links a {
  color: #666666;
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: color 0.2s ease;
}

#footer .social-links a:hover {
  color: #AD8B95;
}

/* Trust indicators in footer */
#footer .trust-indicator {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Remove Optima/posthemes branding */
#footer:contains("Posthemes"),
#footer:contains("Optima") {
  display: none !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header-main {
    padding: 0.75rem 0;
  }
  
  #footer {
    padding: 2rem 0 1.5rem;
  }
  
  #footer .links-widget-title {
    cursor: pointer;
  }
}

/* Sticky header effect (Modern style) */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Clean, minimal cart icon */
.pos-cart,
.shopping-cart {
  position: relative;
}

.pos-cart .cart-count,
.shopping-cart .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #4D65FF;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
/* AGGRESSIVE STYLING - Override everything */

/* Force hide unwanted header messages */
.elementor-text-editor p:contains("Welcome"),
.elementor-text-editor p:contains("Optima"),
.elementor-text-editor p:contains("Pend"),
.elementor-widget:has(p:contains("Welcome")),
.elementor-widget:has(p:contains("Pend")) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Force footer dark background */
#footer,
.page-footer,
footer.js-footer,
#footer .elementor-section {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Force all footer text to white */
#footer,
#footer *:not(a):not(button) {
  color: #666666 !important;
}

#footer a {
  color: #666666 !important;
}

#footer a:hover {
  color: #AD8B95 !important;
}

/* Force hide footer icons */
#footer img,
#footer .elementor-image-box-img,
#footer figure {
  display: none !important;
}

/* Header clean white background */
#header,
.elementor-location-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Clean minimal navigation */
.pos-menu a,
nav a {
  color: #31302F !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.pos-menu a:hover,
nav a:hover {
  color: #4D65FF !important;
}
/* ============================================
   HEADER HEADER & FOOTER FIXES
   ============================================ */

/* 1. ALIGN SIGN IN AND LANGUAGE TO THE RIGHT */
.elementor-element-uvqexgt .elementor-container,
section[data-id="uvqexgt"] .elementor-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Left side - Welcome message (we'll hide this) */
.elementor-element-uvqexgt .elementor-column:first-child {
  flex: 0 0 auto !important;
}

/* Right side - Sign in and Language */
.elementor-element-uvqexgt .elementor-column:last-child {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-left: auto !important;
}

/* Add Free Shipping in the middle */
.elementor-element-uvqexgt .elementor-container::before {
  content: "🚚 Free Shipping on Orders Over $120";
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #4D65FF;
  margin: 0 auto;
  flex: 1;
  text-align: center;
}

/* 2. INCREASE LOGO SECTION PADDING */
.elementor-element-nwgkpcd,
section[data-id="nwgkpcd"] {
  padding-bottom: 25px !important;
  padding-top: 15px !important;
}

/* 3. HARMONIZE TOP HEADER COLOR */
.elementor-element-uvqexgt,
section[data-id="uvqexgt"] {
  background-color: #FBFAF9 !important;
  /* Cream background - matches testimonials section */
  border-bottom: 1px solid #E5E5E5 !important;
}

.elementor-element-uvqexgt * {
  color: #31302F !important;
}

/* 4. FIX FOOTER NEWSLETTER FORMATTING */
#footer .pos-newsletter-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
  max-width: 400px !important;
}

#footer .pos-newsletter-form h3,
#footer .pos-newsletter-form .newsletter-title {
  color: #ffffff !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}

#footer .pos-newsletter-form p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem !important;
  margin-bottom: 1rem !important;
}

#footer .pos-newsletter-form .input-group,
#footer .pos-newsletter-form .newsletter-input-wrapper {
  display: flex !important;
  gap: 0.5rem !important;
}

#footer .pos-newsletter-form input[type="email"],
#footer .pos-newsletter-form input[name="email"] {
  flex: 1 !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  color: #31302F !important;
}

#footer .pos-newsletter-form button[type="submit"],
#footer .pos-newsletter-form .btn-submit {
  background: #4D65FF !important;
  border: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  white-space: nowrap !important;
}

#footer .pos-newsletter-form button[type="submit"]:hover,
#footer .pos-newsletter-form .btn-submit:hover {
  background: #3d52cc !important;
}

/* Format footer sections */
#footer .links-widget,
#footer .footer-section {
  margin-bottom: 2rem !important;
}

#footer .links-widget h2,
#footer .footer-section h2,
#footer .links-widget-title {
  color: #31302F !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  text-transform: none !important;
}

#footer .links-widget ul,
#footer .footer-section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#footer .links-widget ul li,
#footer .footer-section ul li {
  margin-bottom: 0.5rem !important;
}

#footer .links-widget ul li a,
#footer .footer-section ul li a {
  color: #666666 !important;
  text-decoration: none !important;
  font-size: 0.9375rem !important;
  line-height: 1.8 !important;
  transition: color 0.2s ease !important;
}

#footer .links-widget ul li a:hover,
#footer .footer-section ul li a:hover {
  color: #AD8B95 !important;
}

/* Contact info in footer */
#footer .elementor-image-box-content {
  margin-left: 0 !important;
}

#footer .elementor-image-box-title {
  color: #31302F !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
}

#footer .elementor-image-box-description {
  color: #666666 !important;
  font-size: 0.875rem !important;
}

/* Clean up copyright */
#footer .copyright,
#footer .footer-copyright {
  border-top: none !important;
  padding-top: 1.5rem !important;
  margin-top: 2rem !important;
  text-align: center !important;
  color: rgba(102, 102, 102, 0.8) !important;
  font-size: 0.875rem !important;
}

/* Social links styling */
#footer .social-links {
  display: flex !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

#footer .social-links a {
  color: #666666 !important;
  font-size: 1.25rem !important;
  transition: color 0.2s ease !important;
}

#footer .social-links a:hover {
  color: #AD8B95 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .elementor-element-uvqexgt .elementor-container::before {
    font-size: 12px !important;
    padding: 0.5rem !important;
  }
  
  .elementor-element-nwgkpcd {
    padding-bottom: 20px !important;
  }
  
  #footer .pos-newsletter-form {
    max-width: 100% !important;
  }
}

/* ============================================
   HEADER HEADER & FOOTER FIXES
   ============================================ */

/* 1. ALIGN SIGN IN AND LANGUAGE TO THE RIGHT */
.elementor-element-uvqexgt .elementor-container,
section[data-id="uvqexgt"] .elementor-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Left side - Welcome message (we'll hide this) */
.elementor-element-uvqexgt .elementor-column:first-child {
  flex: 0 0 auto !important;
}

/* Right side - Sign in and Language */
.elementor-element-uvqexgt .elementor-column:last-child {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-left: auto !important;
}

/* Add Free Shipping in the middle */
.elementor-element-uvqexgt .elementor-container::before {
  content: "🚚 Free Shipping on Orders Over $120";
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #4D65FF;
  margin: 0 auto;
  flex: 1;
  text-align: center;
}

/* 2. INCREASE LOGO SECTION PADDING */
.elementor-element-nwgkpcd,
section[data-id="nwgkpcd"] {
  padding-bottom: 25px !important;
  padding-top: 15px !important;
}

/* 3. HARMONIZE TOP HEADER COLOR */
.elementor-element-uvqexgt,
section[data-id="uvqexgt"] {
  background-color: #FBFAF9 !important;
  /* Cream background - matches testimonials section */
  border-bottom: 1px solid #E5E5E5 !important;
}

.elementor-element-uvqexgt * {
  color: #31302F !important;
}

/* 4. FIX FOOTER NEWSLETTER FORMATTING */
#footer .pos-newsletter-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
  max-width: 400px !important;
}

#footer .pos-newsletter-form h3,
#footer .pos-newsletter-form .newsletter-title {
  color: #ffffff !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}

#footer .pos-newsletter-form p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem !important;
  margin-bottom: 1rem !important;
}

#footer .pos-newsletter-form .input-group,
#footer .pos-newsletter-form .newsletter-input-wrapper {
  display: flex !important;
  gap: 0.5rem !important;
}

#footer .pos-newsletter-form input[type="email"],
#footer .pos-newsletter-form input[name="email"] {
  flex: 1 !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  color: #31302F !important;
}

#footer .pos-newsletter-form button[type="submit"],
#footer .pos-newsletter-form .btn-submit {
  background: #4D65FF !important;
  border: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  white-space: nowrap !important;
}

#footer .pos-newsletter-form button[type="submit"]:hover,
#footer .pos-newsletter-form .btn-submit:hover {
  background: #3d52cc !important;
}

/* Format footer sections */
#footer .links-widget,
#footer .footer-section {
  margin-bottom: 2rem !important;
}

#footer .links-widget h2,
#footer .footer-section h2,
#footer .links-widget-title {
  color: #31302F !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  text-transform: none !important;
}

#footer .links-widget ul,
#footer .footer-section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#footer .links-widget ul li,
#footer .footer-section ul li {
  margin-bottom: 0.5rem !important;
}

#footer .links-widget ul li a,
#footer .footer-section ul li a {
  color: #666666 !important;
  text-decoration: none !important;
  font-size: 0.9375rem !important;
  line-height: 1.8 !important;
  transition: color 0.2s ease !important;
}

#footer .links-widget ul li a:hover,
#footer .footer-section ul li a:hover {
  color: #AD8B95 !important;
}

/* Contact info in footer */
#footer .elementor-image-box-content {
  margin-left: 0 !important;
}

#footer .elementor-image-box-title {
  color: #31302F !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
}

#footer .elementor-image-box-description {
  color: #666666 !important;
  font-size: 0.875rem !important;
}

/* Clean up copyright */
#footer .copyright,
#footer .footer-copyright {
  border-top: none !important;
  padding-top: 1.5rem !important;
  margin-top: 2rem !important;
  text-align: center !important;
  color: rgba(102, 102, 102, 0.8) !important;
  font-size: 0.875rem !important;
}

/* Social links styling */
#footer .social-links {
  display: flex !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

#footer .social-links a {
  color: #666666 !important;
  font-size: 1.25rem !important;
  transition: color 0.2s ease !important;
}

#footer .social-links a:hover {
  color: #AD8B95 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .elementor-element-uvqexgt .elementor-container::before {
    font-size: 12px !important;
    padding: 0.5rem !important;
  }
  
  .elementor-element-nwgkpcd {
    padding-bottom: 20px !important;
  }
  
  #footer .pos-newsletter-form {
    max-width: 100% !important;
  }
}

/* FIX FREE SHIPPING MESSAGE - Single line, centered, better color */

/* Override previous free shipping styling */
.elementor-element-uvqexgt .elementor-container::before {
  content: "🚚 Free Shipping on Orders Over $120" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #666666 !important;
  /* Softer gray to match the theme */
  white-space: nowrap !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  width: auto !important;
}

/* Ensure parent container supports absolute positioning */
.elementor-element-uvqexgt .elementor-container,
section[data-id="uvqexgt"] .elementor-container {
  position: relative !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 45px !important;
}

/* Alternative approach - use flex center if absolute doesn't work */
@supports not (position: absolute) {
  .elementor-element-uvqexgt .elementor-container::before {
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
    flex: 1 !important;
    text-align: center !important;
  }
}

/* Responsive - smaller on mobile */
@media (max-width: 768px) {
  .elementor-element-uvqexgt .elementor-container::before {
    font-size: 12px !important;
    content: "🚚 Free Shipping Over $120" !important;
  }
}

@media (max-width: 480px) {
  .elementor-element-uvqexgt .elementor-container::before {
    font-size: 11px !important;
    content: "Free Shipping $120+" !important;
  }
}
/* AGGRESSIVELY HIDE OLD "Pend $120" MESSAGE */
.elementor-element-jikevgr,
.elementor-element-jikevgr .elementor-widget-container,
.elementor-element-jikevgr .elementor-text-editor,
div[data-id="jikevgr"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide any paragraph containing the old message */
.elementor-element-uvqexgt p:contains("Pend"),
.elementor-element-uvqexgt p:contains("$120"),
section[data-id="uvqexgt"] p {
  display: none !important;
}

/* Hide the column containing the old message */
.elementor-element-uftwbwd {
  display: none !important;
}

/* HIDE OLD "Pend $120" MESSAGE - VERSION 2 - MORE SPECIFIC */
[data-id="jikevgr"],
.elementor-element-jikevgr,
.elementor-element.elementor-element-jikevgr {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the entire column containing the old message */
[data-id="uftwbwd"],
.elementor-element-uftwbwd,
.elementor-element.elementor-element-uftwbwd {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Additional specific targeting */
section[data-id="uvqexgt"] .elementor-element-jikevgr,
section[data-id="uvqexgt"] [data-id="jikevgr"],
section[data-id="uvqexgt"] .elementor-element-uftwbwd,
section[data-id="uvqexgt"] [data-id="uftwbwd"] {
  display: none !important;
}

/* NUCLEAR OPTION - HIDE OLD MESSAGE WITH MAXIMUM SPECIFICITY */
div.elementor-element.elementor-element-uftwbwd[data-id="uftwbwd"],
div.elementor-top-column.elementor-element-uftwbwd,
.elementor-column.elementor-element-uftwbwd {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

div.elementor-widget.elementor-element-jikevgr[data-id="jikevgr"],
div.elementor-widget-text-editor.elementor-element-jikevgr {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* Hide all children too */
[data-id="uftwbwd"] *,
[data-id="jikevgr"] *,
.elementor-element-uftwbwd *,
.elementor-element-jikevgr * {
  display: none !important;
  visibility: hidden !important;
}

/* Override ANY inline styles */
[data-id="uftwbwd"][style],
[data-id="jikevgr"][style] {
  display: none !important;
  visibility: hidden !important;
}

/* ============================================
   FIX: Hide empty page-footer on product pages
   ============================================ */

/* Hide the empty page-footer inside main section */
#main .page-footer {
  display: none !important;
}

/* Ensure main footer is visible and styled */
#footer {
  display: block !important;
  visibility: visible !important;
}

/* Fix for Creative Elements footer content display */
#footer .elementor {
  font-size: inherit;
  line-height: inherit;
}

#footer .elementor * {
  color: inherit;
}

/* Ensure footer text is properly formatted */
#footer .elementor-text-editor,
#footer .elementor-widget-text-editor,
#footer p,
#footer div {
  color: #666666;
  line-height: 1.6;
}

/* Hide social media icons - they are rendering as empty circles */

/* FORCE newsletter text to be white on purple background */
.newsletter-section h3,
.newsletter-section .newsletter-text h3,
.newsletter-text h3 {
  color: #ffffff !important;
}

.newsletter-section p,
.newsletter-section .newsletter-text p,
.newsletter-text p {
  color: rgba(255, 255, 255, 0.95) !important;
}

.footer-modern .social-links,
.footer-modern .social-link,
.social-links,
.social-link {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Footer headings in elementor */
#footer .elementor h1,
#footer .elementor h2,
#footer .elementor h3,
#footer .elementor h4 {
  color: #31302F !important;
  margin-bottom: 1rem;
}

/* Footer links in elementor */
#footer .elementor a {
  color: #666666 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer .elementor a:hover {
  color: #AD8B95 !important;
}

/* Newsletter input styling */
#footer input[name="email"] {
  background: #ffffff !important;
  color: #323232 !important;
  border: none;
}

#footer button {
  background: #323232 !important;
  color: #ffffff !important;
  border: none;
}

#footer button:hover {
  background: #222222 !important;
}

/* Links widget styling */
#footer .pos-links-widget .links-widget-title {
  color: #31302F !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

#footer .pos-links-widget .links-widget-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .pos-links-widget .links-widget-content li {
  margin-bottom: 0.5rem;
}

#footer .pos-links-widget .links-widget-content a {
  color: #666666 !important;
  font-size: 0.9375rem;
}

#footer .pos-links-widget .links-widget-content a:hover {
  color: #AD8B95 !important;
}

/* Copyright section */
#footer .elementor-text-editor p {
  margin: 0.5rem 0;
}

/* ============================================
   FORCE FOOTER STYLING - Fix for missing elementor classes
   ============================================ */

/* Force proper display and layout */
#footer .elementor,
#footer .elementor-12010000 {
  display: block !important;
  width: 100%;
  color: #666666;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

/* Hide edit wrapper overlays */
#footer .ce-edit-btn,
#footer .ce-edit-outline {
  display: none !important;
}

/* Force grid layout for footer columns */
#footer .elementor > div,
#footer .elementor-inner,  
#footer .elementor-section-wrap {
  display: block !important;
}

/* Newsletter section styling */
#footer input[type="email"],
#footer input[name="email"] {
  display: inline-block;
  width: auto;
  min-width: 200px;
  padding: 12px 20px;
  background: #ffffff !important;
  color: #323232 !important;
  border: none !important;
  border-radius: 30px 0 0 30px !important;
  font-size: 14px;
  vertical-align: middle;
}

#footer button,
#footer input[type="submit"],
#footer button[type="submit"] {
  display: inline-block;
  padding: 12px 25px;
  background: #323232 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 30px 30px 0 !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.2s ease;
}

#footer button:hover {
  background: #222222 !important;
}

/* Contact info styling */
#footer a[href^="tel:"],
#footer a[href^="mailto:"] {
  color: #666666 !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 5px;
}

/* Social icons */
#footer [class*="social"] a,
#footer .pos-socials-widget a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #ffffff;
  color: #323232 !important;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 18px;
  transition: all 0.2s ease;
}

#footer [class*="social"] a:hover,
#footer .pos-socials-widget a:hover {
  background: #4988fb !important;
  color: #ffffff !important;
}

/* Ensure lists are styled */
#footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#footer li {
  margin-bottom: 8px;
  line-height: 2;
}

#footer li a {
  color: #666666 !important;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer li a:hover {
  color: #AD8B95 !important;
}

/* Copyright text */
#footer *[class*="copyright"],
#footer *:last-child {
  color: rgba(102, 102, 102, 0.8);
  font-size: 14px;
  text-align: center;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}

/* Responsive grid for footer - force layout */
@media (min-width: 768px) {
  #footer .elementor {
    display: block !important;
  }
  
  #footer > div > div > div {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
}

/* ============================================
   CRITICAL: Add missing Creative Elements base styles
   The frontend.css isn't loading - add essential elementor structure styles
   ============================================ */

/* Elementor base container */
.elementor {
  position: relative;
}

.elementor *,
.elementor *:before,
.elementor *:after {
  box-sizing: border-box;
}

.elementor-section {
  position: relative;
}

.elementor-section .elementor-container {
  display: flex;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.elementor-section-boxed > .elementor-container {
  max-width: 1140px;
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 10px;
}

.elementor-row {
  width: 100%;
  display: flex;
}

.elementor-column {
  position: relative;
  min-height: 1px;
  display: flex;
}

.elementor-column-wrap,
.elementor-element-populated {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.elementor-widget-wrap {
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  align-content: flex-start;
}

.elementor-widget {
  position: relative;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 20px;
}

.elementor-widget-container {
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
}

.elementor-column {
  min-width: 0;
}

/* Responsive widths */
@media (min-width: 768px) {
  .elementor-column.elementor-col-50,
  .elementor-column[data-col="50"] {
    width: 50%;
  }
  
  .elementor-column.elementor-col-33,
  .elementor-column[data-col="33"] {
    width: 33.333%;
  }
  
  .elementor-column.elementor-col-25,
  .elementor-column[data-col="25"] {
    width: 25%;
  }
  
  .elementor-column.elementor-col-66,
  .elementor-column[data-col="66"] {
    width: 66.666%;
  }
  
  .elementor-column.elementor-col-20,
  .elementor-column[data-col="20"] {
    width: 20%;
  }
  
  .elementor-column.elementor-col-40,
  .elementor-column[data-col="40"] {
    width: 40%;
  }
  
  .elementor-column.elementor-col-60,
  .elementor-column[data-col="60"] {
    width: 60%;
  }
}

@media (max-width: 767px) {
  .elementor-column {
    width: 100%;
  }
}

/* Text editor widget */
.elementor-text-editor {
  word-wrap: break-word;
}

.elementor-text-editor p {
  margin: 0 0 15px;
}

.elementor-text-editor ul,
.elementor-text-editor ol {
  margin: 0;
  padding: 0 0 0 20px;
}

/* Heading widget */
.elementor-heading-title {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* Image box widget */
.elementor-image-box-wrapper {
  display: flex;
  align-items: flex-start;
}

.elementor-image-box-img {
  flex-shrink: 0;
  max-width: 100%;
}

.elementor-image-box-img img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}

.elementor-position-left .elementor-image-box-wrapper {
  flex-direction: row;
  text-align: left;
}

.elementor-position-right .elementor-image-box-wrapper {
  flex-direction: row-reverse;
  text-align: right;
}

.elementor-position-top .elementor-image-box-wrapper {
  flex-direction: column;
}

.elementor-image-box-content {
  flex-grow: 1;
}

.elementor-image-box-title {
  margin: 0;
}

.elementor-image-box-description {
  margin: 0;
}

/* Section content alignment */
.elementor-section-content-middle > .elementor-container > .elementor-column > .elementor-element-populated {
  justify-content: center;
  align-items: center;
}

/* Hidden elements */
.elementor-hidden-tablet {
  display: block;
}

.elementor-hidden-phone {
  display: block;
}

@media (max-width: 1024px) {
  .elementor-hidden-tablet {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .elementor-hidden-phone {
    display: none !important;
  }
}

/* ============================================
   CRITICAL FIX: Force Elementor Layout with !important
   Theme CSS is loading first and breaking elementor flexbox
   ============================================ */

/* Force flexbox display - CRITICAL */
#footer .elementor-section .elementor-container {
  display: flex !important;
  flex-wrap: wrap !important;
}

#footer .elementor-row {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

#footer .elementor-column {
  display: flex !important;
  position: relative !important;
  min-height: 1px !important;
}

#footer .elementor-column-wrap,
#footer .elementor-element-populated {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

#footer .elementor-widget-wrap {
  position: relative !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Force column widths */
@media (min-width: 768px) {
  #footer .elementor-col-50,
  #footer .elementor-column[data-col="50"] {
    width: 50% !important;
  }
  
  #footer .elementor-col-33,
  #footer .elementor-column[data-col="33"] {
    width: 33.333% !important;
  }
  
  #footer .elementor-col-25,
  #footer .elementor-column[data-col="25"] {
    width: 25% !important;
  }
  
  #footer .elementor-col-20,
  #footer .elementor-column[data-col="20"] {
    width: 20% !important;
  }
}

@media (max-width: 767px) {
  #footer .elementor-column {
    width: 100% !important;
  }
}

/* Force widget spacing */
#footer .elementor-widget:not(:last-child) {
  margin-bottom: 20px !important;
}

/* Reset any conflicting box-sizing */
#footer .elementor *,
#footer .elementor *:before,
#footer .elementor *:after {
  box-sizing: border-box !important;
}

/* Ensure text wrapping and overflow */
#footer .elementor-widget-container {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Site-wide background color */
body {
  background-color: #FBFAF9 !important;
}

/* Ensure main content areas also use this background */
#wrapper,
.page-content,
.container {
  background-color: #FBFAF9 !important;
}

/* ================================================================
   NEWSLETTER SECTION - OVERRIDE ALL FOOTER COLOR RULES
   ================================================================ */

/* Force newsletter section colors - highest specificity */
#footer .newsletter-section,
#footer .newsletter-section *,
footer .newsletter-section,
footer .newsletter-section *,
.herhealth-footer .newsletter-section,
.herhealth-footer .newsletter-section * {
  color: inherit !important;
}

/* H2 Title - Pure White */
#footer .newsletter-section h2,
#footer .newsletter-section .newsletter-text h2,
#footer .newsletter-text h2,
footer .newsletter-section h2,
.herhealth-footer .newsletter-section h2 {
  color: #FFFFFF !important;
  font-family: "Playfair Display", Georgia, serif !important;
}

/* Paragraph - Rose 100 */
#footer .newsletter-section p,
#footer .newsletter-section .newsletter-text p,
#footer .newsletter-text p,
footer .newsletter-section p,
.herhealth-footer .newsletter-section p {
  color: rgb(255, 228, 230) !important;
}

/* Privacy Text - Rose 300/60 */
#footer .newsletter-section .newsletter-privacy,
#footer .newsletter-privacy,
footer .newsletter-section .newsletter-privacy,
.herhealth-footer .newsletter-privacy {
  color: rgba(253, 164, 175, 0.6) !important;
}

/* Input Field */
#footer .newsletter-section .newsletter-input,
#footer .newsletter-input,
footer .newsletter-section .newsletter-input,
.herhealth-footer .newsletter-input {
  color: white !important;
  background-color: rgba(136, 19, 55, 0.4) !important;
  border: 1px solid #e11d48 !important;
}

#footer .newsletter-section .newsletter-input::placeholder,
#footer .newsletter-input::placeholder,
footer .newsletter-section .newsletter-input::placeholder,
.herhealth-footer .newsletter-input::placeholder {
  color: rgba(253, 164, 175, 0.7) !important;
}

/* Subscribe Button - White background, Dark rose text */
#footer .newsletter-section .newsletter-button,
#footer .newsletter-button,
footer .newsletter-section .newsletter-button,
.herhealth-footer .newsletter-button,
#footer .newsletter-section button[type="submit"],
#footer button[type="submit"].newsletter-button {
  background-color: white !important;
  color: #912546 !important;
  border: none !important;
}

#footer .newsletter-section .newsletter-button:hover,
#footer .newsletter-button:hover,
footer .newsletter-section .newsletter-button:hover,
.herhealth-footer .newsletter-button:hover {
  background-color: #fff1f2 !important;
  color: #912546 !important;
}

/* Form Gap - Reduce to 12px */
#footer .newsletter-section .newsletter-form,
#footer .newsletter-form,
footer .newsletter-section .newsletter-form,
.herhealth-footer .newsletter-form {
  gap: 0.75rem !important;
}

/* Newsletter Section Background */
#footer .newsletter-section,
footer .newsletter-section,
.herhealth-footer .newsletter-section {
  background-color: #881337 !important;
}


/* ================================================================
   REMOVE GAP BETWEEN INPUT AND BUTTON COMPLETELY
   ================================================================ */

/* Set gap to 0 - NO space between input and button */
#footer .newsletter-section .newsletter-form,
#footer .newsletter-form,
footer .newsletter-section .newsletter-form,
.herhealth-footer .newsletter-form,
.newsletter-section .newsletter-form {
  gap: 0 !important;
  column-gap: 0 !important;
}

/* Remove any margin from input */
#footer .newsletter-section .newsletter-input,
#footer .newsletter-input,
footer .newsletter-section .newsletter-input,
.herhealth-footer .newsletter-input,
.newsletter-section .newsletter-input {
  margin: 0 !important;
  margin-right: 0 !important;
}

/* Remove any margin from button */
#footer .newsletter-section .newsletter-button,
#footer .newsletter-button,
footer .newsletter-section .newsletter-button,
.herhealth-footer .newsletter-button,
.newsletter-section .newsletter-button,
#footer .newsletter-section button[type="submit"],
#footer button[type="submit"].newsletter-button {
  margin: 0 !important;
  margin-left: 0 !important;
}


/* ================================================================
   LEFT ALIGN NEWSLETTER TEXT
   ================================================================ */

/* Left align newsletter heading and paragraph */
#footer .newsletter-section,
footer .newsletter-section,
.herhealth-footer .newsletter-section,
.newsletter-section {
  text-align: left !important;
}

#footer .newsletter-section .newsletter-text,
#footer .newsletter-text,
footer .newsletter-section .newsletter-text,
.herhealth-footer .newsletter-text,
.newsletter-section .newsletter-text {
  text-align: left !important;
}

#footer .newsletter-section h2,
#footer .newsletter-section .newsletter-text h2,
#footer .newsletter-text h2,
footer .newsletter-section h2,
.herhealth-footer .newsletter-section h2,
.newsletter-section h2 {
  text-align: left !important;
}

#footer .newsletter-section p,
#footer .newsletter-section .newsletter-text p,
#footer .newsletter-text p,
footer .newsletter-section p,
.herhealth-footer .newsletter-section p,
.newsletter-section p {
  text-align: left !important;
}

/* ================================================================
   FOOTER BRAND COLUMN - LEFT ALIGN TEXT
   ================================================================ */

/* Left align footer brand text */
#footer .footer-brand,
footer .footer-brand,
.herhealth-footer .footer-brand,
.footer-brand {
  text-align: left !important;
}

#footer .footer-brand p,
footer .footer-brand p,
.herhealth-footer .footer-brand p,
.footer-brand p {
  /* Keep only essential positioning */
  text-align: left !important;
  max-width: 384px !important;
  
  /* Remove custom color/font overrides - let Tailwind base apply */
  color: rgb(120, 113, 108) !important; /* text-stone-500 */
  font-size: 0.875rem !important; /* text-sm */
  line-height: 1.625 !important; /* leading-relaxed */
  font-weight: 300 !important; /* font-light */
  
  /* Tailwind base transition-colors */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}

/* Center align logo */
#footer .footer-logo,
footer .footer-logo,
.herhealth-footer .footer-logo,
.footer-logo {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 1.5rem !important;
}


/* ================================================================
   FOOTER COLUMN LABELS - SHOP & SERVICE, SUPPORT, LEGAL
   ================================================================ */

/* Style for footer column headings */
#footer .footer-column h3,
#footer .footer-column h5,
footer .footer-column h3,
footer .footer-column h5,
.herhealth-footer .footer-column h3,
.herhealth-footer .footer-column h5,
.footer-column h3,
.footer-column h5 {
  color: rgb(41, 37, 36) !important; /* text-stone-800 */
  letter-spacing: 0.05em !important; /* tracking-wider */
  text-transform: uppercase !important;
  font-weight: 700 !important; /* font-bold */
  font-size: 0.75rem !important; /* text-xs */
  line-height: 1rem !important;
  margin-bottom: 1.5rem !important; /* mb-6 */
  margin-top: 0 !important;
}

/* ================================================================
   FOOTER COLUMN SUBMENU LINKS
   ================================================================ */

/* Style for footer column links */
#footer .footer-column ul li a,
footer .footer-column ul li a,
.herhealth-footer .footer-column ul li a,
.footer-column ul li a {
  color: rgb(120, 113, 108) !important; /* text-stone-500 */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
  text-decoration: none !important;
  font-size: 0.875rem !important; /* text-sm */
}

/* Hover state for submenu links */
#footer .footer-column ul li a:hover,
footer .footer-column ul li a:hover,
.herhealth-footer .footer-column ul li a:hover,
.footer-column ul li a:hover {
  color: #e11d48 !important; /* rose-700 on hover */
}

/* Remove list styling */
#footer .footer-column ul,
footer .footer-column ul,
.herhealth-footer .footer-column ul,
.footer-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}



/* ============================================
   FIX: SHOW LOGO IN FOOTER BRAND SECTION
   ============================================ */
/* EXCEPTION: Override the img hiding rule for logo */
#footer .footer-logo img,
#footer .footer-brand .logo-image,
footer .footer-logo img,
footer .footer-brand .logo-image {
  display: block !important;
  height: 28px !important;
  width: auto !important;
}

/* ============================================
   LEFT ALIGN FOOTER COLUMNS AND SUBMENU ITEMS
   ============================================ */
#footer .footer-column,
footer .footer-column,
.herhealth-footer .footer-column,
.footer-column {
  text-align: left !important;
}

#footer .footer-column h3,
#footer .footer-column h5,
footer .footer-column h3,
footer .footer-column h5,
.footer-column h3,
.footer-column h5 {
  text-align: left !important;
}

#footer .footer-column ul,
footer .footer-column ul,
.footer-column ul {
  align-items: flex-start !important;
  text-align: left !important;
}

#footer .footer-column ul li,
footer .footer-column ul li,
.footer-column ul li {
  text-align: left !important;
  width: 100% !important;
}

/* ============================================
   TRUST BADGES & COPYRIGHT - TAILWIND STYLES
   ============================================ */

/* Trust badges container - single line layout */
.footer-bottom-section {
  border-top: 1px solid #f5f5f4 !important; /* border-stone-100 */
  padding: 2.5rem 0 !important; /* py-10 */
}

.footer-bottom-section > div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1.5rem !important; /* gap-6 */
  font-size: 0.875rem !important; /* text-sm */
  color: #a8a29e !important; /* text-stone-400 */
}

@media (min-width: 768px) {
  .footer-bottom-section > div {
    flex-direction: row !important;
  }
}

/* Trust badges wrapper - single line */
.footer-bottom-section .flex.flex-wrap {
  display: flex !important;
  flex-wrap: nowrap !important; /* Force single line */
  justify-content: center !important;
  gap: 2rem !important; /* gap-8 */
}

@media (min-width: 768px) {
  .footer-bottom-section .flex.flex-wrap {
    gap: 3rem !important; /* md:gap-12 */
  }
}

/* Individual trust badge */
.footer-bottom-section .group {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important; /* gap-3 */
  white-space: nowrap !important; /* Prevent text wrapping */
}

/* Trust badge icons */
.footer-bottom-section .group svg {
  width: 20px !important;
  height: 20px !important;
  color: #d6d3d1 !important; /* text-stone-300 */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}

.footer-bottom-section .group:hover svg {
  color: #fda4af !important; /* group-hover:text-rose-400 */
}

/* Trust badge text */
.footer-bottom-section .group span {
  font-weight: 600 !important; /* font-semibold */
  letter-spacing: 0.025em !important; /* tracking-wide */
  font-size: 0.75rem !important; /* text-xs */
  text-transform: uppercase !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
  color: #a8a29e !important; /* text-stone-400 */
}

.footer-bottom-section .group:hover span {
  color: #57534e !important; /* group-hover:text-stone-600 */
}

/* Copyright text */
.footer-bottom-section .font-light {
  font-weight: 300 !important;
  color: #a8a29e !important; /* text-stone-400 */
}

/* Tailwind utility classes */
.border-t {
  border-top-width: 1px !important;
}

.border-stone-100 {
  border-color: #f5f5f4 !important;
}

.py-10 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.text-xs {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

.text-stone-300 {
  color: #d6d3d1 !important;
}

.text-stone-400 {
  color: #a8a29e !important;
}

.text-stone-600 {
  color: #57534e !important;
}

.text-rose-400 {
  color: #fda4af !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-light {
  font-weight: 300 !important;
}

.tracking-wide {
  letter-spacing: 0.025em !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

.group:hover .group-hover\:text-rose-400 {
  color: #fda4af !important;
}

.group:hover .group-hover\:text-stone-600 {
  color: #57534e !important;
}

/* ============================================
   FIX: REMOVE WHITE BACKGROUND FROM PAGE TITLE WRAPPER
   ============================================ */
.page-title-wrapper {
  background-color: transparent !important;
}

/* ============================================
   FIX: BREADCRUMB LINKS AFTER HOME -> RED (text-rose-900)
   ============================================ */
/* First breadcrumb link (Home) stays default color */
.breadcrumb li:first-child a {
  color: #78716c !important; /* text-stone-500 */
}

/* All breadcrumb links after Home -> red */
.breadcrumb li:not(:first-child) a {
  color: rgb(136, 19, 55) !important; /* text-rose-900 */
  font-weight: 500 !important; /* font-medium */
}

.breadcrumb li:not(:first-child) a:hover {
  color: #9f1239 !important; /* text-rose-900 hover - slightly lighter */
}

/* Current page (last item) also red */
.breadcrumb li:last-child span {
  color: rgb(136, 19, 55) !important; /* text-rose-900 */
  font-weight: 500 !important; /* font-medium */
  pointer-events: none !important;
}

/* ============================================
   FIX: PAGE HEADER (H1 wrapper) - TRANSPARENT BACKGROUND
   ============================================ */
header.page-header,
.page-header {
  background: transparent !important;
  background-color: transparent !important;
}

/* ============================================
   FIX: BREADCRUMB HORIZONTAL ALIGNMENT
   ============================================ */
/* Override nav a rule for breadcrumb links */
.breadcrumb a,
.breadcrumb span {
  font-size: 0.875rem !important; /* 14px - consistent size */
  line-height: 1.5 !important;
  vertical-align: middle !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Ensure breadcrumb list items are aligned */
.breadcrumb li {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.5 !important;
}

/* Ensure breadcrumb ol/ul is aligned */
.breadcrumb ol,
.breadcrumb ul {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Override any nav a rules that might interfere */
nav.breadcrumb a {
  font-size: 0.875rem !important;
  font-weight: 400 !important; /* Normal weight for Home */
}

/* Consistent font weight for all breadcrumb items after Home */
.breadcrumb li:not(:first-child) a,
.breadcrumb li:not(:first-child) span {
  font-weight: 500 !important; /* Medium weight */
}

/* First child (Home) normal weight */
.breadcrumb li:first-child a,
.breadcrumb li:first-child span {
  font-weight: 400 !important;
}

/* ============================================================
   CATEGORY PAGE REDESIGN - PHASE 1: FOUNDATION
   ============================================================
   Date: 2026-01-05
   Description: Design system foundation for category page redesign
   ============================================================ */

/* ============================================
   CSS CUSTOM PROPERTIES - COLOR PALETTE
   ============================================ */
:root {
  /* Rose Color Palette */
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --rose-800: #9f1239;
  --rose-900: #881337;
  --rose-950: #4c0519;

  /* Stone Color Palette */
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */

/* Body Font - Inter */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1rem !important; /* 16px */
  line-height: 1.5 !important;
  font-weight: 400 !important;
  color: var(--stone-800) !important;
}

/* Headings - Playfair Display */
h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* Typography Scale */
h1 {
  font-size: 2.25rem !important; /* 36px */
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: var(--stone-900) !important;
}

h2 {
  font-size: 1.875rem !important; /* 30px */
  line-height: 1.3 !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

h3 {
  font-size: 1.5rem !important; /* 24px */
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

h4 {
  font-size: 1.25rem !important; /* 20px */
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

h5 {
  font-size: 1.125rem !important; /* 18px */
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

h6 {
  font-size: 1rem !important; /* 16px */
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

/* Price Typography - Playfair Display */
.price,
.product-price,
.product-price-and-shipping .price {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ============================================
   LAYOUT STRUCTURE - CATEGORY PAGE
   ============================================ */

/* Main Page Container - Max Width 1280px */
body.page-category #wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important; /* 48px vertical, 16px horizontal */
}

/* Tablet+ Horizontal Padding */
@media (min-width: 640px) {
  body.page-category #wrapper {
    padding-left: 2rem !important; /* 32px */
    padding-right: 2rem !important; /* 32px */
  }
}

/* Main Layout Row - Flexbox */
body.page-category .row-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important; /* 48px */
  width: 100% !important;
}

/* Desktop: Row Layout */
@media (min-width: 1024px) {
  body.page-category .row-wrapper {
    flex-direction: row !important;
  }
}

/* Sidebar - Full Width on Mobile, Fixed 256px on Desktop */
body.page-category #left-column {
  width: 100% !important;
  padding: 0 !important;
}

@media (min-width: 1024px) {
  body.page-category #left-column {
    width: 256px !important;
    flex-shrink: 0 !important;
  }
}

/* Content Area - Flex Grow */
body.page-category #content-wrapper {
  width: 100% !important;
  flex: 1 !important;
  padding: 0 !important;
}

/* ============================================
   BASE COLOR USAGE
   ============================================ */

/* Links */
a {
  color: var(--rose-700) !important;
  transition: color 0.2s ease !important;
}

a:hover {
  color: var(--rose-900) !important;
}

/* Primary Buttons */
.btn-primary,
.button-primary {
  background-color: var(--rose-600) !important;
  border-color: var(--rose-600) !important;
  color: white !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover,
.button-primary:hover {
  background-color: var(--rose-800) !important;
  border-color: var(--rose-800) !important;
}

/* Secondary Buttons */
.btn-secondary,
.button-secondary {
  background-color: var(--stone-100) !important;
  border-color: var(--stone-200) !important;
  color: var(--stone-700) !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.button-secondary:hover {
  background-color: var(--stone-200) !important;
  border-color: var(--stone-300) !important;
  color: var(--stone-900) !important;
}

/* ============================================
   END PHASE 1: FOUNDATION
   ============================================ */

/* ============================================================
   CATEGORY PAGE REDESIGN - PHASE 2: PRODUCT CARD
   ============================================================
   Date: 2026-01-05
   Description: Modern product card design with hover effects
   ============================================================ */

/* ============================================
   PRODUCT CARD CONTAINER
   ============================================ */
.product-miniature,
.thumbnail-container {
  background-color: white !important;
  border: 1px solid var(--stone-100) !important;
  border-radius: 1rem !important; /* 16px */
  overflow: hidden !important;
  transition: all 0.5s ease !important;
  position: relative !important;
}

.product-miniature:hover,
.thumbnail-container:hover {
  box-shadow: 0 20px 25px -5px rgba(136, 19, 55, 0.05),
              0 8px 10px -6px rgba(136, 19, 55, 0.05) !important; /* rose-900/5 */
}

/* ============================================
   IMAGE CONTAINER - 4:5 ASPECT RATIO
   ============================================ */
.img_block {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 125% !important; /* 4:5 aspect ratio */
  background-color: var(--stone-50) !important;
  overflow: hidden !important;
}

.img_block > a.thumbnail {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Product Image */
.product-thumbnail img {
  max-width: 80% !important;
  max-height: 80% !important;
  object-fit: contain !important;
  transition: transform 0.7s ease !important;
}

.product-miniature:hover .product-thumbnail img {
  transform: scale(1.1) !important;
}

/* ============================================
   NEW BADGE
   ============================================ */
.product-flag {
  position: absolute !important;
  top: 1rem !important; /* 16px */
  left: 1rem !important; /* 16px */
  z-index: 10 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.product-flag li {
  padding: 0.25rem 0.5rem !important; /* 4px 8px */
  border-radius: 9999px !important; /* rounded-full */
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important; /* tracking-widest */
  display: inline-block !important;
}

.product-flag li.new {
  background-color: var(--rose-600) !important;
  color: white !important;
}

.product-flag li.on-sale,
.product-flag li.discount {
  background-color: var(--rose-800) !important;
  color: white !important;
}

/* ============================================
   HOVER OVERLAY WITH QUICK VIEW & ADD TO CART
   ============================================ */
.quick-view-item {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to top,
    rgba(136, 19, 55, 0.15) 0%,
    rgba(136, 19, 55, 0.05) 50%,
    transparent 100%
  ) !important;
  opacity: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  transition: opacity 0.3s ease !important;
  z-index: 5 !important;
}

.product-miniature:hover .quick-view-item {
  opacity: 1 !important;
}

/* Common styles for hover icon buttons */
.quick-view-item .hover-icon-btn {
  padding: 0 !important;
  background-color: white !important;
  color: var(--rose-700) !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 25px -5px rgba(136, 19, 55, 0.25),
              0 4px 10px -5px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateY(1.5rem) scale(0.8) !important;
  border: 2px solid rgba(136, 19, 55, 0.1) !important;
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.product-miniature:hover .quick-view-item .hover-icon-btn {
  transform: translateY(0) scale(1) !important;
}

/* Stagger animation for buttons */
.product-miniature:hover .quick-view-item .hover-icon-btn:nth-child(1),
.product-miniature:hover .quick-view-item a.quick-view {
  transition-delay: 0s !important;
}

.product-miniature:hover .quick-view-item .hover-icon-btn:nth-child(2),
.product-miniature:hover .quick-view-item .quick-add-form {
  transition-delay: 0.05s !important;
}

/* Quick View Button - Search/Magnifier icon */
.quick-view-item a.quick-view {
  background-color: white !important;
  background: white !important;
  position: relative !important;
}

.quick-view-item a.quick-view:hover {
  background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%) !important;
  color: white !important;
  border-color: var(--rose-500) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 12px 30px -5px rgba(136, 19, 55, 0.4) !important;
}

.quick-view-item a.quick-view span {
  display: none !important;
}

.quick-view-item a.quick-view i {
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Add to Cart Button - Shopping Bag icon */
.quick-view-item .quick-add-form {
  display: flex !important;
  margin: 0 !important;
  transform: translateY(1.5rem) scale(0.8) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-miniature:hover .quick-view-item .quick-add-form {
  transform: translateY(0) scale(1) !important;
}

.quick-view-item .quick-add-to-cart {
  background-color: var(--rose-600) !important;
  color: white !important;
  border: 2px solid var(--rose-600) !important;
}

.quick-view-item .quick-add-to-cart:hover {
  background: linear-gradient(135deg, var(--rose-700) 0%, var(--rose-800) 100%) !important;
  border-color: var(--rose-700) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 12px 30px -5px rgba(136, 19, 55, 0.5) !important;
}

.quick-view-item .quick-add-to-cart span {
  display: none !important;
}

.quick-view-item .quick-add-to-cart i {
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Tooltip on hover - using data-tooltip to avoid native browser tooltip */
.quick-view-item .hover-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute !important;
  bottom: -35px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: #1c1917 !important; /* stone-900 for darker black */
  color: white !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.2s ease !important;
  z-index: 100 !important;
  pointer-events: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.quick-view-item .hover-icon-btn:hover::after {
  opacity: 1 !important;
  visibility: visible !important;
  bottom: -32px !important;
}

/* Also style add-to-cart button tooltip specifically */
.quick-view-item .quick-add-to-cart::after {
  content: "Add to cart" !important;
}

.quick-view-item a.quick-view::after {
  content: "Quick view" !important;
}

/* Ensure buttons are truly side by side */
.quick-view-item {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* Override any conflicting styles for quick-view button */
.quick-view-item a.quick-view,
.quick-view-item .quick-view.hover-icon-btn,
a.quick-view.hover-icon-btn {
  background-color: white !important;
  background-image: none !important;
  background: white !important;
}

/* Fix for quick add button alignment */
.quick-view-item .quick-add-form,
.quick-view-item form.quick-add-form {
  display: inline-flex !important;
  align-items: center !important;
}

/* Loading state for quick add button */
.quick-add-to-cart.loading {
  pointer-events: none !important;
  opacity: 0.7 !important;
}

.quick-add-to-cart.loading i {
  animation: spin 0.8s linear infinite !important;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.product_desc,
.inner_desc {
  padding: 1.25rem !important; /* 20px */
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important; /* 4px */
}

/* Hide manufacturer/brand for cleaner look */
.product_desc .manufacturer {
  display: none !important;
}

/* ============================================
   PRODUCT TITLE
   ============================================ */
.product_name,
.product-title,
h3 .product_name {
  color: var(--stone-800) !important;
  font-weight: 500 !important; /* medium */
  font-size: 1.125rem !important; /* 18px */
  line-height: 1.375 !important; /* snug */
  margin-top: 0.25rem !important; /* 4px */
  margin-bottom: 0.5rem !important;
  min-height: 3.5rem !important; /* 56px - ensures consistent card height */
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.product-miniature:hover .product_name,
.product-miniature:hover .product-title {
  color: var(--rose-900) !important;
}

/* Remove default h3 styling */
.product_desc h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif !important; /* Override serif for product names */
  font-size: 1.125rem !important;
  font-weight: 500 !important;
}

/* ============================================
   REVIEWS - HIDE FOR CLEAN DESIGN
   ============================================ */
.hook-reviews,
.comments_note,
.star_content {
  display: none !important;
}

/* ============================================
   PRICE SECTION
   ============================================ */
.product-price-and-shipping {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 1rem !important; /* 16px */
  gap: 1rem !important;
}

.product-price-and-shipping .price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.25rem !important; /* 20px */
  font-weight: 700 !important; /* bold */
  color: var(--stone-900) !important;
  margin: 0 !important;
}

/* Regular price (crossed out) */
.product-price-and-shipping .regular-price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 0.875rem !important;
  color: var(--stone-400) !important;
  text-decoration: line-through !important;
  margin-right: 0.5rem !important;
}

/* Discount badge */
.discount-percentage,
.discount-amount {
  font-family: 'Playfair Display', Georgia, serif !important;
  background-color: var(--rose-600) !important;
  color: white !important;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 0.25rem !important;
  font-weight: 600 !important;
  margin-left: 0.5rem !important;
}

/* Fix for discount price display - prevent cutoff */
.product-miniature .product-price-and-shipping {
  flex-wrap: wrap !important;
  overflow: visible !important;
}

.product-miniature .product-price-and-shipping .product-prices {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.25rem !important;
  overflow: visible !important;
}

.product-miniature .product-price-and-shipping .discount,
.product-miniature .product-price-and-shipping .discount-amount,
.product-miniature .product-price-and-shipping .discount-percentage {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Ensure inner_desc doesn't clip discount */
.product-miniature .product_desc,
.product-miniature .inner_desc {
  overflow: visible !important;
}

/* ============================================
   ADD TO CART BUTTON
   ============================================ */
.product-add-to-cart {
  margin: 0 !important;
}

.ajax_add_to_cart_button,
.add-to-cart,
.product-add-to-cart button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important; /* 8px */
  background-color: var(--stone-900) !important;
  color: white !important;
  padding: 0.5rem 1rem !important; /* 8px 16px */
  border-radius: 0.5rem !important; /* 8px */
  font-size: 0.875rem !important; /* 14px */
  font-weight: 500 !important; /* medium */
  border: none !important;
  transition: background-color 0.2s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.ajax_add_to_cart_button:hover,
.add-to-cart:hover,
.product-add-to-cart button:hover {
  background-color: var(--rose-800) !important;
}

/* Shorten button text if needed */
.ajax_add_to_cart_button::after,
.add-to-cart::after {
  content: "" !important;
}

/* ============================================
   HIDE OLD ACTION LINKS (WISHLIST/COMPARE)
   ============================================ */
.add-to-links {
  display: none !important;
}

/* Show only cart action */
.add-to-links li.cart {
  display: block !important;
}

/* ============================================
   VARIANT LINKS
   ============================================ */
.variant-links {
  margin-top: 0.5rem !important;
}

.variant-links a {
  display: inline-block !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: 2px solid var(--stone-200) !important;
  margin-right: 0.25rem !important;
  transition: border-color 0.2s ease !important;
}

.variant-links a:hover {
  border-color: var(--rose-600) !important;
}

/* ============================================
   END PHASE 2: PRODUCT CARD
   ============================================ */

/* ============================================================
   CATEGORY PAGE REDESIGN - PHASE 3: GRID LAYOUT
   ============================================================
   Date: 2026-01-05
   Description: CSS Grid layout with responsive columns
   ============================================================ */

/* ============================================
   PRODUCT GRID CONTAINER
   ============================================ */
#js-product-list .product_content,
.products .product_content {
  display: grid !important;
  gap: 2rem !important; /* 32px */
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
  #js-product-list .product_content.grid,
  .products .product_content.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
  #js-product-list .product_content.grid,
  .products .product_content.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* List View: Always 1 column */
#js-product-list .product_content.list,
.products .product_content.list {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

/* Remove Bootstrap column classes effects */
.item-product {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================
   END PHASE 3: GRID LAYOUT
   ============================================ */

/* ============================================================
   CATEGORY PAGE REDESIGN - PHASE 4: SIDEBAR & NAVIGATION
   ============================================================
   Date: 2026-01-05
   Description: Category sidebar with active states + Pharmacist Tip Box
   ============================================================ */

/* ============================================
   CATEGORY SIDEBAR HEADER
   ============================================ */
.block-categories h3,
.block-categories .h6,
.category-top-menu > li:first-child a {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important; /* 20px */
  color: var(--stone-900) !important;
  margin-bottom: 1.5rem !important; /* 24px */
  padding-bottom: 0.5rem !important; /* 8px */
  border-bottom: 1px solid var(--stone-100) !important;
  text-transform: none !important;
  font-weight: 600 !important;
}

/* ============================================
   CATEGORY NAVIGATION LINKS
   ============================================ */
.category-sub-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important; /* 4px */
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.category-sub-menu li {
  margin: 0 !important;
  padding: 0 !important;
}

.category-sub-menu li a {
  display: block !important;
  padding: 0.625rem 1rem !important; /* 10px 16px */
  border-radius: 0.75rem !important; /* 12px */
  font-size: 0.875rem !important; /* 14px */
  color: var(--stone-500) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.category-sub-menu li a:hover {
  color: var(--rose-700) !important;
  background-color: var(--stone-50) !important;
}

/* Active Category State - detect by current page */
.category-sub-menu li.current a,
.category-sub-menu li a.active,
body.category-id-23 .category-sub-menu li[data-depth="0"]:nth-child(1) a {
  background-color: var(--rose-50) !important;
  color: var(--rose-900) !important;
  font-weight: 600 !important; /* semibold */
  box-shadow: 0 1px 2px 0 rgba(136, 19, 55, 0.05) !important;
}

/* ============================================
   PHARMACIST TIP BOX
   ============================================ */
.pharmacist-tip-box,
#pharmacist-tip {
  background-color: var(--stone-900) !important;
  border-radius: 1rem !important; /* 16px */
  padding: 1.5rem !important; /* 24px */
  color: white !important;
  position: relative !important;
  overflow: hidden !important;
  margin-top: 2.5rem !important; /* 40px gap from categories */
}

.pharmacist-tip-box .bg-icon {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  padding: 0.5rem !important; /* 8px */
  color: rgba(244, 63, 94, 0.2) !important; /* rose-500/20 */
  transition: color 0.2s ease !important;
  font-size: 64px !important;
}

.pharmacist-tip-box:hover .bg-icon {
  color: rgba(244, 63, 94, 0.4) !important; /* rose-500/40 */
}

.pharmacist-tip-box .content {
  position: relative !important;
  z-index: 10 !important;
}

.pharmacist-tip-box .badge {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important; /* 8px */
  color: var(--rose-400) !important;
  margin-bottom: 0.5rem !important; /* 8px */
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important; /* tracking-widest */
}

.pharmacist-tip-box h4 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important; /* 18px */
  margin-bottom: 0.5rem !important; /* 8px */
  color: white !important;
  font-weight: 500 !important;
}

.pharmacist-tip-box p {
  font-size: 0.75rem !important; /* 12px */
  color: var(--stone-400) !important;
  line-height: 1.625 !important; /* leading-relaxed */
  font-weight: 300 !important; /* font-light */
  margin-bottom: 0 !important;
}

.pharmacist-tip-box .cta-link {
  display: inline-block !important;
  margin-top: 1rem !important; /* 16px */
  font-size: 0.75rem !important; /* 12px */
  font-weight: 600 !important; /* semibold */
  color: white !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.pharmacist-tip-box .cta-link:hover {
  color: var(--rose-400) !important;
}

/* ============================================
   END PHASE 4: SIDEBAR & NAVIGATION
   ============================================ */

/* ============================================================
   CATEGORY PAGE REDESIGN - PHASE 5: TOOLBAR & CONTROLS
   ============================================================
   Date: 2026-01-05
   Description: Modern toolbar with filters, view toggle, and sort
   ============================================================ */

/* ============================================
   TOOLBAR CONTAINER
   ============================================ */
#js-product-list-top,
.products-selection {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important; /* 16px */
  margin-bottom: 2.5rem !important; /* 40px */
  padding-bottom: 1.5rem !important; /* 24px */
  border-bottom: 1px solid var(--stone-100) !important;
}

@media (min-width: 640px) {
  #js-product-list-top,
  .products-selection {
    flex-direction: row !important;
  }
}

.sort-by-row {
  display: flex !important;
  width: 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

@media (min-width: 640px) {
  .sort-by-row {
    flex-direction: row !important;
  }
}

.sort-by-left,
.sort-by-right {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important; /* 24px */
  flex-wrap: wrap !important;
}

/* ============================================
   FILTERS BUTTON
   ============================================ */
/* Outer container - single layer styling */
.filter-button {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important; /* 8px */
  padding: 0.625rem 1.25rem !important; /* 10px 20px */
  background-color: var(--stone-50) !important;
  border: 1px solid var(--stone-200) !important;
  border-radius: 9999px !important; /* rounded-full */
  font-size: 0.875rem !important; /* 14px */
  font-weight: 500 !important; /* medium */
  color: var(--stone-700) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

/* Inner anchor - minimal styling, no padding/border/background */
.filter-button a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important; /* 8px */
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.filter-button:hover {
  border-color: var(--rose-300) !important;
  color: var(--rose-700) !important;
}

.filter-button i {
  font-size: 16px !important;
}

/* ============================================
   VIEW SWITCHER
   ============================================ */
.view-switcher {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important; /* 4px */
  background-color: var(--stone-50) !important;
  border: 1px solid var(--stone-200) !important;
  border-radius: 0.5rem !important; /* 8px */
  padding: 0.375rem !important; /* 6px */
}

.view-switcher .shop-view {
  padding: 0.5rem !important; /* 8px */
  border-radius: 0.25rem !important; /* 4px */
  transition: all 0.2s ease !important;
  color: var(--stone-400) !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.view-switcher .shop-view.active {
  background-color: white !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  color: var(--rose-600) !important;
}

.view-switcher .shop-view i {
  font-size: 16px !important;
}

/* ============================================
   RESULTS COUNTER
   ============================================ */
.showing {
  font-size: 0.75rem !important; /* 12px */
  color: var(--stone-500) !important;
  display: none !important;
}

@media (min-width: 768px) {
  .showing {
    display: block !important;
  }
}

/* ============================================
   SORT DROPDOWN
   ============================================ */
.products-sort-order {
  position: relative !important;
}

.products-sort-order .select-title,
.products-sort-order button {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important; /* 12px */
  padding: 0.625rem 1rem !important; /* 10px 16px */
  background-color: white !important;
  border: 1px solid var(--stone-200) !important;
  border-radius: 9999px !important; /* rounded-full */
  font-size: 0.875rem !important; /* 14px */
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  color: var(--stone-700) !important;
}

.products-sort-order .select-title:hover,
.products-sort-order button:hover {
  border-color: var(--rose-300) !important;
}

.products-sort-order > span {
  color: var(--stone-500) !important;
  font-size: 0.875rem !important;
}

.products-sort-order .select-title::after {
  content: '' !important;
  display: none !important; /* Hide default bootstrap arrow */
}

.products-sort-order i.icon-rt-arrow-down {
  color: var(--stone-400) !important;
  font-size: 14px !important;
}

/* Dropdown menu */
.products-sort-order .dropdown-menu {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1000 !important;
  min-width: 200px !important;
  background-color: white !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--stone-200) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  padding: 0.5rem !important;
  margin-top: 0.25rem !important;
}

.products-sort-order .dropdown-menu.show,
.products-sort-order.open .dropdown-menu,
.products-sort-order:focus-within .dropdown-menu {
  display: block !important;
}

.products-sort-order .dropdown-menu a,
.products-sort-order .dropdown-menu .dropdown-item {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.25rem !important;
  transition: background-color 0.2s ease !important;
  color: var(--stone-700) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  clear: both !important;
}

.products-sort-order .dropdown-menu a:hover,
.products-sort-order .dropdown-menu .dropdown-item:hover {
  background-color: var(--stone-50) !important;
  color: var(--rose-700) !important;
}

.products-sort-order .dropdown-menu a.current,
.products-sort-order .dropdown-menu .dropdown-item.current {
  background-color: var(--rose-50) !important;
  color: var(--rose-900) !important;
  font-weight: 500 !important;
}

/* ============================================
   HIDE ITEMS PER PAGE (NOT IN NEW DESIGN)
   ============================================ */
.products-nb-per-page {
  display: none !important;
}

/* ============================================
   END PHASE 5: TOOLBAR & CONTROLS
   ============================================ */

/* ============================================================
   CATEGORY PAGE REDESIGN - PHASE 6: PAGINATION
   ============================================================
   Date: 2026-01-05
   Description: Circular pagination buttons with rose accent
   ============================================================ */

/* ============================================
   PAGINATION CONTAINER
   ============================================ */
.pagination,
nav.pagination,
.page-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important; /* 8px */
  margin-top: 4rem !important; /* 64px */
  padding-bottom: 4rem !important; /* 64px */
  list-style: none !important;
  padding-left: 0 !important;
}

/* ============================================
   PREVIOUS/NEXT BUTTONS
   ============================================ */
.pagination a[rel="prev"],
.pagination a[rel="next"],
.pagination .previous,
.pagination .next {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem !important; /* 8px */
  border-radius: 9999px !important; /* rounded-full */
  transition: background-color 0.2s ease !important;
  background-color: transparent !important;
  border: none !important;
  color: var(--stone-400) !important;
  text-decoration: none !important;
}

.pagination a[rel="prev"]:hover,
.pagination a[rel="next"]:hover,
.pagination .previous:hover,
.pagination .next:hover {
  background-color: var(--stone-50) !important;
}

/* Icon styling for prev/next */
.pagination a[rel="prev"] i,
.pagination a[rel="next"] i,
.pagination .previous i,
.pagination .next i {
  font-size: 20px !important;
  color: var(--stone-400) !important;
}

/* ============================================
   PAGE NUMBER BUTTONS
   ============================================ */
.pagination li a,
.pagination li span,
.pagination .page-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 9999px !important; /* rounded-full */
  font-weight: 500 !important; /* medium */
  font-size: 0.875rem !important; /* 14px */
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

/* Inactive Page Numbers */
.pagination li a:not(.current),
.pagination .page-link:not(.current) {
  border: 1px solid var(--stone-200) !important;
  background-color: transparent !important;
  color: var(--stone-600) !important;
}

.pagination li a:not(.current):hover,
.pagination .page-link:not(.current):hover {
  background-color: var(--stone-50) !important;
}

/* Active Page Number */
.pagination li span.current,
.pagination li a.current,
.pagination li.current a,
.pagination .page-link.current,
.pagination li.active a {
  background-color: var(--rose-900) !important;
  color: white !important;
  border: none !important;
}

.pagination li.current a:hover,
.pagination .page-link.current:hover,
.pagination li.active a:hover {
  background-color: var(--rose-900) !important; /* Don't change on hover */
}

/* Disabled state */
.pagination li.disabled a,
.pagination .page-link.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ============================================
   END PHASE 6: PAGINATION
   ============================================ */

/* ============================================
   FIXES: TOOLBAR ISSUES (2026-01-05)
   ============================================ */

/* FIX 1: Hide dropdown menus by default */
.products-sort-order .dropdown-menu,
.products-nb-per-page .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1000 !important;
  min-width: 200px !important;
  background-color: white !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--stone-200) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  padding: 0.5rem !important;
}

/* Dropdown items - each on its own line */
.products-sort-order .dropdown-menu a,
.products-sort-order .dropdown-menu .dropdown-item,
.products-sort-order .dropdown-menu .select-list {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
  border-radius: 0.25rem !important;
  color: var(--stone-700) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.products-sort-order .dropdown-menu a:hover,
.products-sort-order .dropdown-menu .dropdown-item:hover {
  background-color: var(--stone-50) !important;
  color: var(--rose-700) !important;
}

.products-sort-order .dropdown-menu a.current,
.products-sort-order .dropdown-menu .dropdown-item.current {
  background-color: var(--rose-50) !important;
  color: var(--rose-900) !important;
  font-weight: 500 !important;
}

/* Show dropdown when opened by Bootstrap (supports .open for BS4-alpha and .show for newer) */
.products-sort-order.open .dropdown-menu,
.products-nb-per-page.open .dropdown-menu,
.products-sort-order.show .dropdown-menu,
.products-nb-per-page.show .dropdown-menu,
.products-sort-order .dropdown-menu.show,
.products-nb-per-page .dropdown-menu.show {
  display: block !important;
}

/* Hover fallback for dropdown (in case JS doesn't work) */
.products-sort-order:hover .dropdown-menu,
.products-nb-per-page:hover .dropdown-menu {
  display: block !important;
}

/* Ensure dropdown container has proper positioning */
.products-sort-order,
.products-nb-per-page {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
}

/* Sort by label stays inline with dropdown */
.products-sort-order > span {
  white-space: nowrap !important;
}

/* FIX 2: Remove double spacing/borders */
.sort-by-row {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure single border only on main container */
#js-product-list-top.products-selection {
  border-bottom: 1px solid var(--stone-100) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* ============================================================
   MODAL FIX - Quick View & Other Modals
   ============================================================
   Date: 2026-01-06
   Description: Ensure modals display correctly as overlays
   ============================================================ */

/* Modal backdrop */
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1040 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Modal container */
.modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1050 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  outline: 0 !important;
}

/* Modal dialog - centered */
.modal-dialog {
  position: relative !important;
  width: auto !important;
  margin: 1.75rem auto !important;
  pointer-events: none !important;
  max-width: 500px !important;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px !important;
  }
}

@media (min-width: 992px) {
  .modal-dialog {
    max-width: 800px !important;
  }
}

/* Modal content */
.modal-content {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  pointer-events: auto !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 0.3rem !important;
  outline: 0 !important;
}

/* Quickview specific */
.quickview.modal-dialog {
  max-width: 90% !important;
}

@media (min-width: 992px) {
  .quickview.modal-dialog {
    max-width: 1000px !important;
  }
}

/* Ensure modal is visible when shown */
.modal.show,
.modal.in {
  display: block !important;
}

/* Hide modal when not shown */
.modal:not(.show):not(.in) {
  display: none !important;
}

/* Modal body scrolling */
.modal-body {
  position: relative !important;
  flex: 1 1 auto !important;
  padding: 1rem !important;
  overflow-y: auto !important;
  max-height: calc(100vh - 200px) !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden !important;
}

/* Ensure modal is above everything else */
.modal,
.modal-backdrop {
  position: fixed !important;
}

/* ============================================================
   FILTER PANEL - Mobile Overlay
   ============================================================
   Date: 2026-01-06
   Description: Filter panel overlay for mobile/tablet
   ============================================================ */

/* Filter wrapper - slides in from side on mobile */
#search_filters_wrapper {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: white;
  z-index: 1040;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

#search_filters_wrapper.opened {
  left: 0;
}

/* Filter overlay backdrop */
.search_filters_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1039;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search_filters_overlay.opened {
  opacity: 1;
  visibility: visible;
}

/* Desktop - show filters inline */
@media (min-width: 1024px) {
  #search_filters_wrapper {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    box-shadow: none;
    padding: 0;
    transition: none;
  }
  
  .search_filters_overlay {
    display: none;
  }
}
/**
 * PRODUCT PAGE REDESIGN - PHASE 1-6
 * Date: 2026-01-06
 * Component: Individual Product Page
 * Based on: herhealth-redesign-individual-product design
 */

/* ============================================================
   COLOR PALETTE (if not already defined)
   ============================================================ */
:root {
  /* Ensure amber for star ratings */
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
}

/* ============================================================
   PHASE 1: LAYOUT & STRUCTURE
   ============================================================ */

/* Product page container */
#main .container {
  max-width: 1280px !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

@media (min-width: 640px) {
  #main .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Grid layout: 9 columns main + 3 columns sidebar */
#content-wrapper.row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
}

@media (min-width: 1024px) {
  #content-wrapper.row {
    grid-template-columns: 3fr 1fr !important; /* 9/3 ratio */
  }
}

/* Main content area */
#content.col-sm-12 {
  grid-column: 1 !important;
}

/* Sidebar */
#left-column {
  grid-column: 1 !important;
  order: 2 !important;
}

@media (min-width: 1024px) {
  #left-column {
    grid-column: 2 !important;
    order: 1 !important;
  }
}

/* ============================================================
   PHASE 1: TAB NAVIGATION REDESIGN
   ============================================================ */

.product-tab .nav-tabs {
  display: flex !important;
  border-bottom: 1px solid var(--stone-200) !important;
  margin-bottom: 2rem !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  background: transparent !important;
}

.product-tab .nav-tabs .nav-link {
  padding: 1rem 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  color: var(--stone-400) !important;
  transition: all 0.2s ease !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.product-tab .nav-tabs .nav-link:hover {
  color: var(--stone-600) !important;
  border-bottom-color: transparent !important;
  background: transparent !important;
}

.product-tab .nav-tabs .nav-link.active {
  border-bottom-color: var(--rose-900) !important;
  color: var(--rose-900) !important;
  background: transparent !important;
}

/* Tab content container */
.product-tab .tab-content {
  background-color: rgba(250, 250, 249, 0.5) !important; /* stone-50/50 */
  border-radius: 1rem !important;
  padding: 2rem !important;
  border: 1px solid var(--stone-100) !important;
  min-height: 300px !important;
}

/* ============================================================
   PHASE 2: PRODUCT IMAGE GALLERY
   ============================================================ */

/* Main product image container */
.product-cover {
  aspect-ratio: 4 / 5 !important;
  background-color: var(--stone-50) !important;
  border-radius: 1rem !important;
  border: 1px solid var(--stone-100) !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s ease !important;
}

.product-cover:hover img {
  transform: scale(1.05) !important;
}

/* Product flags/badges */
.product-flags .product-flag {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  background-color: var(--rose-600) !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  z-index: 10 !important;
}

/* Thumbnail images */
.product-images .images-container {
  display: flex !important;
  gap: 1rem !important;
  overflow-x: auto !important;
  padding-bottom: 0.5rem !important;
  margin-top: 1rem !important;
}

.product-images .images-container img,
.product-images .images-container .thumb-container {
  width: 5rem !important;
  height: 5rem !important;
  flex-shrink: 0 !important;
  background-color: var(--stone-50) !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--stone-200) !important;
  object-fit: cover !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}

.product-images .images-container img:hover,
.product-images .images-container .thumb-container:hover {
  border-color: var(--rose-400) !important;
}

/* ============================================================
   PHASE 2: PRODUCT INFORMATION SECTION
   ============================================================ */

/* Star ratings */
.product-ratings .star-rating,
.star-content {
  display: flex !important;
  gap: 0.125rem !important;
  color: var(--amber-400) !important;
  font-size: 14px !important;
}

.product-ratings .star-rating .star,
.star-content .star {
  fill: currentColor !important;
}

.product-ratings .comments_note {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.product-ratings .comments_note a {
  font-size: 0.75rem !important;
  color: var(--rose-600) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.product-ratings .comments_note a:hover {
  text-decoration: underline !important;
}

/* Product title */
.product-name,
#product .h1,
.product-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.2 !important;
}

@media (min-width: 640px) {
  .product-name,
  #product .h1,
  .product-title {
    font-size: 2.25rem !important;
  }
}

/* Short description */
.product-description-short,
.product-description-short p {
  color: var(--stone-500) !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
}

/* Price section */
.product-prices {
  padding-top: 1.5rem !important;
  margin-top: 1.5rem !important;
  border-top: 1px solid var(--stone-100) !important;
}

.product-price {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.25rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 1.5rem !important;
  font-weight: 700 !important;
}

/* ============================================================
   PHASE 2: QUANTITY SELECTOR & BUTTONS
   ============================================================ */

/* Quantity selector container */
.product-add-to-cart .product-quantity {
  max-width: 28rem !important;
}

.product-quantity .qty {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: var(--stone-50) !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1rem !important;
  border: 1px solid var(--stone-200) !important;
  margin-bottom: 1rem !important;
}

.product-quantity .qty label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--stone-600) !important;
  margin: 0 !important;
}

.product-quantity .input-group {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  background: transparent !important;
  border: none !important;
}

.product-quantity .input-group .btn {
  padding: 0.25rem !important;
  background: transparent !important;
  border: none !important;
  color: var(--stone-600) !important;
  transition: color 0.2s ease !important;
  box-shadow: none !important;
}

.product-quantity .input-group .btn:hover {
  color: var(--rose-600) !important;
}

.product-quantity .input-group input {
  width: 1rem !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Add to Cart & Buy Now Buttons */
.product-add-to-cart .add {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.product-add-to-cart .add .btn-primary {
  grid-column: 1 !important;
  padding: 0.875rem 1rem !important;
  background-color: var(--stone-900) !important;
  color: white !important;
  border-radius: 9999px !important;
  font-weight: 500 !important;
  border: none !important;
  transition: background-color 0.2s ease !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.product-add-to-cart .add .btn-primary:hover {
  background-color: var(--rose-900) !important;
}

/* Buy Now button (if exists, otherwise create) */
.product-add-to-cart .btn-buy-now {
  grid-column: 2 !important;
  padding: 0.875rem 1rem !important;
  background-color: var(--rose-50) !important;
  color: var(--rose-900) !important;
  border-radius: 9999px !important;
  font-weight: 500 !important;
  border: 1px solid var(--rose-200) !important;
  transition: background-color 0.2s ease !important;
}

.product-add-to-cart .btn-buy-now:hover {
  background-color: var(--rose-100) !important;
}

/* Wishlist link */
.wishlist-button-add,
.wishlist-link {
  width: 100% !important;
  padding: 0.5rem 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-400) !important;
  background: transparent !important;
  border: none !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.wishlist-button-add:hover,
.wishlist-link:hover {
  color: var(--rose-600) !important;
}

.wishlist-button-add:hover span,
.wishlist-link:hover span {
  border-bottom: 1px solid var(--rose-300) !important;
}

/* ============================================================
   PHASE 2: TRUST POLICIES SECTION
   ============================================================ */

.product-additional-info,
.product-reassurance {
  margin-top: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.product-reassurance .reassurance-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
}

.product-reassurance .reassurance-item svg,
.product-reassurance .reassurance-item .material-icons {
  color: var(--rose-300) !important;
  flex-shrink: 0 !important;
  margin-top: 0.125rem !important;
  font-size: 20px !important;
}

.product-reassurance .reassurance-item .reassurance-title {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-800) !important;
  margin-bottom: 0.125rem !important;
}

.product-reassurance .reassurance-item .reassurance-text {
  font-size: 0.75rem !important;
  color: var(--stone-500) !important;
  line-height: 1.4 !important;
}

/* ============================================================
   PHASE 2: SOCIAL SHARE SECTION
   ============================================================ */

.product-social-sharing {
  margin-top: 2rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-400) !important;
}

.product-social-sharing a {
  color: var(--stone-400) !important;
  transition: color 0.2s ease !important;
  font-size: 16px !important;
}

.product-social-sharing a:hover {
  color: var(--rose-600) !important;
}

/* ============================================================
   PHASE 3: DESCRIPTION TAB CONTENT
   ============================================================ */

.tab-pane#description {
  max-width: 48rem !important;
}

.tab-pane#description h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: var(--stone-800) !important;
  margin-bottom: 0.75rem !important;
}

.tab-pane#description p {
  color: var(--stone-600) !important;
  line-height: 1.6 !important;
}

/* Two-column grid for description content */
.description-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  margin: 2rem 0 !important;
}

@media (min-width: 768px) {
  .description-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.description-grid h4 {
  font-weight: 700 !important;
  color: var(--stone-800) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.5rem !important;
}

.description-grid ul {
  list-style-type: disc !important;
  padding-left: 1.25rem !important;
}

.description-grid ul li {
  color: var(--stone-600) !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem !important;
}

.description-grid ul li::marker {
  color: var(--rose-400) !important;
}

.description-grid ul li strong {
  font-weight: 600 !important;
}

/* Cost box in description */
.description-cost-box {
  background-color: white !important;
  padding: 1rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid var(--stone-200) !important;
  margin-top: 1.5rem !important;
}

.description-cost-box h4 {
  font-weight: 700 !important;
  color: var(--stone-800) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.5rem !important;
}

.description-cost-box ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.description-cost-box ul li {
  color: var(--stone-600) !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.25rem !important;
}

.description-cost-box p {
  margin-top: 0.5rem !important;
  font-size: 0.75rem !important;
  color: var(--stone-400) !important;
  font-style: italic !important;
}

/* ============================================================
   PHASE 3: REVIEWS TAB CONTENT
   ============================================================ */

.tab-pane#reviews {
  max-width: 32rem !important;
}

.tab-pane#reviews h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: var(--stone-800) !important;
  margin-bottom: 1.5rem !important;
}

.review-form-container {
  background-color: white !important;
  padding: 1.5rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid var(--stone-200) !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.review-product-info {
  display: flex !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.review-product-info img {
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 0.5rem !important;
  object-fit: cover !important;
}

.review-product-info h4 {
  font-weight: 500 !important;
  color: var(--stone-900) !important;
  font-size: 0.875rem !important;
}

.review-product-info p {
  font-size: 0.75rem !important;
  color: var(--stone-400) !important;
}

/* Star rating selector */
.review-rating-input {
  margin-bottom: 1rem !important;
}

.review-rating-input label {
  display: block !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: var(--stone-500) !important;
  margin-bottom: 0.25rem !important;
}

.review-rating-input .stars {
  display: flex !important;
  gap: 0.25rem !important;
  color: var(--stone-300) !important;
}

.review-rating-input .stars .star {
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.review-rating-input .stars .star:hover,
.review-rating-input .stars .star.active {
  color: var(--amber-400) !important;
}

/* Review form inputs */
.review-form-group {
  margin-bottom: 1rem !important;
}

.review-form-group label {
  display: block !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: var(--stone-500) !important;
  margin-bottom: 0.25rem !important;
}

.review-form-group input,
.review-form-group textarea {
  width: 100% !important;
  border: 1px solid var(--stone-200) !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
}

.review-form-group input:focus,
.review-form-group textarea:focus {
  outline: none !important;
  border-color: var(--rose-200) !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
}

.review-form-group textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

/* Review form buttons */
.review-form-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
  padding-top: 0.5rem !important;
}

.review-form-actions .btn-cancel {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--stone-500) !important;
  background: transparent !important;
  border: none !important;
  transition: color 0.2s ease !important;
}

.review-form-actions .btn-cancel:hover {
  color: var(--stone-800) !important;
}

.review-form-actions .btn-submit {
  padding: 0.5rem 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  background-color: var(--rose-900) !important;
  color: white !important;
  border-radius: 9999px !important;
  border: none !important;
  transition: background-color 0.2s ease !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.review-form-actions .btn-submit:hover {
  background-color: var(--rose-800) !important;
}

/* ============================================================
   PHASE 4: RELATED PRODUCTS SECTION
   ============================================================ */

.products-section {
  margin-top: 4rem !important;
}

.products-section .section-heading {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 2rem !important;
  border-left: 4px solid var(--rose-900) !important;
  padding-left: 1rem !important;
}

.products-section .products {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 640px) {
  .products-section .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .products-section .products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ============================================================
   PHASE 4: PRODUCT CARD REDESIGN
   ============================================================ */

.product-miniature {
  background-color: white !important;
  border-radius: 1rem !important;
  border: 1px solid var(--stone-100) !important;
  overflow: hidden !important;
  transition: all 0.5s ease !important;
}

.product-miniature:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(136, 19, 55, 0.05) !important;
}

/* Product card image */
.product-miniature .product-thumbnail {
  aspect-ratio: 4 / 5 !important;
  background-color: var(--stone-50) !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-miniature .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s ease !important;
}

.product-miniature:hover .product-thumbnail img {
  transform: scale(1.1) !important;
}

/* Product flags on cards */
.product-miniature .product-flag.new {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 10 !important;
  background-color: var(--rose-600) !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

/* Hover overlay on product cards */
.product-miniature .product-thumbnail::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-color: rgba(136, 19, 55, 0.1) !important; /* rose-900/10 */
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

.product-miniature:hover .product-thumbnail::before {
  opacity: 1 !important;
}

/* Product card action buttons (Quick view, Wishlist) */
.product-miniature .product-actions {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  z-index: 20 !important;
}

.product-miniature .product-actions a,
.product-miniature .product-actions button {
  padding: 0.75rem !important;
  background-color: white !important;
  color: var(--stone-700) !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  transform: translateY(1rem) !important;
  opacity: 0 !important;
  border: none !important;
}

.product-miniature:hover .product-actions a,
.product-miniature:hover .product-actions button {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.product-miniature .product-actions a:nth-child(2),
.product-miniature .product-actions button:nth-child(2) {
  transition-delay: 0.1s !important;
}

.product-miniature .product-actions a:hover,
.product-miniature .product-actions button:hover {
  background-color: var(--rose-600) !important;
  color: white !important;
}

/* Product card content */
.product-miniature .product-description {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}

.product-miniature .product-title {
  color: var(--stone-800) !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  line-height: 1.3 !important;
  margin-top: 0.25rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 3.5rem !important;
  transition: color 0.2s ease !important;
}

.product-miniature:hover .product-title {
  color: var(--rose-900) !important;
}

.product-miniature .product-price-and-shipping {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 1rem !important;
}

.product-miniature .product-price {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--stone-900) !important;
}

/* Add to cart button on card */
.product-miniature .btn-add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background-color: var(--stone-900) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: background-color 0.2s ease !important;
  border: none !important;
}

.product-miniature .btn-add-to-cart:hover {
  background-color: var(--rose-800) !important;
}

/* Quick view link - now using icon button in overlay */
/* Text link styles removed - using hover-icon-btn instead */

/* ============================================================
   PHASE 5: SIDEBAR WIDGETS
   ============================================================ */

/* Categories widget */
#left-column .block-categories {
  background-color: white !important;
  border-radius: 1rem !important;
  border: 1px solid var(--stone-100) !important;
  padding: 1.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 2.5rem !important;
}

#left-column .block-categories .h3,
#left-column .block-categories h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

#left-column .block-categories ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#left-column .block-categories li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-500) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

#left-column .block-categories li a:hover {
  color: var(--rose-700) !important;
  background-color: var(--stone-50) !important;
}

#left-column .block-categories li.current a,
#left-column .block-categories li.active a {
  background-color: var(--rose-50) !important;
  color: var(--rose-900) !important;
  font-weight: 500 !important;
}

/* Right column categories widget - same styles as left column */
#right-column .block-categories {
  background-color: white !important;
  border-radius: 1rem !important;
  border: 1px solid var(--stone-100) !important;
  padding: 1.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 2.5rem !important;
}

#right-column .block-categories .h3,
#right-column .block-categories h3,
#right-column .block-categories .h6,
#right-column .block-categories .category-top-menu > li:first-child a {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

#right-column .block-categories ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#right-column .block-categories li.current a,
#right-column .block-categories li.active a {
  background-color: var(--rose-50) !important;
  color: var(--rose-900) !important;
  font-weight: 500 !important;
}

/* Expert Support Widget - NEW COMPONENT */
.expert-support-widget {
  background-color: rgb(76, 5, 25) !important; /* rose-950 */
  border-radius: 1rem !important;
  padding: 1.5rem !important;
  color: white !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 2.5rem !important;
}

.expert-support-widget .decorative-icon {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  padding: 0.5rem !important;
  color: rgba(225, 29, 72, 0.1) !important; /* rose-500/10 */
  font-size: 80px !important;
  transition: color 0.3s ease !important;
}

.expert-support-widget:hover .decorative-icon {
  color: rgba(225, 29, 72, 0.2) !important;
}

.expert-support-widget .badge {
  display: inline-block !important;
  padding: 0.25rem 0.5rem !important;
  background-color: rgba(159, 18, 57, 0.5) !important; /* rose-800/50 */
  border-radius: 0.25rem !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.75rem !important;
  border: 1px solid rgb(159, 18, 57) !important; /* rose-700 */
}

.expert-support-widget h4 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  position: relative !important;
  z-index: 10 !important;
}

.expert-support-widget p {
  font-size: 0.75rem !important;
  color: rgb(254, 205, 211) !important; /* rose-200 */
  line-height: 1.6 !important;
  font-weight: 300 !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
  z-index: 10 !important;
}

.expert-support-widget .btn-chat {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  background-color: white !important;
  color: rgb(136, 19, 55) !important; /* rose-900 */
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background-color 0.2s ease !important;
  cursor: pointer !important;
}

.expert-support-widget .btn-chat:hover {
  background-color: rgb(255, 241, 242) !important; /* rose-50 */
}

/* Safety Information Widget */
.safety-info-widget {
  background-color: var(--stone-50) !important;
  border-radius: 0.75rem !important;
  padding: 1.25rem !important;
  border: 1px solid var(--stone-100) !important;
  margin-bottom: 2.5rem !important;
}

.safety-info-widget h5 {
  font-weight: 600 !important;
  color: var(--stone-800) !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem !important;
}

.safety-info-widget p {
  font-size: 0.75rem !important;
  color: var(--stone-500) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ============================================================
   PHASE 6: RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 1023px) {
  /* Stack sidebar below main content on mobile/tablet */
  #left-column {
    margin-top: 3rem !important;
  }

  /* Adjust product grid for mobile */
  .product-images .images-container {
    gap: 0.5rem !important;
  }

  .product-images .images-container img,
  .product-images .images-container .thumb-container {
    width: 4rem !important;
    height: 4rem !important;
  }
}

@media (max-width: 639px) {
  .product-name,
  #product .h1,
  .product-title {
    font-size: 1.875rem !important;
  }

  .product-price {
    font-size: 2rem !important;
  }

  .product-tab .nav-tabs .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 0.75rem !important;
  }
}

/* ============================================================
   END OF PRODUCT PAGE REDESIGN
   ============================================================ */

/* ============================================
   PRODUCT PAGE LAYOUT FIX - Force 9/3 Grid
   ============================================ */

/* Ensure row uses flexbox and columns sit side-by-side */
.row-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Force content wrapper to take 9 columns on desktop */
#content-wrapper.right-column {
  flex: 0 0 75% !important;
  max-width: 75% !important;
  width: 75% !important;
}

/* Force right column to take 3 columns (25%) on desktop */
#right-column {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding-left: 15px !important;
}

/* On mobile/tablet, stack vertically */
@media (max-width: 991px) {
  #content-wrapper.right-column,
  #right-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Ensure container has proper width */
.row-wrapper .container {
  width: 100% !important;
}


/* ============================================
   SIDEBAR WIDGET STYLING
   ============================================ */

/* Shop by Category Heading */
.block-categories-heading {
  margin-bottom: 1rem !important;
}

.block-categories-heading .h4 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0 !important;
}

.block-categories-heading .material-icons {
  font-size: 1.25rem !important;
  color: var(--stone-400) !important;
}

/* Category List Styling */
.block-categories {
  margin-bottom: 2rem !important;
}

.block-categories ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

.block-categories li {
  margin-bottom: 0.75rem !important;
}

.block-categories li a {
  color: var(--stone-700) !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  display: block !important;
  padding: 0.25rem 0 !important;
  transition: color 0.2s ease !important;
}

.block-categories li a:hover {
  color: var(--rose-900) !important;
}

/* Active category */
.block-categories li.current a,
.block-categories li.active a {
  color: var(--rose-900) !important;
  font-weight: 600 !important;
}


/* ============================================
   TAB STYLING ENHANCEMENTS
   ============================================ */

/* Ensure tabs display correctly */
.product-tab {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.product-tab .nav-tabs {
  display: flex !important;
  border-bottom: 1px solid var(--stone-200) !important;
  margin-bottom: 2rem !important;
  gap: 0 !important;
}

.product-tab .nav-tabs .nav-item {
  margin-bottom: 0 !important;
}

.product-tab .nav-tabs .nav-link {
  padding: 1rem 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: var(--stone-400) !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
}

.product-tab .nav-tabs .nav-link:hover {
  color: var(--stone-600) !important;
  border-bottom-color: var(--stone-300) !important;
}

.product-tab .nav-tabs .nav-link.active {
  border-bottom-color: var(--rose-900) !important;
  color: var(--rose-900) !important;
  background: transparent !important;
}

/* Tab content area */
.product-tab .tab-content {
  padding-top: 1.5rem !important;
}

.product-tab .tab-pane {
  display: none !important;
}

.product-tab .tab-pane.active {
  display: block !important;
}

/* ============================================
   PRODUCT IMAGE STYLING  
   ============================================ */

/* Product cover container */
.product-cover-container {
  position: relative !important;
  background-color: var(--stone-50) !important;
  border-radius: 1rem !important;
  border: 1px solid var(--stone-100) !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 5 !important;
}

.product-cover {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
}

.product-cover img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.product-cover-container:hover .product-cover img {
  transform: scale(1.05) !important;
}

/* Product flags (badges) */
.product-flag {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 10 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-flag li {
  padding: 0.25rem 0.75rem !important;
  border-radius: 0.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: white !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase !important;
}

.product-flag li.new {
  background-color: #10b981 !important; /* green */
}

.product-flag li.on-sale {
  background-color: var(--rose-600) !important;
}

/* Add RX REQUIRED badge styling (for future implementation) */
.product-flag li.rx-required {
  background-color: var(--rose-600) !important;
}

/* ============================================
   QUANTITY SELECTOR STYLING
   ============================================ */

.product-quantity .qty {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--stone-50) !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1.5rem !important;
  border: 1px solid var(--stone-200) !important;
  gap: 1rem !important;
  min-width: 180px !important;
  max-width: 220px !important;
}

.product-quantity .qty .btn-touchspin {
  background: transparent !important;
  border: none !important;
  padding: 0.25rem !important;
  color: var(--stone-700) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-quantity .qty .btn-touchspin:hover {
  color: var(--rose-900) !important;
}

.product-quantity .qty input[type="number"] {
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  width: 3rem !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

/* Remove number input spinners */
.product-quantity .qty input[type="number"]::-webkit-inner-spin-button,
.product-quantity .qty input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.product-quantity .qty input[type="number"] {
  -moz-appearance: textfield !important;
}

/* ============================================
   BUTTON STYLING
   ============================================ */

/* Add to cart button */
.add-to-cart {
  background-color: var(--rose-900) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease !important;
}

.add-to-cart:hover {
  background-color: var(--rose-800) !important;
}

/* Buy now button */
.btn-buy-now {
  background-color: var(--rose-100) !important;
  color: var(--rose-900) !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.btn-buy-now:hover {
  background-color: var(--rose-200) !important;
}


/* ============================================
   TYPOGRAPHY - Playfair Display for Headings
   ============================================ */

/* Product title */
.product-name,
.h1.namne_details {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--stone-900) !important;
  line-height: 1.2 !important;
}

/* Product price */
.product-prices .product-price,
.current-price span[itemprop="price"] {
  font-family: 'Playfair Display', serif !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: var(--stone-900) !important;
}

/* Description tab headings */
.product-description h3,
.tab-pane h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 1rem !important;
}

.product-description h4,
.tab-pane h4 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--stone-800) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.75rem !important;
}

/* Description tab content */
.product-description p,
.tab-pane p {
  color: var(--stone-600) !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

/* Bullet lists with rose bullets */
.product-description ul li,
.tab-pane ul li {
  color: var(--stone-600) !important;
  margin-bottom: 0.5rem !important;
}

.product-description ul li::marker,
.tab-pane ul li::marker {
  color: var(--rose-600) !important;
}

/* Related products heading */
.products-section .section-heading,
.products-accessories h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: var(--stone-900) !important;
  border-left: 4px solid var(--rose-900) !important;
  padding-left: 1rem !important;
  margin-bottom: 1.5rem !important;
}

/* Reviews tab heading */
.product-reviews-content h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 1.5rem !important;
}

/* ============================================
   REVIEWS TAB DETAILED STYLING
   ============================================ */

/* Review product info card */
.review-product-info {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  padding: 1rem !important;
  background-color: white !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--stone-200) !important;
}

/* Product avatar - initials */
.review-product-info .no-image,
.review-product-avatar {
  width: 4rem !important;
  height: 4rem !important;
  background-color: var(--rose-100) !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--rose-900) !important;
  flex-shrink: 0 !important;
}

.review-product-info h4 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
  margin-bottom: 0.25rem !important;
  text-transform: none !important;
}

.review-product-info p {
  font-size: 0.875rem !important;
  color: var(--stone-500) !important;
  margin-bottom: 0 !important;
}

/* Review form groups */
.review-form-group {
  margin-bottom: 1.5rem !important;
}

.review-form-group label {
  display: block !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--stone-700) !important;
  margin-bottom: 0.5rem !important;
}

/* Star rating */
.review-rating-input .stars {
  display: flex !important;
  gap: 0.25rem !important;
}

.review-rating-input .stars svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
  fill: none !important;
  stroke: var(--stone-300) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.review-rating-input .stars svg:hover,
.review-rating-input .stars svg.active {
  fill: var(--amber-400) !important;
  stroke: var(--amber-400) !important;
}

/* Form inputs */
.review-form-group input[type="text"],
.review-form-group textarea {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 1px solid var(--stone-200) !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-900) !important;
  transition: border-color 0.2s ease !important;
}

.review-form-group input[type="text"]:focus,
.review-form-group textarea:focus {
  outline: none !important;
  border-color: var(--rose-900) !important;
}

.review-form-group input[type="text"]::placeholder,
.review-form-group textarea::placeholder {
  color: var(--stone-400) !important;
}

.review-form-group textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Form buttons */
.review-form-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
}

.btn-cancel {
  padding: 0.75rem 1.5rem !important;
  background-color: transparent !important;
  color: var(--stone-600) !important;
  border: 1px solid var(--stone-300) !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-cancel:hover {
  background-color: var(--stone-50) !important;
  border-color: var(--stone-400) !important;
}

.btn-submit {
  padding: 0.75rem 1.5rem !important;
  background-color: var(--rose-900) !important;
  color: white !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.btn-submit:hover {
  background-color: var(--rose-800) !important;
}

/* ============================================
   CATEGORY LIST REFINEMENTS
   ============================================ */

/* Hide "Product categories" top-level link */
.block-categories .category-top-menu > li > a {
  display: none !important;
}

/* Ensure sub-menu displays */
.block-categories .category-sub-menu {
  display: block !important;
}

/* ============================================
   RELATED PRODUCTS CARD STYLING
   ============================================ */

/* Product card containers */
.products .product-miniature {
  background-color: var(--stone-50) !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative !important;
}

.products .product-miniature:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Product image in cards */
.products .product-miniature .product-thumbnail {
  aspect-ratio: 4 / 5 !important;
  background-color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.products .product-miniature .product-thumbnail img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Product title in cards */
.products .product-miniature .product-title {
  font-size: 0.875rem !important;
  color: var(--stone-900) !important;
  padding: 0.75rem !important;
}

/* Product price in cards */
.products .product-miniature .product-price-and-shipping {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--stone-900) !important;
  padding: 0 0.75rem 0.75rem !important;
}

/* Quick View overlay - DISABLED (using new centered buttons instead) */
/* Old dark gradient overlay removed - now using centered icon buttons */


/* ============================================
   PRODUCT PAGE REDESIGN - GAP FIXES
   Date: 2026-01-06
   ============================================ */

/* ============================================
   GAP #1: RIGHT SIDEBAR STYLING
   ============================================ */

/* Sidebar container */
#right-column.product-sidebar {
  padding-left: 2rem !important;
}

/* Sidebar sections */
.sidebar-section {
  margin-bottom: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
}

.sidebar-section:last-child {
  border-bottom: none !important;
}

/* Shop by Category heading */
.sidebar-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 1rem !important;
}

.sidebar-heading .material-icons {
  font-size: 1.25rem !important;
  color: var(--stone-400, #A8A29E) !important;
}

/* Category list styling */
.shop-by-category .category-list {
  padding: 0 !important;
}

.shop-by-category .block-categories {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

.shop-by-category .block-categories .h4,
.shop-by-category .block-categories h4 {
  display: none !important;
}

.shop-by-category .category-sub-menu {
  padding-left: 0 !important;
  list-style: none !important;
}

.shop-by-category .category-sub-menu li {
  margin-bottom: 0.5rem !important;
}

.shop-by-category .category-sub-menu li a {
  display: block !important;
  padding: 0.5rem 0 !important;
  color: var(--stone-600, #57534E) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.shop-by-category .category-sub-menu li a:hover {
  color: var(--rose-900, #881337) !important;
}

/* Active category - rose color with checkmark */
.shop-by-category .category-sub-menu li.current a,
.shop-by-category .category-sub-menu li a[aria-selected="true"] {
  color: var(--rose-700, #BE123C) !important;
  font-weight: 500 !important;
}

.shop-by-category .category-sub-menu li.current a::after {
  content: "✓" !important;
  margin-left: 0.5rem !important;
  color: var(--rose-500, #F43F5E) !important;
}

/* 24/7 Support Widget */
.expert-support-widget {
  background-color: var(--rose-950, #4C0519) !important;
  color: white !important;
  padding: 1.5rem !important;
  border-radius: 0.75rem !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: none !important;
}

.expert-support-widget .support-badge {
  display: inline-block !important;
  background-color: var(--rose-800, #9F1239) !important;
  color: white !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  margin-bottom: 1rem !important;
}

.expert-support-widget .support-icon {
  margin-bottom: 1rem !important;
}

.expert-support-widget .support-icon svg {
  width: 60px !important;
  height: 60px !important;
  stroke: var(--rose-300, #FDA4AF) !important;
  opacity: 0.3 !important;
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
}

.expert-support-widget .support-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

.expert-support-widget .support-text {
  font-size: 0.875rem !important;
  color: var(--rose-200, #FECDD3) !important;
  line-height: 1.5 !important;
  margin-bottom: 1.25rem !important;
}

.btn-chat-pharmacist {
  display: inline-block !important;
  background-color: white !important;
  color: var(--rose-900, #881337) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border: 2px solid transparent !important;
}

.btn-chat-pharmacist:hover {
  background-color: var(--rose-50, #FFF1F2) !important;
  color: var(--rose-900, #881337) !important;
}

/* Safety Information Widget */
.safety-info-widget {
  background-color: var(--stone-50, #FAFAF9) !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
}

.safety-info-widget .safety-heading {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.5rem !important;
}

.safety-info-widget .safety-text {
  font-size: 0.75rem !important;
  color: var(--stone-500, #78716C) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ============================================
   GAP #2: TAB STYLING - FIX DOUBLE UNDERLINE
   ============================================ */

/* Reset all tab borders */
.product-tab .nav-tabs {
  border: none !important;
  border-bottom: 1px solid var(--stone-200, #E7E5E4) !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  gap: 2rem !important;
}

.product-tab .nav-tabs .nav-item {
  margin-bottom: 0 !important;
  border: none !important;
}

.product-tab .nav-tabs .nav-link {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  padding: 1rem 0 !important;
  margin-bottom: -1px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--stone-400, #A8A29E) !important;
  transition: all 0.2s ease !important;
}

.product-tab .nav-tabs .nav-link:hover {
  color: var(--stone-600, #57534E) !important;
  border-color: transparent !important;
  background: transparent !important;
}

.product-tab .nav-tabs .nav-link.active {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid var(--rose-900, #881337) !important;
  color: var(--rose-900, #881337) !important;
}

/* Hide duplicate REVIEWS tabs */
.product-tab .nav-tabs .nav-item:nth-child(n+4) {
  display: none !important;
}

/* Tab content */
.product-tab .tab-content {
  padding-top: 1rem !important;
}

/* ============================================
   GAP #3: LAYOUT GAP - IMAGE & DETAILS
   ============================================ */

/* Product top section - image and details */
#main .row:first-child,
.product-container .row:first-child {
  display: flex !important;
  gap: 3rem !important;
}

#main .row:first-child > .col-md-6:first-child,
.product-container .row:first-child > .col-md-6:first-child {
  padding-right: 1.5rem !important;
}

#main .row:first-child > .col-md-6:last-child,
.product-container .row:first-child > .col-md-6:last-child {
  padding-left: 1.5rem !important;
}

/* ============================================
   GAP #4: QUANTITY SELECTOR STYLING
   ============================================ */

/* Quantity container - pill shape */
.product-quantity .qty,
.product-quantity .bootstrap-touchspin {
  display: inline-flex !important;
  align-items: center !important;
  background-color: var(--stone-100, #F5F5F4) !important;
  border-radius: 9999px !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  overflow: visible !important;
  padding: 0.5rem 1rem !important;
  min-width: 180px !important;
}

/* Quantity label */
.product-quantity .qty-label,
.product-quantity label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--stone-600, #57534E) !important;
  padding: 0.75rem 1rem !important;
  margin: 0 !important;
}

/* Quantity input */
.product-quantity input[type="number"],
.product-quantity #quantity_wanted {
  width: 3rem !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  -moz-appearance: textfield !important;
  padding: 0.75rem 0.5rem !important;
}

.product-quantity input[type="number"]::-webkit-inner-spin-button,
.product-quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Quantity buttons */
.product-quantity .btn-touchspin,
.product-quantity .bootstrap-touchspin-down,
.product-quantity .bootstrap-touchspin-up {
  width: 2.5rem !important;
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: var(--stone-600, #57534E) !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.product-quantity .btn-touchspin:hover {
  color: var(--rose-900, #881337) !important;
}

/* ============================================
   GAP #5: HIDE DUPLICATE WISHLIST/COMPARE
   ============================================ */

/* Hide duplicate wishlist buttons */
.product-actions .wishlist-button-add:not(:first-of-type),
.product-actions .pos-wishlist-add:not(:first-of-type),
.product-actions .poswishlist-add:not(:first-of-type) {
  display: none !important;
}

/* Hide multiple compare buttons */
.product-actions .poscompare-add:not(:first-of-type),
.product-actions .pos-compare-add:not(:first-of-type),
.product-actions [class*="compare"]:not(:first-of-type) {
  display: none !important;
}

/* Style single wishlist link */
.product-actions .add-to-wishlist,
.product-actions .wishlist-add-to {
  display: inline-block !important;
  color: var(--stone-500, #78716C) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  margin-top: 0.75rem !important;
  transition: color 0.2s ease !important;
}

.product-actions .add-to-wishlist:hover {
  color: var(--rose-700, #BE123C) !important;
}

/* ============================================
   GAP #6: POLICY ICONS - HORIZONTAL LAYOUT
   ============================================ */

/* Block reassurance container */
.blockreassurance,
#block-reassurance {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
}

/* Individual policy items - HORIZONTAL */
.blockreassurance_product,
.block-reassurance-item,
.blockreassurance li,
#block-reassurance li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  margin-bottom: 1rem !important;
  flex-direction: row !important;
}

/* Policy icon container */
.blockreassurance_product .item-icon,
.block-reassurance-item .item-icon,
.blockreassurance li .item-icon,
#block-reassurance li .block-icon {
  flex-shrink: 0 !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--rose-50, #FFF1F2) !important;
  border-radius: 50% !important;
}

.blockreassurance_product .item-icon img,
.block-reassurance-item .item-icon img,
#block-reassurance li .block-icon img {
  width: 1.25rem !important;
  height: 1.25rem !important;
  object-fit: contain !important;
}

/* Policy text container */
.blockreassurance_product .block-title,
.blockreassurance_product .item-title,
.block-reassurance-item .item-title,
#block-reassurance li .block-title {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.25rem !important;
  display: block !important;
}

.blockreassurance_product .block-description,
.blockreassurance_product .item-description,
.block-reassurance-item .item-description,
#block-reassurance li p {
  font-size: 0.75rem !important;
  color: var(--stone-500, #78716C) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* ============================================
   GAP #7: BUTTON STYLING
   ============================================ */

/* Add to cart button - dark rose */
.product-actions .add-to-cart,
.product-actions .btn-primary,
#add-to-cart-or-refresh .add-to-cart {
  background-color: var(--rose-900, #881337) !important;
  color: white !important;
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  min-width: 160px !important;
  transition: background-color 0.2s ease !important;
}

.product-actions .add-to-cart:hover {
  background-color: var(--rose-800, #9F1239) !important;
}

/* Buy now button - outline */
.product-actions .btn-buynow,
.product-actions .btn-secondary {
  background-color: transparent !important;
  color: var(--rose-700, #BE123C) !important;
  border: 2px solid var(--rose-200, #FECDD3) !important;
  border-radius: 0.5rem !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  min-width: 160px !important;
  transition: all 0.2s ease !important;
}

.product-actions .btn-buynow:hover,
.product-actions .btn-secondary:hover {
  background-color: var(--rose-50, #FFF1F2) !important;
  border-color: var(--rose-300, #FDA4AF) !important;
}

/* Button row */
.product-actions .product-add-to-cart-buttons,
.product-actions .add-to-cart-buttons {
  display: flex !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

/* ============================================
   GAP #8: SHARE SECTION STYLING
   ============================================ */

.product-social-sharing {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
}

.product-social-sharing span {
  font-size: 0.875rem !important;
  color: var(--stone-500, #78716C) !important;
}

.product-social-sharing a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2rem !important;
  height: 2rem !important;
  color: var(--stone-400, #A8A29E) !important;
  transition: color 0.2s ease !important;
}

.product-social-sharing a:hover {
  color: var(--rose-700, #BE123C) !important;
}

/* Hide bullets in share section */
.product-social-sharing ul {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0.5rem !important;
}

/* ============================================
   GAP #9: THUMBNAIL STYLING
   ============================================ */

.product-images .product-thumbs,
.product-images .js-qv-product-images {
  display: flex !important;
  gap: 0.5rem !important;
  margin-top: 1rem !important;
}

.product-images .thumb-container,
.product-images .js-thumb-container {
  width: 60px !important;
  height: 60px !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}

.product-images .thumb-container:hover,
.product-images .thumb-container.selected {
  border-color: var(--rose-300, #FDA4AF) !important;
}

.product-images .thumb-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ============================================
   GAP #10: RX REQUIRED BADGE
   ============================================ */

/* Hide default "NEW" badge on product page */
.product-flags .new,
.product-flags .product-flag.new {
  display: none !important;
}

/* Show RX REQUIRED badge */
.product-flags .prescription,
.rx-required-badge,
.product-cover-container .rx-badge {
  display: inline-block !important;
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  background-color: var(--rose-900, #881337) !important;
  color: white !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.25rem !important;
  z-index: 10 !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991px) {
  #right-column.product-sidebar {
    padding-left: 0 !important;
    margin-top: 2rem !important;
  }
  
  .product-tab .nav-tabs {
    gap: 1rem !important;
  }
  
  .product-tab .nav-tabs .nav-link {
    font-size: 0.625rem !important;
    padding: 0.75rem 0 !important;
  }
}

@media (max-width: 767px) {
  .product-actions .product-add-to-cart-buttons {
    flex-direction: column !important;
  }
  
  .product-actions .add-to-cart,
  .product-actions .btn-buynow {
    width: 100% !important;
  }
}


/* ============================================
   ADDITIONAL FIXES - 2026-01-06 v2
   ============================================ */

/* ============================================
   POLICY ICONS - FORCE HORIZONTAL LAYOUT
   ============================================ */

/* Target the blockreassurance module specifically */
#block-reassurance ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 !important;
}

#block-reassurance ul li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
}

#block-reassurance ul li .block-icon {
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#block-reassurance ul li .block-icon img,
#block-reassurance ul li .block-icon svg {
  width: 20px !important;
  height: 20px !important;
}

#block-reassurance ul li div:not(.block-icon) {
  flex: 1 !important;
  text-align: left !important;
}

#block-reassurance ul li .h6,
#block-reassurance ul li .block-title {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.25rem !important;
  display: block !important;
}

#block-reassurance ul li p,
#block-reassurance ul li span:not(.block-title) {
  font-size: 0.75rem !important;
  color: var(--stone-500, #78716C) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* Alternative selector for theme variations */
.blockreassurance_product {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.blockreassurance_product > img,
.blockreassurance_product > svg,
.blockreassurance_product > .item-icon {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
}

.blockreassurance_product > div {
  flex: 1 !important;
}

/* ============================================
   QUANTITY SELECTOR - PILL SHAPE FIX
   ============================================ */

.product-quantity {
  margin: 1rem 0 !important;
}

.product-quantity .qty {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border-radius: 9999px !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  padding: 0.25rem !important;
  overflow: hidden !important;
}

.product-quantity .input-group {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border-radius: 9999px !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  overflow: hidden !important;
}

.product-quantity .input-group .form-control,
.product-quantity input#quantity_wanted {
  width: 50px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.product-quantity .input-group-btn .btn,
.product-quantity .btn-touchspin {
  background: transparent !important;
  border: none !important;
  padding: 0.5rem 0.75rem !important;
  color: var(--stone-600) !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

.product-quantity .input-group-btn .btn:hover {
  color: var(--rose-700) !important;
}

/* ============================================
   HIDE DUPLICATE WISHLIST/COMPARE BUTTONS
   ============================================ */

/* Hide all wishlist buttons except the text link */
.pos-wishlist-add,
.poswishlist-add,
.wishlist-button-add,
[class*="wishlist-add"] {
  display: none !important;
}

/* Show only the clean "Add to wishlist" text */
.add-to-wishlist-link,
a[data-action="add-to-wishlist"],
.product-additional-info .wishlist-button {
  display: inline-block !important;
  color: var(--stone-500) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  margin-top: 0.5rem !important;
}

/* Hide compare buttons in product actions */
.poscompare-add,
.pos-compare-add,
[class*="compare-add"],
.compare-button {
  display: none !important;
}

/* ============================================
   TAB STYLING REFINEMENTS
   ============================================ */

/* Ensure clean tab appearance */
.tabs.product-tab {
  margin-top: 2rem !important;
}

.product-tab ul.nav-tabs {
  border: none !important;
  border-bottom: 1px solid var(--stone-200, #E7E5E4) !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem !important;
}

.product-tab ul.nav-tabs > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.product-tab ul.nav-tabs > li > a {
  display: block !important;
  padding: 0.75rem 0 !important;
  border: none !important;
  background: none !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--stone-400, #A8A29E) !important;
  position: relative !important;
  margin-bottom: -1px !important;
}

.product-tab ul.nav-tabs > li > a:hover {
  color: var(--stone-600) !important;
}

.product-tab ul.nav-tabs > li > a.active,
.product-tab ul.nav-tabs > li.active > a {
  color: var(--rose-900, #881337) !important;
  border-bottom: 2px solid var(--rose-900, #881337) !important;
}

/* Remove any default borders/outlines */
.product-tab ul.nav-tabs > li > a:focus,
.product-tab ul.nav-tabs > li > a:active {
  outline: none !important;
  box-shadow: none !important;
}

/* ============================================
   BUTTON ROW STYLING
   ============================================ */

.product-add-to-cart .add {
  display: flex !important;
  gap: 1rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-top: 1rem !important;
}

.product-add-to-cart .add .btn {
  flex: 0 0 auto !important;
  min-width: 140px !important;
}

/* Add to cart - dark button */
.product-add-to-cart .btn.add-to-cart {
  background-color: var(--rose-900, #881337) !important;
  color: white !important;
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 0.875rem 1.5rem !important;
  font-weight: 600 !important;
}

.product-add-to-cart .btn.add-to-cart:hover {
  background-color: var(--rose-800) !important;
}

/* Buy now - outline button */
.product-add-to-cart .btn.btn-buynow,
.product-add-to-cart .btn-secondary {
  background: transparent !important;
  color: var(--rose-700) !important;
  border: 2px solid var(--rose-200) !important;
  border-radius: 0.5rem !important;
  padding: 0.875rem 1.5rem !important;
  font-weight: 600 !important;
}

.product-add-to-cart .btn.btn-buynow:hover {
  background-color: var(--rose-50) !important;
}

/* ============================================
   SHARE SECTION FIX
   ============================================ */

.social-sharing {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-100) !important;
}

.social-sharing span {
  color: var(--stone-500) !important;
  font-size: 0.875rem !important;
}

.social-sharing ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.5rem !important;
}

.social-sharing ul li {
  display: flex !important;
}

.social-sharing ul li a {
  color: var(--stone-400) !important;
  padding: 0.25rem !important;
}

.social-sharing ul li a:hover {
  color: var(--rose-700) !important;
}

/* Hide bullets in share list */
.social-sharing ul li::before,
.social-sharing ul li::marker {
  display: none !important;
  content: none !important;
}


/* ============================================
   FINAL FIXES - 2026-01-06 v3
   Policy Section: Force Vertical Stack Layout
   ============================================ */

/* Container - force vertical stacking */
#block-reassurance,
.blockreassurance,
.block-reassurance {
  display: block !important;
  width: 100% !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
}

/* Override any flex/grid on the list */
#block-reassurance ul,
.blockreassurance ul,
.blockreassurance-list {
  display: block !important;
  flex-direction: column !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Each policy item - horizontal layout (icon | text) */
#block-reassurance ul li,
.blockreassurance ul li,
.blockreassurance_product {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Icon container */
#block-reassurance ul li .block-icon,
.blockreassurance ul li .item-icon,
.blockreassurance_product .item-icon {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--rose-50, #FFF1F2) !important;
  border-radius: 50% !important;
}

#block-reassurance ul li .block-icon img,
#block-reassurance ul li .block-icon svg {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
}

/* Text content - takes remaining space */
#block-reassurance ul li > div:last-child,
#block-reassurance ul li .block-title + *,
.blockreassurance ul li .item-content {
  flex: 1 !important;
  text-align: left !important;
}

/* Policy title */
#block-reassurance ul li .block-title,
#block-reassurance ul li .h6,
.blockreassurance ul li .item-title {
  display: block !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.125rem !important;
  line-height: 1.3 !important;
}

/* Policy description */
#block-reassurance ul li p,
#block-reassurance ul li span.block-description,
.blockreassurance ul li .item-description {
  display: block !important;
  font-size: 0.75rem !important;
  color: var(--stone-500, #78716C) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* ============================================
   HIDE DUPLICATE BUTTONS - More Aggressive
   ============================================ */

/* Hide all wishlist buttons/icons */
.wishlist-button-product,
.pos-wishlist-add,
.poswishlist-add,
.wishlist-button-add,
button[data-action*="wishlist"],
.product-actions .wishlist-btn,
.add-to-wishlist-btn,
.wishlist-heart,
form[action*="wishlist"] {
  display: none !important;
}

/* Show only simple text link */
.add-to-wishlist {
  display: inline-block !important;
  color: var(--stone-500) !important;
  font-size: 0.875rem !important;
  text-decoration: underline !important;
  margin-top: 0.75rem !important;
  cursor: pointer !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Hide all compare buttons */
.poscompare-add,
.pos-compare-add,
.compare-add,
.compare-button,
button[data-action*="compare"],
.product-actions .compare-btn,
form[action*="compare"] {
  display: none !important;
}

/* ============================================
   SHARE SECTION - Remove Bullets
   ============================================ */

.social-sharing,
.product-social-sharing {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-top: 1.5rem !important;
  flex-wrap: wrap !important;
}

.social-sharing > span,
.product-social-sharing > span {
  color: var(--stone-500) !important;
  font-size: 0.875rem !important;
  margin-right: 0.5rem !important;
}

.social-sharing ul,
.product-social-sharing ul {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.social-sharing ul li,
.product-social-sharing ul li {
  display: inline-flex !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove any bullets/markers */
.social-sharing ul li::before,
.social-sharing ul li::marker,
.product-social-sharing ul li::before,
.product-social-sharing ul li::marker {
  display: none !important;
  content: "" !important;
}

.social-sharing ul li a,
.product-social-sharing ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  color: var(--stone-400) !important;
  transition: color 0.2s !important;
}

.social-sharing ul li a:hover,
.product-social-sharing ul li a:hover {
  color: var(--rose-700) !important;
}

/* ============================================
   QUANTITY SELECTOR - Pill Shape Final
   ============================================ */

.product-quantity .qty,
.product-quantity .bootstrap-touchspin,
.product-quantity .input-group {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  padding: 0.25rem 0.5rem !important;
}

.product-quantity label {
  padding: 0 0.75rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-600) !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.product-quantity input[type="number"],
.product-quantity #quantity_wanted,
.product-quantity .form-control {
  width: 40px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.5rem 0 !important;
  -moz-appearance: textfield !important;
}

.product-quantity input::-webkit-outer-spin-button,
.product-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.product-quantity .btn-touchspin,
.product-quantity .bootstrap-touchspin-up,
.product-quantity .bootstrap-touchspin-down,
.product-quantity .input-group-btn .btn {
  background: transparent !important;
  border: none !important;
  color: var(--stone-500) !important;
  font-size: 1.25rem !important;
  padding: 0.25rem 0.5rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.product-quantity .btn-touchspin:hover,
.product-quantity .input-group-btn .btn:hover {
  color: var(--rose-700) !important;
}


/* ============================================
   BLOCKREASSURANCE MODULE - EXACT OVERRIDE
   Target: .blockreassurance_product structure
   ============================================ */

/* Main container - force vertical stacking */
.blockreassurance_product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 0 !important;
}

/* Each policy item div - make horizontal (icon | text) */
.blockreassurance_product > div:not(.clearfix) {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  width: 100% !important;
  padding: 0.75rem 0 !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
  float: none !important;
  margin: 0 !important;
}

.blockreassurance_product > div:last-of-type:not(.clearfix) {
  border-bottom: none !important;
}

/* Icon container */
.blockreassurance_product > div > span.item-product {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--rose-50, #FFF1F2) !important;
  border-radius: 50% !important;
  margin-right: 0.75rem !important;
}

.blockreassurance_product > div > span.item-product img {
  width: 18px !important;
  height: 18px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Make invisible images visible */
.blockreassurance_product img.invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Title styling */
.blockreassurance_product > div > span.block-title {
  display: block !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.125rem !important;
}

/* Description styling */
.blockreassurance_product > div > p {
  display: block !important;
  font-size: 0.75rem !important;
  color: var(--stone-500, #78716C) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* Hide clearfix */
.blockreassurance_product > .clearfix {
  display: none !important;
}

/* Text wrapper - group title and description */
.blockreassurance_product > div > span.block-title,
.blockreassurance_product > div > p {
  flex: 1 !important;
}

/* Alternative: Wrap text elements together */
.blockreassurance_product > div {
  flex-wrap: wrap !important;
}

.blockreassurance_product > div > span.item-product {
  order: 1 !important;
}

.blockreassurance_product > div > span.block-title {
  order: 2 !important;
  width: calc(100% - 48px) !important;
}

.blockreassurance_product > div > p {
  order: 3 !important;
  width: calc(100% - 48px) !important;
  margin-left: 48px !important;
}

/* ============================================
   WISHLIST/COMPARE - SELECTIVE HIDE
   ============================================ */

/* Hide wishlist elements EXCEPT header icon and add-to-wishlist button */
[class*="wishlist"]:not(.add-to-wishlist-simple):not(.wishlist-header-icon):not(#wishlist_button):not(.cart_button *):not(.wishlist-link-container *):not(.flying-heart):not(.wishlist-toast):not(.wishlist-pulse),
[class*="Wishlist"]:not(.add-to-wishlist-simple):not(.wishlist-header-icon):not(#wishlist_button),
.poswishlist-add,
.pos-wishlist-add,
form.wishlist-add-to {
  display: none !important;
  visibility: hidden !important;
}

/* Ensure header wishlist icon is visible */
#header-wishlist-link,
.wishlist-header-icon {
  display: flex !important;
  visibility: visible !important;
}

/* Ensure add to wishlist button in product page is visible */
.cart_button #wishlist_button,
.cart_button .addToWishlist {
  display: inline !important;
  visibility: visible !important;
}

/* Target all compare elements */
[class*="compare"]:not(.product-compare-page),
[class*="Compare"]:not(.product-compare-page),
.poscompare-add,
.pos-compare-add,
.compare-button,
.compare-btn {
  display: none !important;
  visibility: hidden !important;
}

/* ============================================
   SHARE SECTION - AGGRESSIVE FIX
   ============================================ */

.social-sharing,
div[class*="social-sharing"] {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
}

.social-sharing ul,
div[class*="social-sharing"] ul {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.social-sharing ul li,
div[class*="social-sharing"] ul li {
  list-style: none !important;
  list-style-type: none !important;
}

.social-sharing ul li::marker,
div[class*="social-sharing"] ul li::marker {
  content: none !important;
  display: none !important;
}


/* ============================================
   PRODUCT PAGE FIXES - 2026-01-06 v4
   Issues 1-5 from user feedback
   ============================================ */

/* ============================================
   ISSUE #1: GAP BETWEEN IMAGE AND DESCRIPTION
   ============================================ */

/* Product top row - add gap between columns */
#main .row,
.product-container .row,
section#main > .row {
  display: flex !important;
  gap: 2rem !important;
}

#main .row > .col-md-6,
.product-container .row > .col-md-6 {
  padding: 0 !important;
}

#main .row > .col-md-6:first-child {
  padding-right: 1rem !important;
}

#main .row > .col-md-6:last-child {
  padding-left: 1rem !important;
}

/* Alternative: Add margin to image container */
.product-cover-container,
.images-container,
#content .images-container {
  margin-right: 1.5rem !important;
}

/* ============================================
   ISSUE #2: WHITE SPACE AROUND PRICE
   ============================================ */

/* Product prices container */
.product-prices,
.product-prices.js-product-prices {
  margin: 0.5rem 0 !important;
  padding: 0 !important;
}

/* Product price itself */
.product-price,
.product-prices .product-price,
span.product-price,
.current-price .product-price {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* Current price container */
.current-price {
  margin: 0 !important;
  padding: 0 !important;
}

/* Regular price */
.product-prices .regular-price {
  margin: 0 !important;
  padding: 0 !important;
}

/* Price discount */
.product-prices .discount {
  margin: 0 0.5rem !important;
  padding: 0 !important;
}

/* Tax info */
.product-prices .tax-shipping-delivery-label {
  margin: 0.25rem 0 0 0 !important;
  padding: 0 !important;
  font-size: 0.75rem !important;
}

/* ============================================
   ISSUE #3: QUANTITY SELECTOR DOUBLE OVAL
   ============================================ */

/* Main quantity container - single pill shape */
.product-quantity .qty {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.5rem !important;
  gap: 0 !important;
}

/* Remove inner input-group styling (no second oval) */
.product-quantity .qty .input-group,
.product-quantity .input-group.bootstrap-touchspin {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Hide bootstrap touchspin buttons (use custom ones) */
.product-quantity .bootstrap-touchspin-down,
.product-quantity .bootstrap-touchspin-up,
.product-quantity .input-group-btn {
  display: none !important;
}

/* Style the custom decrement/increment buttons */
.product-quantity .btn-touchspin.js-decrease,
.product-quantity .btn-touchspin.js-increase,
.product-quantity .btn.js-touchspin {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: transparent !important;
  border: none !important;
  color: var(--stone-600) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-quantity .btn-touchspin:hover {
  color: var(--rose-700) !important;
}

.product-quantity .btn-touchspin .material-icons {
  font-size: 1.25rem !important;
}

/* Quantity input */
.product-quantity input#quantity_wanted,
.product-quantity .input-group input {
  width: 40px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.5rem 0 !important;
  -moz-appearance: textfield !important;
}

/* Quantity label */
.product-quantity .qty > label {
  margin: 0 0.5rem 0 0 !important;
  padding: 0 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--stone-600) !important;
  white-space: nowrap !important;
}

/* ============================================
   ISSUE #5: CATEGORY HOVER PINK OVERLAY
   ============================================ */

/* Category sidebar links hover effect */
.shop-by-category .category-sub-menu li a,
.block-categories .category-sub-menu li a,
#right-column .block-categories li a {
  position: relative !important;
  display: block !important;
  padding: 0.5rem 0.75rem !important;
  color: var(--stone-600) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-radius: 0.375rem !important;
}

/* Pink overlay on hover */
.shop-by-category .category-sub-menu li a:hover,
.block-categories .category-sub-menu li a:hover,
#right-column .block-categories li a:hover {
  background-color: var(--rose-50, #FFF1F2) !important;
  color: var(--rose-900, #881337) !important;
}

/* Active category styling */
.shop-by-category .category-sub-menu li.current a,
.block-categories .category-sub-menu li.current a,
#right-column .block-categories li.current a {
  background-color: var(--rose-100, #FFE4E6) !important;
  color: var(--rose-900, #881337) !important;
  font-weight: 500 !important;
}

/* Pink pill indicator for active */
.shop-by-category .category-sub-menu li.current a::before,
.block-categories .category-sub-menu li.current a::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 60% !important;
  background-color: var(--rose-500, #F43F5E) !important;
  border-radius: 0 2px 2px 0 !important;
}


/* ============================================
   CATEGORY PAGE FIXES - 2026-01-06
   Issues #7-8: Product images too large, Filters not working
   ============================================ */

/* ============================================
   ISSUE #7: CATEGORY PAGE PRODUCT CARD SIZES
   ============================================ */

/* Category page product grid - consistent card sizing */
#category .products,
#search .products,
.category-products .products,
body.category #main .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  padding: 0 !important;
}

/* Product card container - controlled max dimensions */
#category .product-miniature,
#category .thumbnail-container,
body.category .product-miniature,
body.category .thumbnail-container {
  width: 100% !important;
  max-width: 350px !important;
  background-color: white !important;
  border: 1px solid var(--stone-100, #F5F5F4) !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}

/* Image block - controlled aspect ratio */
#category .img_block,
body.category .img_block {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 100% !important; /* 1:1 square ratio for category */
  background-color: var(--stone-50, #FAFAF9) !important;
  overflow: hidden !important;
}

/* Image positioning within container */
#category .img_block > a.thumbnail,
body.category .img_block > a.thumbnail,
#category .product-thumbnail,
body.category .product-thumbnail {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
}

/* Actual product image sizing */
#category .product-thumbnail img,
body.category .product-thumbnail img,
#category .img_block img,
body.category .img_block img {
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
}

/* Product description area */
#category .product_desc,
body.category .product_desc {
  padding: 1rem !important;
  background-color: white !important;
}

/* Product name */
#category .product_name,
body.category .product_name,
#category h3 a,
body.category h3 a {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  color: var(--stone-800) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.5rem !important;
}

/* Price styling */
#category .product-price-and-shipping,
body.category .product-price-and-shipping {
  margin-top: 0.5rem !important;
}

#category .price,
body.category .price {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
}

/* Responsive grid adjustments */
@media (max-width: 991px) {
  #category .products,
  body.category .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) {
  #category .products,
  body.category .products {
    grid-template-columns: 1fr !important;
  }
  
  #category .product-miniature,
  body.category .product-miniature {
    max-width: 100% !important;
  }
}

/* ============================================
   ISSUE #8: CATEGORY PAGE FILTERS STYLING
   ============================================ */

/* Search filters wrapper */
#search_filters_wrapper {
  margin-bottom: 1.5rem !important;
}

/* Filter block styling */
#search_filters {
  background-color: white !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  padding: 1rem !important;
}

/* Filter section headings */
#search_filters .facet-label,
#search_filters .collapse-icons,
#search_filters section > p {
  font-weight: 600 !important;
  color: var(--stone-800) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
}

/* Facet dropdown sections */
#search_filters .facet {
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
  padding: 1rem 0 !important;
}

#search_filters .facet:last-child {
  border-bottom: none !important;
}

/* Filter checkboxes and labels */
#search_filters .custom-checkbox,
#search_filters ul > li {
  display: flex !important;
  align-items: center !important;
  padding: 0.375rem 0 !important;
}

#search_filters .custom-checkbox input[type="checkbox"] {
  width: 1rem !important;
  height: 1rem !important;
  margin-right: 0.5rem !important;
  accent-color: var(--rose-600) !important;
}

#search_filters label,
#search_filters .custom-checkbox span {
  font-size: 0.875rem !important;
  color: var(--stone-600) !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

#search_filters label:hover,
#search_filters .custom-checkbox:hover span {
  color: var(--rose-700) !important;
}

/* Filter count badge */
#search_filters .magnitude {
  margin-left: auto !important;
  font-size: 0.75rem !important;
  color: var(--stone-400) !important;
  background-color: var(--stone-100) !important;
  padding: 0.125rem 0.375rem !important;
  border-radius: 9999px !important;
}

/* Active filters display */
#js-active-search-filters {
  background-color: var(--rose-50, #FFF1F2) !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem !important;
  margin-bottom: 1rem !important;
}

/* Hide background when no filters are active */
#js-active-search-filters.hide,
#js-active-search-filters:empty,
#js-active-search-filters:has(> :only-child:empty) {
  background-color: transparent !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

#js-active-search-filters ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#js-active-search-filters .filter-block {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  background-color: white !important;
  border: 1px solid var(--rose-200) !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  color: var(--rose-700) !important;
}

#js-active-search-filters .filter-block .close {
  width: 1rem !important;
  height: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--rose-500) !important;
}

/* Clear all filters button */
#js-active-search-filters .js-search-filters-clear-all {
  background-color: var(--rose-600) !important;
  color: white !important;
  border: none !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

#js-active-search-filters .js-search-filters-clear-all:hover {
  background-color: var(--rose-700) !important;
}

/* Price slider styling */
#search_filters .faceted-slider li,
#search_filters .facet-slider-content li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
}

#search_filters .faceted-slider li p,
#search_filters .facet-slider-content li p,
#search_filters #facet_label_17436,
#search_filters [id^="facet_label_"] {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

#search_filters .ui-slider {
  height: 6px !important;
  background-color: var(--stone-200) !important;
  border: none !important;
  border-radius: 3px !important;
  margin: 0 !important;
  position: relative !important;
  flex-grow: 1 !important;
  min-width: 60px !important;
}

#search_filters .ui-slider-range {
  background-color: var(--rose-500) !important;
  height: 100% !important;
  border-radius: 3px !important;
}

#search_filters .ui-slider-handle {
  width: 16px !important;
  height: 16px !important;
  background-color: var(--rose-600) !important;
  border: 2px solid white !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  margin-left: -8px !important;
}

/* Mobile filter button */
#pos_search_filter_toggler {
  display: none !important;
}

@media (max-width: 991px) {
  #pos_search_filter_toggler {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background-color: var(--rose-600) !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem !important;
  }
}

/* Filter canvas for mobile */
.filters-canvas {
  position: fixed !important;
  top: 0 !important;
  left: -300px !important;
  width: 280px !important;
  height: 100vh !important;
  background-color: white !important;
  z-index: 9999 !important;
  transition: left 0.3s ease !important;
  overflow-y: auto !important;
  padding: 1rem !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
}

.filters-canvas.active {
  left: 0 !important;
}

.filter-close-btn {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  background: none !important;
  border: none !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  color: var(--stone-600) !important;
}
/* ============================================
   PRODUCT PAGE FIXES - 2026-01-06 v5
   COMPREHENSIVE FIX FOR ALL REPORTED ISSUES
   ============================================ */

/* ============================================
   ISSUE #1: SIDE-BY-SIDE LAYOUT FIX
   Remove problematic gap, use proper Bootstrap padding
   ============================================ */

/* OVERRIDE: Remove the problematic gap property that breaks Bootstrap grid */
#main .row,
.product-container .row,
section#main > .row {
  display: flex !important;
  gap: 0 !important; /* Remove gap - it breaks Bootstrap */
  flex-wrap: wrap !important;
}

/* Reset column padding to Bootstrap defaults with added spacing */
#main .row > .col-md-6,
.product-container .row > .col-md-6,
body.page-product #content .row > .col-md-6 {
  padding-left: 15px !important;
  padding-right: 15px !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

/* Add gap between columns via margin on image container */
body.page-product .images-container,
body.page-product #content .images-container {
  margin-right: 0 !important; /* Reset previous margin */
}

/* Product columns layout - ensure side by side */
body.page-product #content > .row > div:first-child {
  padding-right: 20px !important;
}

body.page-product #content > .row > div:last-child {
  padding-left: 20px !important;
}

/* Ensure proper Bootstrap column behavior */
@media (min-width: 768px) {
  body.page-product .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    float: none !important;
  }
}

/* ============================================
   ISSUE #2: PRODUCT-DISCOUNTS GAP FIX
   Hide empty discount section
   ============================================ */

/* Hide empty product-discounts section */
.product-discounts:empty,
section.product-discounts:empty,
.product-discounts.js-product-discounts:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

/* Reduce spacing on product-discounts when present */
.product-discounts,
section.product-discounts {
  margin: 0.25rem 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Also hide the container if it's empty with only whitespace */
.product-discounts:not(:has(*)),
section.product-discounts:not(:has(*)) {
  display: none !important;
}

/* ============================================
   ISSUE #3: QUANTITY SELECTOR FIX
   Make +/- buttons visible and functional
   ============================================ */

/* Quantity container */
.product-quantity .qty {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.5rem !important;
}

/* CRITICAL: Show the custom touchspin buttons */
.product-quantity .btn-touchspin,
.product-quantity .btn.js-touchspin,
.product-quantity button.js-touchspin,
.product-quantity button.js-decrease,
.product-quantity button.js-increase {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  background: transparent !important;
  border: none !important;
  color: var(--stone-600, #57534E) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

.product-quantity .btn-touchspin:hover,
.product-quantity button.js-touchspin:hover,
.product-quantity button.js-decrease:hover,
.product-quantity button.js-increase:hover {
  background-color: var(--rose-100, #FFE4E6) !important;
  color: var(--rose-700, #BE123C) !important;
}

.product-quantity .btn-touchspin i,
.product-quantity .btn-touchspin .material-icons,
.product-quantity button.js-touchspin i,
.product-quantity button.js-decrease i,
.product-quantity button.js-increase i {
  font-size: 1.25rem !important;
  display: block !important;
}

/* Input group container - remove second oval */
.product-quantity .qty .input-group {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide Bootstrap touchspin generated buttons (keep custom ones) */
.product-quantity .bootstrap-touchspin-down,
.product-quantity .bootstrap-touchspin-up,
.product-quantity .input-group-btn:not(:has(.js-touchspin)) {
  display: none !important;
}

/* Quantity input styling */
.product-quantity input#quantity_wanted {
  width: 50px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.25rem !important;
  -moz-appearance: textfield !important;
  -webkit-appearance: none !important;
}

.product-quantity input#quantity_wanted::-webkit-outer-spin-button,
.product-quantity input#quantity_wanted::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* ============================================
   ISSUE #4: BUY NOW BUTTON STYLING
   ============================================ */

.btn-buy-now,
.buy-now {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background-color: var(--rose-600, #E11D48) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.btn-buy-now:hover,
.buy-now:hover {
  background-color: var(--rose-700, #BE123C) !important;
  color: white !important;
}

/* ============================================
   PRODUCT INFO GENERAL SPACING
   ============================================ */

/* Tighten product info section */
.product-information {
  padding: 0 !important;
}

/* Price section */
.product-prices {
  margin: 0.5rem 0 !important;
  padding: 0 !important;
}

.product-price,
.current-price,
.current-price .product-price {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

/* Reduce spacing between elements */
.product-information > * {
  margin-bottom: 0.5rem !important;
}

/* Add to cart section spacing */
.product-add-to-cart {
  margin-top: 1rem !important;
}

.product-quantity {
  margin-bottom: 1rem !important;
}

/* Add and buy buttons container */
.product-quantity .add {
  display: flex !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
}

/* ============================================
   FIX: BREADCRUMB SPACING - 2026-01-06
   Minimize white space above and below breadcrumb
   ============================================ */

/* Page title wrapper - reduce vertical padding */
.page-title-wrapper,
.page-title-wrapper.p_tilte_small {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
}

/* Breadcrumb container */
nav.breadcrumb,
.breadcrumb {
  padding: 0 !important;
  margin: 0 !important;
}

/* Breadcrumb list */
.breadcrumb ol,
.breadcrumb ul {
  padding: 0 !important;
  margin: 0 !important;
}

/* Header to breadcrumb gap */
#wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Header bottom margin */
header#header,
.header-main-row {
  margin-bottom: 0 !important;
}

/* Main content top margin after breadcrumb */
#main,
section#main {
  margin-top: 10px !important;
  padding-top: 0 !important;
}

/* Remove extra container padding */
.page-title-wrapper .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Product page specific - reduce gap before content */
body.page-product #wrapper,
body.page-product .page-title-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
}

body.page-product #content-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ============================================
   PRODUCT & CATEGORY PAGE - HEADER STANDARDIZATION
   Using standard my-account-header structure
   ============================================ */

/* Product and Category page headers - match my-account top padding */
.product-header.my-account-header,
.category-header.my-account-header,
body[id="product"] .my-account-header,
body[id="category"] .my-account-header,
body.page-product .my-account-header,
body.page-category .my-account-header {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding-top: 1.5rem !important;
  padding-bottom: 0 !important;
  margin-bottom: 1.5rem !important;
  margin-top: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

.product-header .my-account-title-section,
.category-header .my-account-title-section,
body[id="product"] .my-account-header .my-account-title-section,
body[id="category"] .my-account-header .my-account-title-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

/* Breadcrumb styling - matching my-account exactly */
.product-header .my-account-title-section .breadcrumb,
.category-header .my-account-title-section .breadcrumb,
.my-account-header.product-header .breadcrumb,
.my-account-header.category-header .breadcrumb,
body[id="product"] .my-account-header .breadcrumb,
body[id="category"] .my-account-header .breadcrumb,
body.page-product .my-account-header .breadcrumb,
body.page-category .my-account-header .breadcrumb {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.875rem !important;
  color: #78716c !important;
  padding: 0 !important;
  background: transparent !important;
  height: auto !important;
  overflow: visible !important;
}

.product-header .my-account-title-section .breadcrumb a,
.category-header .my-account-title-section .breadcrumb a {
  color: #78716c !important;
  text-decoration: none !important;
  transition: color 200ms ease !important;
}

.product-header .my-account-title-section .breadcrumb a:hover,
.category-header .my-account-title-section .breadcrumb a:hover {
  color: #e11d48 !important;
}

.product-header .my-account-title-section .breadcrumb .separator,
.category-header .my-account-title-section .breadcrumb .separator {
  color: #a8a29e !important;
  margin: 0 0.25rem !important;
}

.product-header .my-account-title-section .breadcrumb .current,
.category-header .my-account-title-section .breadcrumb .current {
  color: #e11d48 !important;
}

/* Category header h1 styling - match my-account */
.category-header .my-account-title-section h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 3rem !important;
  font-weight: 400 !important;
  color: #1c1917 !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

@media (min-width: 640px) {
  .category-header .my-account-title-section h1 {
    font-size: 3.5rem !important;
  }
}

@media (min-width: 1024px) {
  .category-header .my-account-title-section h1 {
    font-size: 4rem !important;
  }
}

/* Category header subtitle styling */
.category-header .my-account-title-section .subtitle {
  color: #78716c !important;
  font-size: 1.125rem !important;
  line-height: 1.625 !important;
  font-weight: 300 !important;
}

/* Product header - no bottom margin on breadcrumb since no h1/subtitle */
.product-header .my-account-title-section .breadcrumb {
  margin-bottom: 0 !important;
}

/* Hide "Shop by Category" section on product pages */
body[id="product"] .shop-by-category,
body.page-product .shop-by-category {
  display: none !important;
}

/* ============================================
   FIXES - 2026-01-06 (Issues 1-4)
   ============================================ */

/* ============================================
   ISSUE #1: QUANTITY SELECTOR + SIGN CUTOFF
   Expand the oval to cover all buttons
   ============================================ */

/* Quantity container - wider to fit all elements */
.product-quantity .qty {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important; /* Increased horizontal padding */
  gap: 0.25rem !important;
  min-width: 160px !important; /* Ensure minimum width */
}

/* Input group inside qty - no extra styling */
.product-quantity .qty .input-group,
.product-quantity .qty .input-group.bootstrap-touchspin {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  flex-wrap: nowrap !important;
}

/* All touchspin buttons - ensure visible */
.product-quantity .btn-touchspin,
.product-quantity .btn.js-touchspin,
.product-quantity button.js-touchspin,
.product-quantity .bootstrap-touchspin-down,
.product-quantity .bootstrap-touchspin-up {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  background: transparent !important;
  border: none !important;
  color: var(--stone-600, #57534E) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

/* Hide duplicate buttons - keep only custom ones */
.product-quantity .input-group-btn {
  display: none !important;
}

/* Quantity input */
.product-quantity input#quantity_wanted,
.product-quantity .input-group input.form-control {
  width: 40px !important;
  min-width: 40px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.25rem 0 !important;
  -moz-appearance: textfield !important;
  flex-shrink: 0 !important;
}

/* ============================================
   ISSUE #2: SHARE LABELS OVERLAPPING
   ============================================ */

/* Share section container */
.product-social-sharing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
  padding: 0.5rem 0 !important;
}

/* Share label */
.product-social-sharing > span {
  font-size: 0.875rem !important;
  color: var(--stone-600) !important;
  margin-right: 0.5rem !important;
}

/* Share links */
.product-social-sharing a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background-color: var(--stone-100, #F5F5F4) !important;
  color: var(--stone-600) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  margin: 0 0.25rem !important;
}

.product-social-sharing a:hover {
  background-color: var(--rose-100, #FFE4E6) !important;
  color: var(--rose-700, #BE123C) !important;
}

.product-social-sharing a i,
.product-social-sharing a .material-icons {
  font-size: 1rem !important;
}

/* ShareThis or other share module buttons */
.product-social-sharing .st-btn,
.product-social-sharing .social-sharing-btn {
  display: inline-flex !important;
  margin: 0 0.25rem !important;
}

/* ps_sharebuttons module fix */
.social-sharing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.social-sharing li,
.social-sharing a {
  display: inline-flex !important;
  margin: 0 !important;
}

/* ============================================
   ISSUE #4: CATEGORY PAGE PRODUCT ALIGNMENT
   Fix grid to show products side by side
   ============================================ */

/* Category page products grid */
#category .products,
body.category .products,
body.category #products .products,
.category-products .products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  justify-content: flex-start !important;
}

/* Individual product card - fixed width for 3 per row */
#category .product-miniature,
#category .thumbnail-container,
body.category .product-miniature,
body.category .thumbnail-container,
.thumbnail-container.style_product1 {
  flex: 0 0 calc(33.333% - 1rem) !important;
  max-width: calc(33.333% - 1rem) !important;
  width: calc(33.333% - 1rem) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Reset any conflicting grid styles */
#category .products.row,
body.category .products.row {
  margin: 0 !important;
  display: flex !important;
}

/* Product image container */
#category .img_block,
body.category .img_block {
  width: 100% !important;
  max-width: 100% !important;
}

/* Responsive - 2 columns on tablet */
@media (max-width: 991px) {
  #category .product-miniature,
  #category .thumbnail-container,
  body.category .product-miniature,
  body.category .thumbnail-container,
  .thumbnail-container.style_product1 {
    flex: 0 0 calc(50% - 0.75rem) !important;
    max-width: calc(50% - 0.75rem) !important;
    width: calc(50% - 0.75rem) !important;
  }
}

/* Responsive - 1 column on mobile */
@media (max-width: 575px) {
  #category .product-miniature,
  #category .thumbnail-container,
  body.category .product-miniature,
  body.category .thumbnail-container,
  .thumbnail-container.style_product1 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ============================================
   ISSUE #3: INLINE REVIEW FORM STYLING
   ============================================ */

/* Inline review form container */
.inline-review-form {
  margin-top: 2rem !important;
  padding: 1.5rem !important;
  background-color: var(--stone-50, #FAFAF9) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
}

.inline-review-form .review-form-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--stone-800) !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid var(--stone-200) !important;
}

/* Star rating input */
.inline-review-form .rating-section {
  margin-bottom: 1.5rem !important;
}

.inline-review-form .criterion-row {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
}

.inline-review-form .criterion-label {
  min-width: 80px !important;
  font-weight: 500 !important;
  color: var(--stone-700) !important;
  margin-right: 1rem !important;
}

/* Star rating CSS - reverse order for RTL trick */
.star-rating-input {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: flex-end !important;
}

.star-rating-input input {
  display: none !important;
}

.star-rating-input label {
  font-size: 1.5rem !important;
  color: var(--stone-300) !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
  padding: 0 0.125rem !important;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: #FBBF24 !important; /* Yellow/gold star */
}

/* Form groups */
.inline-review-form .form-group {
  margin-bottom: 1rem !important;
}

.inline-review-form label {
  display: block !important;
  font-weight: 500 !important;
  color: var(--stone-700) !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.875rem !important;
}

.inline-review-form label sup.required {
  color: var(--rose-600) !important;
}

.inline-review-form .form-control {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 1px solid var(--stone-300) !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  transition: border-color 0.2s ease !important;
}

.inline-review-form .form-control:focus {
  outline: none !important;
  border-color: var(--rose-500) !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
}

.inline-review-form textarea.form-control {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Form footer */
.inline-review-form .form-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-200) !important;
}

.inline-review-form .required-note {
  font-size: 0.75rem !important;
  color: var(--stone-500) !important;
  margin: 0 !important;
}

.inline-review-form .submit-review-btn {
  background-color: var(--rose-600, #E11D48) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.inline-review-form .submit-review-btn:hover {
  background-color: var(--rose-700, #BE123C) !important;
}

/* Error and success messages */
.inline-review-form .error {
  margin-top: 1rem !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
}

.inline-review-form .alert-success {
  background-color: #D1FAE5 !important;
  border: 1px solid #10B981 !important;
  color: #065F46 !important;
}

/* No reviews message */
.no-reviews-message {
  text-align: center !important;
  color: var(--stone-500) !important;
  padding: 1rem 0 !important;
  margin-bottom: 1rem !important;
}

/* ============================================
   FIX #2: SHARE LABELS OVERLAP - STRONGER FIX
   ============================================ */

/* Hide duplicate share section to prevent overlap */
.product-information .social-sharing:not(.product-social-sharing) {
  display: none !important;
}

/* Keep only one share section visible */
.product-social-sharing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-200, #E7E5E4) !important;
}

/* Style share links to prevent overlap */
.product-social-sharing > * {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Social links container */
.social-links {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

/* Individual social link styling */
.social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background-color: var(--stone-100, #F5F5F4) !important;
  color: var(--stone-600, #57534E) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.social-link:hover {
  background-color: var(--rose-600, #E11D48) !important;
  color: white !important;
}

.social-link svg {
  width: 18px !important;
  height: 18px !important;
}

/* ============================================
   FIX #4: CATEGORY PAGE PRODUCTS CONTAINER
   ============================================ */

/* Force products container to use flex */
#category #products .products,
body.category #products .products,
#category .products,
body.category .products,
.products.row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Override any conflicting display properties */
#category #js-product-list .products,
body.category #js-product-list .products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

/* Ensure product items have correct width for 3 columns */
#category .product-miniature,
#category .thumbnail-container,
body.category .product-miniature,
body.category .thumbnail-container,
#js-product-list .product-miniature,
#js-product-list .thumbnail-container {
  flex: 0 0 calc(33.333% - 0.75rem) !important;
  max-width: calc(33.333% - 0.75rem) !important;
  width: auto !important;
  margin: 0 !important;
}

/* Remove any float that might break flex */
#category .product-miniature,
body.category .product-miniature,
.thumbnail-container {
  float: none !important;
}

/* Category left column - ensure sidebar doesn't break layout */
#category #left-column,
body.category #left-column {
  flex: 0 0 250px !important;
  max-width: 250px !important;
}

#category #content-wrapper,
body.category #content-wrapper {
  flex: 1 !important;
  max-width: calc(100% - 280px) !important;
}

/* ============================================
   FIX #4 REVISED: EXACT CATEGORY PRODUCT GRID
   ============================================ */

/* Target the exact product container */
#js-product-list .product_content.row,
#js-product-list .product_content.grid,
.product_content.row.grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Target item-product wrapper */
#js-product-list .item-product,
.product_content .item-product {
  flex: 0 0 calc(33.333% - 0.75rem) !important;
  max-width: calc(33.333% - 0.75rem) !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Override Bootstrap column classes for category */
#js-product-list .item-product.col-xl-4,
#js-product-list .item-product.col-xl-3,
#js-product-list .item-product.col-xl-2,
#js-product-list .item-product.col-lg-4,
#js-product-list .item-product.col-md-6,
#js-product-list .item-product.col-sm-6,
#js-product-list .item-product.col-xs-12 {
  flex: 0 0 calc(33.333% - 0.75rem) !important;
  max-width: calc(33.333% - 0.75rem) !important;
  width: auto !important;
}

/* Product miniature inside item-product */
#js-product-list .item-product .product-miniature,
#js-product-list .item-product .thumbnail-container {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 991px) {
  #js-product-list .item-product,
  .product_content .item-product {
    flex: 0 0 calc(50% - 0.5rem) !important;
    max-width: calc(50% - 0.5rem) !important;
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 575px) {
  #js-product-list .item-product,
  .product_content .item-product {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================
   QUANTITY SELECTOR - FINAL FIX FOR + BUTTON
   ============================================ */

/* Force wider quantity container */
.product-quantity .qty,
.product-quantity .bootstrap-touchspin,
.product-quantity .input-group.bootstrap-touchspin {
  min-width: 200px !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.5rem 1.25rem !important;
}

/* Ensure buttons are visible */
.product-quantity .btn-touchspin,
.product-quantity .bootstrap-touchspin-up,
.product-quantity .bootstrap-touchspin-down,
.product-quantity .js-increase,
.product-quantity .js-decrease {
  flex-shrink: 0 !important;
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Input field sizing */
.product-quantity #quantity_wanted,
.product-quantity input[type="number"] {
  width: 50px !important;
  min-width: 50px !important;
  flex-shrink: 0 !important;
}

/* Label sizing */
.product-quantity .qty label,
.product-quantity label[for="quantity_wanted"] {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* ===========================================
   WISHLIST FLYING HEART ANIMATION
   =========================================== */

/* Flying heart element */
.flying-heart {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
}

.flying-heart i {
  font-size: inherit;
  color: inherit;
  animation: heartBeat 0.8s ease-in-out;
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Pulse effect on header wishlist icon when item added */
.wishlist-pulse {
  animation: wishlistPulse 0.6s ease-out !important;
}

@keyframes wishlistPulse {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.4);
  }
  50% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* Toast notification */
.wishlist-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, rgb(136, 19, 55) 0%, rgb(190, 18, 60) 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(136, 19, 55, 0.35);
  z-index: 99998;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 10px;
}

.wishlist-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wishlist-toast i {
  font-size: 1.2rem;
}

/* Button state when item is added to wishlist */
#wishlist_button.added-to-wishlist,
.addToWishlist.added-to-wishlist {
  color: var(--rose-700) !important;
  background-color: var(--rose-50) !important;
}

#wishlist_button.added-to-wishlist i,
.addToWishlist.added-to-wishlist i {
  color: var(--rose-600) !important;
  animation: heartBeat 0.5s ease-out;
}

/* Login prompt modal styling */
#wishlistModalLogin .modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

#wishlistModalLogin .modal-body {
  padding: 2.5rem;
  text-align: center;
}

#wishlistModalLogin .login-prompt-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--rose-100) 0%, var(--rose-50) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

#wishlistModalLogin .login-prompt-icon i {
  font-size: 2.5rem;
  color: var(--rose-600);
}

#wishlistModalLogin .login-prompt-text {
  font-size: 1rem;
  color: var(--stone-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

#wishlistModalLogin .btn-primary {
  background: linear-gradient(135deg, rgb(136, 19, 55) 0%, rgb(190, 18, 60) 100%);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

#wishlistModalLogin .btn-primary:hover {
  background: linear-gradient(135deg, rgb(157, 23, 77) 0%, rgb(225, 29, 72) 100%);
}

#wishlistModalLogin .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--stone-100);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background-color 0.2s;
}

#wishlistModalLogin .close:hover {
  background: var(--stone-200);
}

/* ===========================================
   CART FLYING ANIMATION
   =========================================== */

/* Flying cart icon element */
.flying-cart-icon {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
}

.flying-cart-icon svg {
  animation: cartIconBounce 0.7s ease-in-out;
}

@keyframes cartIconBounce {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Pulse effect on header cart icon when item added */
.cart-pulse {
  animation: cartPulse 0.6s ease-out !important;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Cart toast notification */
.cart-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, rgb(136, 19, 55) 0%, rgb(190, 18, 60) 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(136, 19, 55, 0.35);
  z-index: 99998;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cart-toast svg {
  flex-shrink: 0;
}

/* Cart badge bounce animation */
.cart-count-bounce {
  animation: cartCountBounce 0.5s ease-out !important;
}

@keyframes cartCountBounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

/* Cart badge styling */
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgb(190, 18, 60) 0%, rgb(225, 29, 72) 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Adding spinner in button */
.adding-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spinCart 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}

@keyframes spinCart {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   MODERN REVIEWS UI - 2026-01-06
   ============================================ */

/* Show reviews elements that were hidden */
#product_comments_block_tab .star_content,
#product_comments_block_tab .comments_note,
.reviews-header .star_content,
.comment .star_content {
  display: flex !important;
}

/* Reviews Tab Container */
#product_comments_block_tab {
  padding: 2rem 0 !important;
}

/* Reviews Title */
#product_comments_block_tab .reviews-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.75rem !important;
  color: var(--stone-900) !important;
  margin-bottom: 1.5rem !important;
  font-weight: 600 !important;
}

/* Reviews Header - Aggregate Rating */
#product_comments_block_tab .reviews-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  background: linear-gradient(135deg, var(--rose-50) 0%, #fff5f7 100%) !important;
  border-radius: 1rem !important;
  margin-bottom: 2rem !important;
  border: 1px solid var(--rose-100) !important;
}

#product_comments_block_tab .rating_aggregate {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

#product_comments_block_tab .rating_aggregate .star_content {
  display: flex !important;
  gap: 0.25rem !important;
  position: relative !important;
  width: auto !important;
}

#product_comments_block_tab .rating_aggregate .rating_star {
  position: relative !important;
  display: inline-block !important;
  width: 120px !important;
  height: 24px !important;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fbbf24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') repeat-x !important;
  background-size: 24px 24px !important;
}

#product_comments_block_tab .nb-comments {
  font-size: 0.9375rem !important;
  color: var(--stone-600) !important;
  font-weight: 500 !important;
}

/* Reviews Content Container */
#product_comments_block_tab .reviews-content {
  margin-bottom: 2.5rem !important;
}

/* Individual Review Card */
#product_comments_block_tab .comment {
  display: flex !important;
  gap: 1.25rem !important;
  padding: 1.5rem !important;
  background: white !important;
  border-radius: 1rem !important;
  border: 1px solid var(--stone-200) !important;
  margin-bottom: 1rem !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

#product_comments_block_tab .comment:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--rose-200) !important;
}

/* Review Author Section (left side) */
#product_comments_block_tab .comment_author {
  flex-shrink: 0 !important;
  width: 140px !important;
  text-align: center !important;
}

/* User Avatar */
#product_comments_block_tab .comment_author::before {
  content: '' !important;
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 0.75rem !important;
  background: linear-gradient(135deg, var(--rose-400) 0%, var(--rose-600) 100%) !important;
  border-radius: 50% !important;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 32px 32px, 100% 100% !important;
}

/* Star Rating in Review */
#product_comments_block_tab .comment_author .star_content {
  display: flex !important;
  justify-content: center !important;
  gap: 2px !important;
  margin-bottom: 0.5rem !important;
}

#product_comments_block_tab .comment_author .star {
  width: 16px !important;
  height: 16px !important;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d1d5db"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center !important;
  background-size: contain !important;
}

#product_comments_block_tab .comment_author .star.star_on {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fbbf24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') !important;
}

/* Review Title */
#product_comments_block_tab .comment_author .title_block {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--stone-700) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  word-wrap: break-word !important;
}

/* Review Details Section (right side) */
#product_comments_block_tab .comment_details {
  flex: 1 !important;
  min-width: 0 !important;
}

#product_comments_block_tab .comment_details > p {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  color: var(--stone-700) !important;
  margin: 0 0 1rem 0 !important;
}

/* Author Info */
#product_comments_block_tab .comment_author_infos {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.8125rem !important;
  color: var(--stone-500) !important;
}

#product_comments_block_tab .comment_author_infos .author-reviews {
  font-weight: 600 !important;
  color: var(--rose-700) !important;
}

#product_comments_block_tab .comment_details ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================
   INLINE REVIEW FORM - Modern Design
   ============================================ */

#product_comments_block_tab .inline-review-form {
  background: linear-gradient(135deg, #fefefe 0%, var(--rose-50) 100%) !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  border: 1px solid var(--rose-100) !important;
  margin-top: 1rem !important;
}

#product_comments_block_tab .review-form-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.375rem !important;
  color: var(--stone-900) !important;
  margin: 0 0 1.5rem 0 !important;
  font-weight: 600 !important;
}

#product_comments_block_tab .review-form .form-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}

/* Rating Section */
#product_comments_block_tab .rating-section {
  background: white !important;
  padding: 1rem 1.25rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid var(--stone-200) !important;
}

#product_comments_block_tab .criterion-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

#product_comments_block_tab .criterion-label {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-700) !important;
  margin: 0 !important;
}

/* Star Rating Input */
#product_comments_block_tab .star-rating-input {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 0.25rem !important;
}

#product_comments_block_tab .star-rating-input input[type="radio"] {
  display: none !important;
}

#product_comments_block_tab .star-rating-input label {
  cursor: pointer !important;
  font-size: 1.75rem !important;
  color: var(--stone-300) !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
  line-height: 1 !important;
}

#product_comments_block_tab .star-rating-input label:hover,
#product_comments_block_tab .star-rating-input label:hover ~ label,
#product_comments_block_tab .star-rating-input input:checked ~ label {
  color: #fbbf24 !important;
}

#product_comments_block_tab .star-rating-input label:hover {
  transform: scale(1.15) !important;
}

/* Form Groups */
#product_comments_block_tab .review-form .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

#product_comments_block_tab .review-form .form-group label {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-700) !important;
}

#product_comments_block_tab .review-form .form-group label sup.required {
  color: var(--rose-600) !important;
  font-weight: 400 !important;
}

#product_comments_block_tab .review-form input.form-control,
#product_comments_block_tab .review-form textarea.form-control {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.9375rem !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid var(--stone-300) !important;
  border-radius: 0.5rem !important;
  background: white !important;
  color: var(--stone-800) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#product_comments_block_tab .review-form input.form-control:focus,
#product_comments_block_tab .review-form textarea.form-control:focus {
  outline: none !important;
  border-color: var(--rose-400) !important;
  box-shadow: 0 0 0 3px rgba(136, 19, 55, 0.1) !important;
}

#product_comments_block_tab .review-form input.form-control::placeholder,
#product_comments_block_tab .review-form textarea.form-control::placeholder {
  color: var(--stone-400) !important;
}

#product_comments_block_tab .review-form textarea.form-control {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Form Footer */
#product_comments_block_tab .review-form .form-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-top: 0.5rem !important;
  flex-wrap: wrap !important;
}

#product_comments_block_tab .review-form .required-note {
  font-size: 0.8125rem !important;
  color: var(--stone-500) !important;
  margin: 0 !important;
}

#product_comments_block_tab .review-form .required-note sup {
  color: var(--rose-600) !important;
}

#product_comments_block_tab .submit-review-btn {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  background: linear-gradient(135deg, var(--rose-600) 0%, var(--rose-700) 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 0.5rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(136, 19, 55, 0.2) !important;
}

#product_comments_block_tab .submit-review-btn:hover {
  background: linear-gradient(135deg, var(--rose-700) 0%, var(--rose-800) 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(136, 19, 55, 0.3) !important;
}

#product_comments_block_tab .submit-review-btn:active {
  transform: translateY(0) !important;
}

/* Success/Error Messages */
#product_comments_block_tab #inline_result_comment {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border: 1px solid #10b981 !important;
  border-radius: 0.75rem !important;
  padding: 1rem 1.25rem !important;
  margin-top: 1rem !important;
}

#product_comments_block_tab #inline_result_comment p {
  color: #065f46 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

#product_comments_block_tab #inline_result_comment p::before {
  content: '✓' !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  background: #10b981 !important;
  color: white !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  font-weight: bold !important;
}

#product_comments_block_tab #inline_comment_form_error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
  border: 1px solid #ef4444 !important;
  border-radius: 0.75rem !important;
  padding: 1rem 1.25rem !important;
  margin-top: 1rem !important;
}

#product_comments_block_tab #inline_comment_form_error ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#product_comments_block_tab #inline_comment_form_error ul li {
  color: #b91c1c !important;
  font-size: 0.875rem !important;
  padding: 0.25rem 0 !important;
}

/* Responsive Design */
@media (max-width: 640px) {
  #product_comments_block_tab .comment {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  #product_comments_block_tab .comment_author {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    text-align: left !important;
  }
  
  #product_comments_block_tab .comment_author::before {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  
  #product_comments_block_tab .comment_author .star_content {
    justify-content: flex-start !important;
  }
  
  #product_comments_block_tab .reviews-header {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  
  #product_comments_block_tab .inline-review-form {
    padding: 1.5rem !important;
  }
  
  #product_comments_block_tab .review-form .form-footer {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  #product_comments_block_tab .submit-review-btn {
    width: 100% !important;
  }
  
  #product_comments_block_tab .criterion-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* No Reviews State */
#product_comments_block_tab .reviews-content:empty::after {
  content: 'No reviews yet. Be the first to share your experience!' !important;
  display: block !important;
  text-align: center !important;
  padding: 2rem !important;
  color: var(--stone-500) !important;
  font-style: italic !important;
  background: var(--stone-50) !important;
  border-radius: 0.75rem !important;
  border: 1px dashed var(--stone-300) !important;
}

/* ============================================
   REVIEWS - OVERRIDE HIDDEN ELEMENTS
   ============================================ */

/* Force show reviews elements - highest specificity */
#product_comments_block_tab .star_content,
#product_comments_block_tab .comment .star_content,
#product_comments_block_tab .comment_author .star_content,
#product_comments_block_tab .reviews-header .star_content,
#product_comments_block_tab .rating_aggregate .star_content,
div#product_comments_block_tab .star_content {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure inline review form is always visible */
#product_comments_block_tab .inline-review-form,
div#product_comments_block_tab .inline-review-form {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Make sure comments_note shows in reviews tab */
#product_comments_block_tab .comments_note,
#product_comments_block_tab .reviews-header .comments_note {
  display: flex !important;
  visibility: visible !important;
}

/* Debug visual feedback for cart animation */
.cart-anim-processing {
  outline: 3px solid #ff0000 !important;
  background-color: #ffcccc !important;
}


/* Hide broken category page elements */
#category .page-header,
.page-category .page-header,
body[id*="category"] .page-header {
  display: none !important;
}

#subcategories,
.subcategories-list {
  display: none !important;
}

/* ============================================
   NEW PRODUCTS PAGE - MATCH CATEGORY PAGE STYLING
   ============================================ */

/* Hide default page header and title wrapper - using custom header in template */
#new-products .page-header,
.page-new-products .page-header,
body[id*="new-products"] .page-header,
#new-products .page-title-wrapper,
.page-new-products .page-title-wrapper,
body[id*="new-products"] .page-title-wrapper {
  display: none !important;
}

/* Block category header styling (breadcrumb + title + description) */
#new-products .block-category,
body[id*="new-products"] .block-category,
#category .block-category,
body.category .block-category {
  margin-bottom: 1.5rem !important;
}

#new-products .block-category .breadcrumb,
body[id*="new-products"] .block-category .breadcrumb,
#category .block-category .breadcrumb,
body.category .block-category .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
}

#new-products .block-category .breadcrumb ol,
body[id*="new-products"] .block-category .breadcrumb ol,
#category .block-category .breadcrumb ol,
body.category .block-category .breadcrumb ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#new-products .block-category .breadcrumb li,
body[id*="new-products"] .block-category .breadcrumb li,
#category .block-category .breadcrumb li,
body.category .block-category .breadcrumb li {
  display: flex !important;
  align-items: center !important;
  font-size: 0.875rem !important;
  color: var(--stone-500) !important;
}

#new-products .block-category .breadcrumb li:not(:last-child)::after,
body[id*="new-products"] .block-category .breadcrumb li:not(:last-child)::after,
#category .block-category .breadcrumb li:not(:last-child)::after,
body.category .block-category .breadcrumb li:not(:last-child)::after {
  content: "›" !important;
  margin-left: 0.5rem !important;
  color: var(--stone-400) !important;
}

#new-products .block-category .breadcrumb a,
body[id*="new-products"] .block-category .breadcrumb a,
#category .block-category .breadcrumb a,
body.category .block-category .breadcrumb a {
  color: var(--stone-500) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

#new-products .block-category .breadcrumb a:hover,
body[id*="new-products"] .block-category .breadcrumb a:hover,
#category .block-category .breadcrumb a:hover,
body.category .block-category .breadcrumb a:hover {
  color: var(--rose-600) !important;
}

#new-products .block-category h1,
body[id*="new-products"] .block-category h1,
#category .block-category h1,
body.category .block-category h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
  margin-bottom: 0.5rem !important;
}

#new-products .block-category #category-description,
body[id*="new-products"] .block-category #category-description,
#category .block-category #category-description,
body.category .block-category #category-description {
  font-size: 0.9375rem !important;
  color: var(--stone-500) !important;
  line-height: 1.6 !important;
}

#new-products .block-category #category-description p,
body[id*="new-products"] .block-category #category-description p,
#category .block-category #category-description p,
body.category .block-category #category-description p {
  margin: 0 !important;
}

/* Wrapper padding to match category page */
body.page-new-products #wrapper,
#new-products #wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important;
}

@media (min-width: 640px) {
  body.page-new-products #wrapper,
  #new-products #wrapper {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Row wrapper layout - keep sidebar on right */
body.page-new-products .row-wrapper,
#new-products .row-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  width: 100% !important;
}

/* Content wrapper - 9 columns (75%) on desktop */
body.page-new-products #content-wrapper,
#new-products #content-wrapper {
  flex: 0 0 calc(75% - 1rem) !important;
  max-width: calc(75% - 1rem) !important;
  padding: 0 !important;
}

/* Right column - 3 columns (25%) on desktop */
body.page-new-products #right-column,
#new-products #right-column {
  flex: 0 0 calc(25% - 1rem) !important;
  max-width: calc(25% - 1rem) !important;
}

/* Mobile - stack vertically */
@media (max-width: 991px) {
  body.page-new-products .row-wrapper,
  #new-products .row-wrapper {
    flex-direction: column !important;
  }

  body.page-new-products #content-wrapper,
  #new-products #content-wrapper,
  body.page-new-products #right-column,
  #new-products #right-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Product name font size to match category page (0.9rem instead of 1.125rem) */
#new-products .product_name,
#new-products .product-title,
#new-products h3 a,
body.page-new-products .product_name,
body.page-new-products .product-title,
body.page-new-products h3 a {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  color: var(--stone-800) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.5rem !important;
}

/* Product grid to match category page */
#new-products .products,
body.page-new-products .products,
#new-products #main .products,
body.page-new-products #main .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  padding: 0 !important;
}

@media (max-width: 991px) {
  #new-products .products,
  body.page-new-products .products,
  #new-products #main .products,
  body.page-new-products #main .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) {
  #new-products .products,
  body.page-new-products .products,
  #new-products #main .products,
  body.page-new-products #main .products {
    grid-template-columns: 1fr !important;
  }
}

/* Product card max-width to match category */
#new-products .product-miniature,
body.page-new-products .product-miniature {
  max-width: 350px !important;
  width: 100% !important;
}

/* ============================================
   PRICES DROP PAGE - MATCH NEW PRODUCTS PAGE STYLING
   ============================================ */

/* Hide default page header and title wrapper - using custom header in template */
#prices-drop .page-header,
.page-prices-drop .page-header,
body[id*="prices-drop"] .page-header,
#prices-drop .page-title-wrapper,
.page-prices-drop .page-title-wrapper,
body[id*="prices-drop"] .page-title-wrapper {
  display: none !important;
}

/* Block category header styling (breadcrumb + title + description) */
#prices-drop .block-category,
body[id*="prices-drop"] .block-category {
  margin-bottom: 1.5rem !important;
}

#prices-drop .block-category .breadcrumb,
body[id*="prices-drop"] .block-category .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
}

#prices-drop .block-category .breadcrumb ol,
body[id*="prices-drop"] .block-category .breadcrumb ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#prices-drop .block-category .breadcrumb li,
body[id*="prices-drop"] .block-category .breadcrumb li {
  display: flex !important;
  align-items: center !important;
  font-size: 0.875rem !important;
  color: var(--stone-500) !important;
}

#prices-drop .block-category .breadcrumb li:not(:last-child)::after,
body[id*="prices-drop"] .block-category .breadcrumb li:not(:last-child)::after {
  content: "›" !important;
  margin-left: 0.5rem !important;
  color: var(--stone-400) !important;
}

#prices-drop .block-category .breadcrumb a,
body[id*="prices-drop"] .block-category .breadcrumb a {
  color: var(--stone-500) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

#prices-drop .block-category .breadcrumb a:hover,
body[id*="prices-drop"] .block-category .breadcrumb a:hover {
  color: var(--rose-600) !important;
}

#prices-drop .block-category h1,
body[id*="prices-drop"] .block-category h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: var(--stone-900) !important;
  margin-bottom: 0.5rem !important;
}

#prices-drop .block-category #category-description,
body[id*="prices-drop"] .block-category #category-description {
  font-size: 0.9375rem !important;
  color: var(--stone-500) !important;
  line-height: 1.6 !important;
}

#prices-drop .block-category #category-description p,
body[id*="prices-drop"] .block-category #category-description p {
  margin: 0 !important;
}

/* Wrapper padding to match category page */
body.page-prices-drop #wrapper,
#prices-drop #wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important;
}

@media (min-width: 640px) {
  body.page-prices-drop #wrapper,
  #prices-drop #wrapper {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Row wrapper layout - keep sidebar on right */
body.page-prices-drop .row-wrapper,
#prices-drop .row-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  width: 100% !important;
}

/* Content wrapper - 9 columns (75%) on desktop */
body.page-prices-drop #content-wrapper,
#prices-drop #content-wrapper {
  flex: 0 0 calc(75% - 1rem) !important;
  max-width: calc(75% - 1rem) !important;
  padding: 0 !important;
}

/* Right column - 3 columns (25%) on desktop */
body.page-prices-drop #right-column,
#prices-drop #right-column {
  flex: 0 0 calc(25% - 1rem) !important;
  max-width: calc(25% - 1rem) !important;
}

/* Mobile - stack vertically */
@media (max-width: 991px) {
  body.page-prices-drop .row-wrapper,
  #prices-drop .row-wrapper {
    flex-direction: column !important;
  }

  body.page-prices-drop #content-wrapper,
  #prices-drop #content-wrapper,
  body.page-prices-drop #right-column,
  #prices-drop #right-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Product name font size to match category page */
#prices-drop .product_name,
#prices-drop .product-title,
#prices-drop h3 a,
body.page-prices-drop .product_name,
body.page-prices-drop .product-title,
body.page-prices-drop h3 a {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  color: var(--stone-800) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.5rem !important;
}

/* Product grid to match category page */
#prices-drop .products,
body.page-prices-drop .products,
#prices-drop #main .products,
body.page-prices-drop #main .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  padding: 0 !important;
}

@media (max-width: 991px) {
  #prices-drop .products,
  body.page-prices-drop .products,
  #prices-drop #main .products,
  body.page-prices-drop #main .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) {
  #prices-drop .products,
  body.page-prices-drop .products,
  #prices-drop #main .products,
  body.page-prices-drop #main .products {
    grid-template-columns: 1fr !important;
  }
}

/* Product card max-width to match category */
#prices-drop .product-miniature,
body.page-prices-drop .product-miniature {
  max-width: 350px !important;
  width: 100% !important;
}

/* ============================================
   PRODUCT LIST VIEW STYLES
   ============================================ */

/* List view container */
.product_content.list .product-miniature-list,
.product-miniature-list.product-miniature {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 20px !important;
  padding: 20px !important;
  background: white !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(136, 19, 55, 0.08) !important;
  border: 1px solid rgba(136, 19, 55, 0.08) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
}

.product-miniature-list.product-miniature:hover {
  box-shadow: 0 8px 25px rgba(136, 19, 55, 0.15) !important;
  border-color: rgba(136, 19, 55, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Image block - left side */
.product-miniature-list .img-block {
  flex: 0 0 200px !important;
  width: 200px !important;
  max-width: 200px !important;
  height: 200px !important;
  margin-right: 25px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #fdf2f4 0%, #fff 100%) !important;
  position: relative !important;
}

.product-miniature-list .img-block .thumbnail {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.product-miniature-list .img-block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.product-miniature-list:hover .img-block img {
  transform: scale(1.05) !important;
}

/* Product content - right side */
.product-miniature-list .product-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 0 !important;
  min-width: 0 !important;
}

/* Product title */
.product-miniature-list .product-content h3 {
  margin: 0 0 10px 0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.product-miniature-list .product-content h3 a.product_name {
  color: var(--stone-800, #1c1917) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.product-miniature-list .product-content h3 a.product_name:hover {
  color: var(--rose-700, #be123c) !important;
}

/* Reviews/ratings */
.product-miniature-list .hook-reviews {
  margin-bottom: 10px !important;
}

.product-miniature-list .comments_note {
  display: inline-flex !important;
  align-items: center !important;
}

.product-miniature-list .star_content {
  background: #e5e5e5 !important;
  border-radius: 3px !important;
  width: 80px !important;
  height: 14px !important;
  position: relative !important;
}

.product-miniature-list .rating_star {
  background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%) !important;
  height: 100% !important;
  display: block !important;
  border-radius: 3px !important;
}

/* Product description */
.product-miniature-list .product-desc {
  color: var(--stone-600, #57534e) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 15px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Variant links - hide if empty */
.product-miniature-list .variant-links:empty {
  display: none !important;
}

/* Buy section - price, availability, cart */
.product-miniature-list .col-buy {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: auto !important;
  padding-top: 15px !important;
  border-top: 1px solid rgba(136, 19, 55, 0.1) !important;
}

/* Price */
.product-miniature-list .product-price-and-shipping {
  flex: 0 0 auto !important;
}

.product-miniature-list .product-price-and-shipping .price {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--rose-700, #be123c) !important;
  background: linear-gradient(135deg, var(--rose-600) 0%, var(--rose-800) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.product-miniature-list .product-price-and-shipping .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* Availability */
.product-miniature-list .availability {
  flex: 0 0 auto !important;
}

.product-miniature-list .availability-list {
  font-size: 13px !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-weight: 500 !important;
}

.product-miniature-list .availability-list.in-stock {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
  color: #166534 !important;
}

.product-miniature-list .availability-list.in-stock span {
  font-weight: 600 !important;
}

.product-miniature-list .availability-list.out-of-stock {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

/* Add to cart section */
.product-miniature-list .product-cart {
  flex: 0 0 auto !important;
}

.product-miniature-list .product-add-to-cart {
  margin: 0 !important;
}

.product-miniature-list .product-add-to-cart form {
  margin: 0 !important;
}

.product-miniature-list .add-to-cart.btn-default,
.product-miniature-list button.add-to-cart {
  background: linear-gradient(135deg, var(--rose-600, #e11d48) 0%, var(--rose-700, #be123c) 100%) !important;
  color: white !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 25px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3) !important;
}

.product-miniature-list .add-to-cart.btn-default:hover,
.product-miniature-list button.add-to-cart:hover {
  background: linear-gradient(135deg, var(--rose-700, #be123c) 0%, var(--rose-800, #9f1239) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4) !important;
}

/* Wishlist and Compare links */
.product-miniature-list .add-links {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-left: auto !important;
}

.product-miniature-list .add-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--stone-500, #78716c) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  padding: 8px 12px !important;
  border-radius: 20px !important;
  background: rgba(136, 19, 55, 0.05) !important;
  transition: all 0.2s ease !important;
}

.product-miniature-list .add-links a:hover {
  background: rgba(136, 19, 55, 0.1) !important;
  color: var(--rose-700, #be123c) !important;
}

.product-miniature-list .add-links a i {
  font-size: 16px !important;
}

.product-miniature-list .add-links a span {
  display: inline !important;
}

/* Hide compare button errors */
.product-miniature-list .add-links .poscompare-add[onclick*="Warning"] {
  display: none !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .product-miniature-list .img-block {
    flex: 0 0 150px !important;
    width: 150px !important;
    height: 150px !important;
    margin-right: 20px !important;
  }

  .product-miniature-list .product-content h3 {
    font-size: 16px !important;
  }

  .product-miniature-list .col-buy {
    flex-wrap: wrap !important;
  }

  .product-miniature-list .add-links {
    margin-left: 0 !important;
    margin-top: 10px !important;
    width: 100% !important;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .product-miniature-list.product-miniature {
    flex-direction: column !important;
    padding: 15px !important;
  }

  .product-miniature-list .img-block {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }

  .product-miniature-list .product-content {
    width: 100% !important;
  }

  .product-miniature-list .col-buy {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .product-miniature-list .product-cart {
    width: 100% !important;
  }

  .product-miniature-list .add-to-cart.btn-default,
  .product-miniature-list button.add-to-cart {
    width: 100% !important;
  }

  .product-miniature-list .add-links {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Remove row grid styling when in list mode */
.product_content.list.row {
  display: block !important;
}

.product_content.list .product-miniature-list {
  flex-basis: 100% !important;
  max-width: 100% !important;
}

/* Force single column in list view */
.product_content.list,
.product_content[data-list="list"],
#js-product-list[data-list="list"] .product_content {
  display: block !important;
}

.product_content.list .product-miniature-list,
.product_content.list .product-miniature,
.product_content.list article,
#js-product-list[data-list="list"] .product-miniature,
#js-product-list .product_content.list article {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  float: none !important;
  display: flex !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Override any Bootstrap grid columns in list view */
.product_content.list [class*="col-"],
#js-product-list[data-list="list"] [class*="col-"],
.product_content.list .thumbnail-container {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove flex grid behavior */
.product_content.list.row,
#js-product-list .product_content.list {
  display: block !important;
  flex-wrap: nowrap !important;
}

/* Target list view articles directly by their class */
article.product-miniature-list {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  float: none !important;
  clear: both !important;
}

/* When container has product-miniature-list children, make it single column */
.product_content:has(.product-miniature-list),
.row:has(.product-miniature-list) {
  display: block !important;
}

/* Also handle via JavaScript toggle - check for list in data attribute or class */
body.list-view #js-product-list .product_content,
.products.list .product_content,
.product_content.products-list {
  display: block !important;
}

body.list-view .product-miniature,
.products.list .product-miniature {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* ============================================
   HIDE FILTER CHECKMARKS
   Remove checkmark icons from filter items
   ============================================ */

#search_filters .custom-checkbox .checkbox-checked,
#search_filters .facet-checkbox .checkbox-checked,
#search_filters .icon-rt-checkmark.checkbox-checked,
.facet .custom-checkbox .checkbox-checked,
.facet-content .checkbox-checked {
  display: none !important;
}

/* ============================================
   LIST VIEW FIXES - CORRECTED
   ============================================ */

/* Fix list view article - add left padding and proper spacing */
.product_content.list .product-miniature-list.product-miniature,
article.product-miniature-list.product-miniature {
  padding: 20px 20px 20px 25px !important;
  margin-bottom: 20px !important;
  overflow: visible !important;
}

/* Hide empty product description to avoid whitespace */
.product-miniature-list .product-desc:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* If product-desc has no text content, hide it */
.product-miniature-list .product-desc:not(:has(*)):empty,
.product-miniature-list .product-desc:blank {
  display: none !important;
}

/* Fix col-buy section - prevent overflow */
.product-miniature-list .col-buy {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 15px !important;
  padding-top: 15px !important;
  border-top: 1px solid rgba(136, 19, 55, 0.1) !important;
  overflow: visible !important;
}

/* Ensure buttons don't get cut off */
.product-miniature-list .product-cart,
.product-miniature-list .availability,
.product-miniature-list .product-price-and-shipping {
  flex-shrink: 0 !important;
  overflow: visible !important;
}

/* Product row spacing */
.product_content.list {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.product_content.list > article {
  margin-bottom: 0 !important;
}

/* ============================================
   LIST VIEW - STRONGER OVERRIDES
   ============================================ */

/* Force overflow visible with high specificity */
#js-product-list .product_content.list .product-miniature-list.product-miniature.js-product-miniature,
#js-product-list .product_content.list article.product-miniature-list,
.product_content.list article.thumbnail-container.product-miniature-list {
  overflow: visible !important;
  padding: 20px 25px 25px 30px !important;
  min-height: auto !important;
  height: auto !important;
}

/* DISABLED: Force hide empty description with high specificity */
/* #js-product-list .product-miniature-list .product-desc,
   .product_content.list .product-miniature-list .product-desc {
   display: none !important;
   height: 0 !important;
   margin: 0 !important;
   padding: 0 !important;
   min-height: 0 !important;
} */

/* Product content section - ensure it doesn't overflow */
#js-product-list .product-miniature-list .product-content,
.product_content.list .product-miniature-list .product-content {
  overflow: visible !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Col-buy section fix */
#js-product-list .product-miniature-list .col-buy,
.product_content.list .product-miniature-list .col-buy {
  overflow: visible !important;
  margin-top: 10px !important;
  padding-top: 12px !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
}

/* Spacing between product rows */
#js-product-list .product_content.list,
.product_content.list.row {
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
}

#js-product-list .product_content.list > article,
.product_content.list.row > article {
  margin-bottom: 0 !important;
}

/* Hide empty hook-reviews and variant-links too */
.product-miniature-list .hook-reviews:empty,
.product-miniature-list .variant-links:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

/* Remove all whitespace from empty divs in list view */
.product-miniature-list .product-content > div:empty {
  display: none !important;
}

/* ============================================
   LIST VIEW - FINAL FIXES
   ============================================ */

/* Show product description properly */
#js-product-list .product-miniature-list .product-desc,
.product_content.list .product-miniature-list .product-desc {
  display: block !important;
  height: auto !important;
  margin: 10px 0 15px 0 !important;
  padding: 0 !important;
  min-height: auto !important;
  color: #57534e !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Remove horizontal line before col-buy */
#js-product-list .product-miniature-list .col-buy,
.product_content.list .product-miniature-list .col-buy {
  border-top: none !important;
  padding-top: 10px !important;
  margin-top: 5px !important;
}

/* Remove any borders/lines from product-content children */
.product-miniature-list .product-content > *:not(.col-buy) {
  border: none !important;
}

/* Ensure proper spacing and no overflow issues */
#js-product-list .product-miniature-list.product-miniature,
.product_content.list .product-miniature-list.product-miniature {
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  padding: 20px 25px 20px 30px !important;
}

/* ============================================
   HEADER ACCOUNT DROPDOWN FIX
   Fix overlap with navigation menu
   ============================================ */

.account-dropdown {
  position: relative !important;
}

.account-dropdown .dropdown-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-width: 200px !important;
  z-index: 99999 !important;
  background-color: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #f5f5f4 !important;
  padding: 0.5rem 0 !important;
  transition: opacity 0.15s ease, visibility 0.15s ease !important;
}

/* Invisible bridge to prevent hover gap */
.account-dropdown::after {
  content: '' !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  height: 10px !important;
  background: transparent !important;
}

.account-dropdown:hover .dropdown-menu,
.account-dropdown:focus-within .dropdown-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.account-dropdown .dropdown-menu a {
  display: block !important;
  padding: 0.75rem 1rem !important;
  color: #44403c !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 150ms ease !important;
}

.account-dropdown .dropdown-menu a:hover {
  background-color: #fff1f2 !important;
  color: #9f1239 !important;
}

/* Language dropdown fix too */
.language-dropdown {
  position: relative !important;
}

.language-dropdown .language-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  min-width: 180px !important;
  z-index: 99999 !important;
  background-color: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #f5f5f4 !important;
  padding: 0.5rem 0 !important;
  transition: opacity 0.15s ease, visibility 0.15s ease !important;
}

.language-dropdown::after {
  content: '' !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  height: 10px !important;
  background: transparent !important;
}

.language-dropdown:hover .language-menu,
.language-dropdown:focus-within .language-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================
   FORCE SHOW PRODUCT DESCRIPTION - MAXIMUM SPECIFICITY
   ============================================ */
html body #js-product-list .product_content.list article.product-miniature-list .product-content .product-desc,
html body .product_content.list article.product-miniature-list .product-content .product-desc,
html body article.product-miniature-list .product-content .product-desc,
.product-miniature-list .product-desc,
article.product-miniature-list div.product-content div.product-desc {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  min-height: 20px !important;
  width: auto !important;
  overflow: visible !important;
  color: #57534e !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 12px 0 !important;
  padding: 0 !important;
  position: relative !important;
  clip: auto !important;
  text-indent: 0 !important;
  font-weight: 400 !important;
}

/* ============================================
   FINAL LIST VIEW OVERRIDES - HIGHEST PRIORITY
   ============================================ */

/* Reset col-buy - remove all padding, margins, borders */
html body .product-miniature-list .col-buy,
html body #js-product-list .product-miniature-list .col-buy,
html body .product_content.list .product-miniature-list .col-buy,
.product_content.list article.product-miniature-list .col-buy {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 15px !important;
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
}

/* Description styling - match title font */
html body .product-miniature-list .product-desc,
html body #js-product-list .product-miniature-list .product-desc,
html body .product_content.list .product-miniature-list .product-desc {
  display: block !important;
  visibility: visible !important;
  color: #1c1917 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin: 8px 0 12px 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
}

/* Remove extra spacing from price/availability/cart */
html body .product-miniature-list .product-price-and-shipping,
html body .product-miniature-list .availability,
html body .product-miniature-list .product-cart {
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================
   NEWSLETTER POPUP FIX
   Ensure popup displays as modal overlay
   ============================================ */

#posnewsletterpopup-overlay {
  background-color: rgba(0, 0, 0, 0.5) !important;
  height: 100vh !important;
  width: 100vw !important;
  left: 0 !important;
  top: 0 !important;
  position: fixed !important;
  z-index: 99990 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

#posnewsletterpopup-overlay.showed-popup {
  opacity: 1 !important;
  visibility: visible !important;
}

#posnewsletterpopup {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -60%) !important;
  z-index: 99999 !important;
  background-color: white !important;
  border-radius: 1rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  max-width: 500px !important;
  width: 90% !important;
  padding: 2rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
}

#posnewsletterpopup.showed-pnp {
  transform: translate(-50%, -50%) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#posnewsletterpopup .pnp-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--stone-100, #f5f5f4) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  color: var(--stone-500, #78716c) !important;
  transition: all 0.2s ease !important;
}

#posnewsletterpopup .pnp-close:hover {
  background-color: var(--rose-100, #ffe4e6) !important;
  color: var(--rose-700, #be123c) !important;
}

#posnewsletterpopup .pnp-content-wrapper {
  text-align: center !important;
}

#posnewsletterpopup .pnp-image {
  display: none !important;
}

#posnewsletterpopup .pnp-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1c1917) !important;
  margin-bottom: 0.75rem !important;
}

#posnewsletterpopup .pnp-desc {
  font-size: 0.875rem !important;
  color: var(--stone-500, #78716c) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.5 !important;
}

#posnewsletterpopup .pnp-newsletter-form form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

#posnewsletterpopup .pnp-newsletter-form .newsletter-input {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid var(--stone-200, #e7e5e4) !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  background-color: var(--stone-50, #fafaf9) !important;
}

#posnewsletterpopup .pnp-newsletter-form .newsletter-input:focus {
  outline: none !important;
  border-color: var(--rose-300, #fecdd3) !important;
  box-shadow: 0 0 0 3px var(--rose-100, #ffe4e6) !important;
}

#posnewsletterpopup .pnp-newsletter-form .pos-btn-newsletter {
  width: 100% !important;
  padding: 0.75rem 1.5rem !important;
  background-color: var(--rose-700, #be123c) !important;
  color: white !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

#posnewsletterpopup .pnp-newsletter-form .pos-btn-newsletter:hover {
  background-color: var(--rose-800, #9f1239) !important;
}

#posnewsletterpopup .pnp-close-checkbox {
  margin-top: 1rem !important;
  font-size: 0.75rem !important;
  color: var(--stone-400, #a8a29e) !important;
}

#posnewsletterpopup .pnp-close-checkbox label {
  cursor: pointer !important;
}

/* Hide on mobile */
@media (max-width: 640px) {
  #posnewsletterpopup {
    width: 95% !important;
    padding: 1.5rem !important;
  }
}

/* Hide checkmark icon in newsletter popup checkbox */
#posnewsletterpopup .pnp-close-checkbox .checkbox-checked,
#posnewsletterpopup .pnp-close-checkbox .icon-rt-checkmark {
  display: none !important;
}

/* ============================================
   BACK TO TOP BUTTON - Fixed Bottom Right
   ============================================ */

.back-top {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  left: auto !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.back-top .back-top-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  background-color: var(--rose-700, #be123c) !important;
  color: white !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.back-top .back-top-button:hover {
  background-color: var(--rose-800, #9f1239) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.back-top .back-top-button i {
  font-size: 18px !important;
  line-height: 1 !important;
}

/* Mobile adjustment */
@media (max-width: 640px) {
  .back-top {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
  }
  
  .back-top .back-top-button {
    width: 44px !important;
    height: 44px !important;
  }
}

/* ============================================
   ABSOLUTE FINAL LIST VIEW FIXES
   ============================================ */

/* Fix product-content - remove space-between which pushes col-buy to bottom */
html body .product-miniature-list .product-content,
html body #js-product-list .product-miniature-list .product-content,
html body .product_content.list .product-miniature-list .product-content {
  justify-content: flex-start !important;
}

/* Fix col-buy - remove margin-top auto which pushes to bottom */
html body .product-miniature-list .col-buy,
html body #js-product-list .product-miniature-list .col-buy,
html body .product_content.list .product-miniature-list .col-buy {
  margin-top: 10px !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Fix article height - don't stretch content to match image */
html body .product-miniature-list.product-miniature,
html body .product_content.list .product-miniature-list {
  align-items: flex-start !important;
}

/* Let product-content height be auto, not stretch */
html body .product-miniature-list .product-content {
  height: auto !important;
  min-height: auto !important;
  flex-grow: 0 !important;
}

/* Add bottom spacing inside product-content */
html body .product-miniature-list .product-content {
  padding-bottom: 15px !important;
}


/* ============================================
   HERO SECTION FULL-WIDTH BACKGROUND
   ============================================ */

.hero-section {
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 241, 242, 0.8), white, white);
  z-index: -1;
}

/* ============================================
   WELLNESS BAG (SHOPPING CART) REDESIGN
   ============================================ */

/* Import Playfair Display for serif headings */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Wellness Bag Page Container */
.wellness-bag-page {
  background-color: #fafaf9 !important;
  min-height: 100vh !important;
  padding-bottom: 5rem !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.wellness-bag-hero {
  background-color: #fafaf9 !important;
  width: 100% !important;
  border-bottom: 1px solid #f5f5f4 !important;
  padding: 0 !important;
}

.wellness-bag-hero-container {
  max-width: 80rem !important;
  margin: 0 auto !important;
  padding: 2rem 1rem 3rem !important;
}

@media (min-width: 640px) {
  .wellness-bag-hero-container {
    padding: 2rem 2rem 3rem !important;
  }
}

/* Breadcrumbs */
.wellness-bag-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  font-size: 0.75rem !important;
  color: #78716c !important;
  margin-bottom: 1.5rem !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  gap: 0.5rem !important;
}

@media (min-width: 640px) {
  .wellness-bag-breadcrumbs {
    font-size: 0.875rem !important;
  }
}

.wellness-bag-breadcrumbs a {
  color: #78716c !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.wellness-bag-breadcrumbs a:hover {
  color: #881337 !important;
}

.breadcrumb-separator {
  color: #d6d3d1 !important;
  display: flex !important;
  align-items: center !important;
}

.breadcrumb-current {
  font-weight: 500 !important;
  color: #881337 !important;
}

/* Hero Content */
.wellness-bag-hero-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .wellness-bag-hero-content {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

.wellness-bag-hero-text {
  position: relative !important;
}

.wellness-bag-hero-blob {
  position: absolute !important;
  left: -1.5rem !important;
  top: -1.5rem !important;
  width: 5rem !important;
  height: 5rem !important;
  background-color: #ffe4e6 !important;
  border-radius: 50% !important;
  filter: blur(2rem) !important;
  opacity: 0.6 !important;
}

.wellness-bag-title {
  position: relative !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.875rem !important;
  color: #1c1917 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  margin: 0 0 0.75rem 0 !important;
}

@media (min-width: 640px) {
  .wellness-bag-title {
    font-size: 2.25rem !important;
  }
}

@media (min-width: 768px) {
  .wellness-bag-title {
    font-size: 3rem !important;
  }
}

.wellness-bag-subtitle {
  position: relative !important;
  color: #78716c !important;
  max-width: 36rem !important;
  font-size: 1.125rem !important;
  font-weight: 300 !important;
  line-height: 1.625 !important;
  margin: 0 !important;
}

/* Status Card */
.wellness-bag-status-card {
  display: none !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem 1.25rem !important;
  background-color: white !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #f5f5f4 !important;
}

@media (min-width: 768px) {
  .wellness-bag-status-card {
    display: flex !important;
  }
}

.wellness-bag-status-icon {
  padding: 0.75rem !important;
  background-color: #fff1f2 !important;
  border-radius: 50% !important;
  color: #e11d48 !important;
}

.wellness-bag-status-label {
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #a8a29e !important;
  margin: 0 0 0.125rem 0 !important;
}

.wellness-bag-status-value {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #44403c !important;
  margin: 0 !important;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.wellness-bag-content {
  max-width: 80rem !important;
  margin: 0 auto !important;
  padding: 3rem 1rem !important;
}

@media (min-width: 640px) {
  .wellness-bag-content {
    padding: 3rem 2rem !important;
  }
}

.wellness-bag-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  align-items: flex-start !important;
}

@media (min-width: 1024px) {
  .wellness-bag-grid {
    grid-template-columns: 2fr 1fr !important;
  }
}

.wellness-bag-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

/* Override default cart styling */
.wellness-bag-page .cart-grid.row {
  display: grid !important;
  margin: 0 !important;
}

.wellness-bag-page .cart-grid-body,
.wellness-bag-page .cart-grid-right {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

/* ============================================
   CART ITEM CARDS
   ============================================ */

.wellness-bag-page .cart-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.wellness-bag-page .cart-items {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.wellness-bag-page .cart-items-title {
  display: none !important;
}

.wellness-bag-page .cart-item {
  background-color: white !important;
  border-radius: 2.5rem !important;
  padding: 1.5rem !important;
  border: 1px solid #e7e5e4 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (min-width: 640px) {
  .wellness-bag-page .cart-item {
    padding: 2rem !important;
  }
}

.wellness-bag-page .cart-item:hover {
  box-shadow: 0 20px 25px -5px rgba(136, 19, 55, 0.05), 0 10px 10px -5px rgba(136, 19, 55, 0.02) !important;
}

.wellness-bag-page .cart-item::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to right, rgba(255, 241, 242, 0.3), transparent) !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  pointer-events: none !important;
}

.wellness-bag-page .cart-item:hover::before {
  opacity: 1 !important;
}

/* Product Line Grid */
.wellness-bag-page .product-line-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (min-width: 640px) {
  .wellness-bag-page .product-line-grid {
    flex-direction: row !important;
    align-items: center !important;
  }
}

.wellness-bag-page .product-line-grid-left {
  width: 100% !important;
  padding: 0 !important;
  flex: none !important;
}

@media (min-width: 640px) {
  .wellness-bag-page .product-line-grid-left {
    width: auto !important;
  }
}

.wellness-bag-page .product-line-grid-left > .row {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.5rem !important;
  margin: 0 !important;
}

/* Product Image */
.wellness-bag-page .product-image {
  width: 100% !important;
  max-width: 10rem !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 1.5rem !important;
  overflow: hidden !important;
  background-color: #f5f5f4 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  padding: 0 !important;
}

.wellness-bag-page .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s ease !important;
}

.wellness-bag-page .cart-item:hover .product-image img {
  transform: scale(1.05) !important;
}

/* Product Info Body */
.wellness-bag-page .product-line-grid-body {
  flex: 1 !important;
  padding: 0 !important;
  width: auto !important;
}

.wellness-bag-page .product-line-info {
  margin-bottom: 0.25rem !important;
}

.wellness-bag-page .product_name {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  color: #1c1917 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
  display: block !important;
}

@media (min-width: 640px) {
  .wellness-bag-page .product_name {
    font-size: 1.25rem !important;
  }
}

.wellness-bag-page .cart-item:hover .product_name {
  color: #881337 !important;
}

.wellness-bag-page .product-line-info .label {
  font-size: 0.75rem !important;
  color: #78716c !important;
  font-weight: 500 !important;
}

.wellness-bag-page .product-line-info .value {
  font-size: 0.75rem !important;
  color: #44403c !important;
}

/* Product Right Section */
.wellness-bag-page .product-line-grid-right {
  width: 100% !important;
  flex: 1 !important;
  padding: 0 !important;
}

.wellness-bag-page .product-line-grid-right > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #fafaf9 !important;
}

@media (min-width: 640px) {
  .wellness-bag-page .product-line-grid-right > .row {
    padding-top: 0 !important;
    border-top: none !important;
  }
}

/* Price */
.wellness-bag-page .product-price-and-shipping {
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.wellness-bag-page .product-price-and-shipping .price {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  color: #1c1917 !important;
  font-weight: 600 !important;
}

.wellness-bag-page .product-price-and-shipping .regular-price {
  font-size: 0.875rem !important;
  color: #a8a29e !important;
  text-decoration: line-through !important;
}

.wellness-bag-page .product-price-and-shipping .discount {
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
  background-color: #d1fae5 !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 9999px !important;
  margin-left: 0.5rem !important;
}

/* Quantity Controls */
.wellness-bag-page .qty {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background-color: #fafaf9 !important;
  padding: 0.375rem !important;
  border-radius: 1rem !important;
  border: 1px solid #f5f5f4 !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.wellness-bag-page .qty input,
.wellness-bag-page .js-cart-line-product-quantity {
  width: 2rem !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: #1c1917 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-variant-numeric: tabular-nums !important;
  -moz-appearance: textfield !important;
}

.wellness-bag-page .qty input::-webkit-outer-spin-button,
.wellness-bag-page .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Add quantity buttons styling */
.wellness-bag-page .input-group-btn-vertical {
  display: flex !important;
  gap: 0.25rem !important;
}

.wellness-bag-page .input-group-btn-vertical .btn {
  width: 2rem !important;
  height: 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: white !important;
  color: #78716c !important;
  border-radius: 0.75rem !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  font-size: 1rem !important;
}

.wellness-bag-page .input-group-btn-vertical .btn:hover {
  color: #e11d48 !important;
}

/* Line Total Price */
.wellness-bag-page .product-line-grid-right .price {
  flex-shrink: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.wellness-bag-page .product-price strong {
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  color: #1c1917 !important;
  font-variant-numeric: tabular-nums !important;
}

/* Remove Button */
.wellness-bag-page .cart-line-product-actions {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  padding: 0 !important;
}

.wellness-bag-page .remove-from-cart {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  border-radius: 0.75rem !important;
  color: #a8a29e !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}

.wellness-bag-page .remove-from-cart:hover {
  color: #e11d48 !important;
  background-color: #fff1f2 !important;
}

.wellness-bag-page .remove-from-cart i {
  font-size: 1rem !important;
  transition: transform 0.3s ease !important;
}

.wellness-bag-page .remove-from-cart:hover i {
  animation: bounce-icon 0.5s ease !important;
}

@keyframes bounce-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ============================================
   ORDER SUMMARY SIDEBAR
   ============================================ */

.wellness-bag-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  position: sticky !important;
  top: 8rem !important;
}

.wellness-bag-summary {
  background-color: white !important;
  border-radius: 3rem !important;
  padding: 2rem !important;
  border: 1px solid #e7e5e4 !important;
  box-shadow: 0 20px 25px -5px rgba(168, 162, 158, 0.15), 0 10px 10px -5px rgba(168, 162, 158, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Summary Title */
.wellness-bag-summary .order-summary-title,
.wellness-bag-summary h3:first-child {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.875rem !important;
  color: #1c1917 !important;
  margin: 0 0 2rem 0 !important;
}

/* Free Shipping Banner */
.wellness-bag-shipping-banner {
  margin-bottom: 2rem !important;
  padding: 1rem !important;
  background-color: #d1fae5 !important;
  border-radius: 1rem !important;
  border: 1px solid #a7f3d0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
}

.wellness-bag-shipping-icon {
  padding: 0.375rem !important;
  background-color: #a7f3d0 !important;
  border-radius: 50% !important;
  color: #059669 !important;
  margin-top: 0.125rem !important;
  flex-shrink: 0 !important;
}

.wellness-bag-shipping-title {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #065f46 !important;
  margin: 0 0 0.25rem 0 !important;
}

.wellness-bag-shipping-desc {
  font-size: 0.75rem !important;
  color: rgba(6, 95, 70, 0.8) !important;
  margin: 0 !important;
}

/* Subtotals */
.wellness-bag-page .cart-detailed-subtotals,
.wellness-bag-page .card-block.cart-detailed-subtotals {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  color: #78716c !important;
  margin-bottom: 2rem !important;
  padding: 0 0 2rem 0 !important;
  border-bottom: 1px solid #f5f5f4 !important;
}

.wellness-bag-page .cart-summary-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.wellness-bag-page .cart-summary-line .label {
  font-size: 0.875rem !important;
  color: #78716c !important;
}

.wellness-bag-page .cart-summary-line .value {
  font-weight: 500 !important;
  color: #1c1917 !important;
}

/* Shipping Line - Green when free */
.wellness-bag-page .cart-summary-line#cart-subtotal-shipping .value {
  color: #059669 !important;
  font-weight: 700 !important;
}

/* Total */
.wellness-bag-page .cart-summary-totals,
.wellness-bag-page .card-block.cart-summary-totals {
  padding: 0 !important;
  margin-bottom: 2rem !important;
}

.wellness-bag-page .cart-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
}

.wellness-bag-page .cart-total .label {
  font-weight: 700 !important;
  color: #1c1917 !important;
  font-size: 1rem !important;
}

.wellness-bag-page .cart-total .value {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.25rem !important;
  color: #881337 !important;
  letter-spacing: -0.025em !important;
  font-weight: 600 !important;
}

/* Checkout Button */
.wellness-bag-page .cart-detailed-actions {
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
}

.wellness-bag-page .cart-detailed-actions .btn-primary,
.wellness-bag-page .cart-detailed-actions a.btn-primary {
  width: 100% !important;
  padding: 1.25rem !important;
  background-color: #881337 !important;
  color: white !important;
  border-radius: 1.5rem !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 20px 25px -5px rgba(136, 19, 55, 0.2) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.wellness-bag-page .cart-detailed-actions .btn-primary:hover {
  background-color: #9f1239 !important;
}

.wellness-bag-page .cart-detailed-actions .btn-primary:active {
  transform: scale(0.98) !important;
}

/* Payment Icons */
.wellness-bag-payment-icons {
  display: flex !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin-top: 1.5rem !important;
  opacity: 0.4 !important;
  filter: grayscale(1) !important;
  transition: all 0.5s ease !important;
}

.wellness-bag-payment-icons:hover {
  opacity: 1 !important;
  filter: grayscale(0) !important;
}

.wellness-bag-payment-icons img {
  height: 1.25rem !important;
}

/* Promo Code Section */
.wellness-bag-page .block-promo {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #f5f5f4 !important;
}

.wellness-bag-page .promo-code-button a {
  font-size: 0.875rem !important;
  color: #78716c !important;
  text-decoration: none !important;
}

.wellness-bag-page .promo-code-button a:hover {
  color: #881337 !important;
}

.wellness-bag-page .promo-code {
  margin-top: 1rem !important;
}

.wellness-bag-page .promo-code form {
  display: flex !important;
  gap: 0.5rem !important;
}

.wellness-bag-page .promo-input {
  flex: 1 !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
}

.wellness-bag-page .promo-code .btn {
  padding: 0.75rem 1.25rem !important;
  background-color: #1c1917 !important;
  color: white !important;
  border-radius: 0.75rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

/* ============================================
   HERHEALTH PROMISE SECTION
   ============================================ */

.wellness-bag-promise {
  background-color: #fafaf9 !important;
  border-radius: 2.5rem !important;
  padding: 1.5rem !important;
  border: 1px solid #f5f5f4 !important;
}

.wellness-bag-promise-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  color: #1c1917 !important;
  margin: 0 0 1rem 0 !important;
  padding: 0 0.5rem !important;
}

.wellness-bag-promise-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.wellness-bag-promise-item {
  display: flex !important;
  gap: 1rem !important;
  padding: 1rem !important;
  background-color: white !important;
  border-radius: 1rem !important;
  border: 1px solid #f5f5f4 !important;
  transition: border-color 0.2s ease !important;
}

.wellness-bag-promise-item:hover {
  border-color: #ffe4e6 !important;
}

.wellness-bag-promise-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  background-color: #fff1f2 !important;
  color: #e11d48 !important;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.wellness-bag-promise-name {
  font-weight: 700 !important;
  color: #1c1917 !important;
  font-size: 0.875rem !important;
  margin: 0 0 0.125rem 0 !important;
}

.wellness-bag-promise-desc {
  font-size: 0.75rem !important;
  color: #a8a29e !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ============================================
   CONTINUE SHOPPING LINK
   ============================================ */

.wellness-bag-page .btn-continue {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  color: #78716c !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding-left: 1.5rem !important;
  margin-top: 1rem !important;
  transition: color 0.2s ease !important;
  background: transparent !important;
  border: none !important;
}

.wellness-bag-page .btn-continue:hover {
  color: #881337 !important;
}

.wellness-bag-page .btn-continue svg,
.wellness-bag-page .btn-continue i {
  transition: transform 0.2s ease !important;
}

.wellness-bag-page .btn-continue:hover svg,
.wellness-bag-page .btn-continue:hover i {
  transform: translateX(-0.25rem) !important;
}

/* ============================================
   EMPTY CART STATE
   ============================================ */

.wellness-bag-page .no-items {
  display: block !important;
  background-color: white !important;
  border-radius: 3rem !important;
  padding: 5rem !important;
  text-align: center !important;
  border: 1px dashed #e7e5e4 !important;
}

.wellness-bag-empty-icon {
  width: 5rem !important;
  height: 5rem !important;
  background-color: #fafaf9 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.5rem !important;
  color: #d6d3d1 !important;
}

.wellness-bag-empty-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.875rem !important;
  color: #1c1917 !important;
  margin: 0 0 1rem 0 !important;
}

.wellness-bag-empty-text {
  color: #78716c !important;
  margin: 0 auto 2.5rem !important;
  max-width: 24rem !important;
}

.wellness-bag-empty-btn {
  display: inline-block !important;
  padding: 1rem 2.5rem !important;
  background-color: #1c1917 !important;
  color: white !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}

.wellness-bag-empty-btn:hover {
  background-color: #881337 !important;
  color: white !important;
}

/* ============================================
   HIDE DEFAULT PAGE ELEMENTS
   ============================================ */

.wellness-bag-page #wrapper .breadcrumb,
.wellness-bag-page .page-header {
  display: none !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 767px) {
  .wellness-bag-page .cart-item {
    border-radius: 1.5rem !important;
  }
  
  .wellness-bag-summary {
    border-radius: 2rem !important;
  }
  
  .wellness-bag-promise {
    border-radius: 1.5rem !important;
  }
  
  .wellness-bag-page .product-line-grid-right > .row {
    justify-content: space-between !important;
  }
}

/* Order Summary Title (in totals section) */
.wellness-bag-summary-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.875rem !important;
  color: #1c1917 !important;
  margin: 0 0 2rem 0 !important;
}

/* Checkout Button Wrapper */
.wellness-bag-checkout-wrapper {
  text-align: center !important;
}

.wellness-bag-checkout-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

/* Hide default reassurance module in wellness bag */
.wellness-bag-page .blockreassurance {
  display: none !important;
}

/* ============================================
   WELLNESS BAG - FULL WIDTH CONTENT
   ============================================ */

/* Make content wrapper full width on wellness bag page */
.wellness-bag-page #content-wrapper,
.wellness-bag-page .js-content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide any sidebars on the wellness bag page */
.wellness-bag-page #left-column,
.wellness-bag-page #right-column,
.wellness-bag-page .left-column-wrapper,
.wellness-bag-page .right-column-wrapper {
  display: none !important;
}

/* Ensure the row container doesn't constrain */
.wellness-bag-page #wrapper .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove default page header padding that might affect layout */
.wellness-bag-page #wrapper {
  padding-top: 0 !important;
}

/* ============================================
   WELLNESS BAG - SIDEBAR COLUMN STYLING
   ============================================ */

/* Right sidebar column */
.wellness-bag-sidebar-column {
  position: sticky !important;
  top: 8rem !important;
}

/* Content main area */
.wellness-bag-content-main {
  padding-right: 2rem !important;
}

/* Items section container */
.wellness-bag-items-section {
  padding: 0 !important;
}

/* Override row wrapper for cart page */
#cart .row-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Full-width header inside the row wrapper */
#cart .wellness-bag-header-full {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  margin-bottom: 2rem !important;
  padding: 2rem 15px 0 15px !important;
  box-sizing: border-box !important;
}

/* Make sure sidebar and content align properly */
#cart .wellness-bag-content-main,
#cart .wellness-bag-sidebar-column {
  padding-top: 0 !important;
}

@media (max-width: 767px) {
  .wellness-bag-content-main {
    padding-right: 15px !important;
  }
  
  .wellness-bag-sidebar-column {
    position: relative !important;
    top: 0 !important;
    margin-top: 2rem !important;
  }
}

/* ============================================
   WELLNESS BAG - FIX LAYOUT OVERFLOW
   ============================================ */

/* Prevent section from breaking out of container */
#cart .wellness-bag-page,
#cart section#main.wellness-bag-page {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Ensure row-wrapper uses flexbox properly - must wrap for header to work */
#cart .row-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Hero section should not exceed container */
#cart .wellness-bag-hero {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

#cart .wellness-bag-hero-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Items section */
#cart .wellness-bag-items-section {
  width: 100% !important;
}


/* ============================================
   HOME PAGE - REDUCE WRAPPER & FOOTER SPACING
   ============================================ */

/* Reduce wrapper padding on home page */
body.page-index #wrapper {
  padding-top: 10px \!important;
  padding-bottom: 10px \!important;
  margin-top: 0 \!important;
  margin-bottom: 0 \!important;
}

/* Reduce footer top padding/margin */
#footer,
.js-footer,
footer#footer {
  padding-top: 10px \!important;
  margin-top: 0 \!important;
}

/* Reduce gap between content and footer */
body.page-index #wrapper + footer,
body.page-index section#wrapper + footer {
  margin-top: 0 \!important;
}

/* Reduce herhealth-footer top padding */
.herhealth-footer {
  padding-top: 0 \!important;
  margin-top: 0 \!important;
}

/* Reduce footer-container padding */
.herhealth-footer .footer-container {
  padding-top: 10px \!important;
}

/* ============================================
   WELLNESS BAG - FIX COLUMN OVERFLOW
   ============================================ */

/* Reset padding on row wrapper for cart */
#cart .row-wrapper {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* Content wrapper - ensure it fits */
#cart .wellness-bag-content-main {
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

/* Sidebar column - ensure it fits */
#cart .wellness-bag-sidebar-column {
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

/* Ensure both columns don't exceed container */
#cart #content-wrapper,
#cart #right-column {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* ============================================
   WELLNESS BAG - CONTAINER & ROW SETUP
   ============================================ */

#cart #wrapper .container {
  max-width: var(--container-max-width, 1400px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure row-wrapper stays within container */
#cart .row-wrapper {
  max-width: 100% !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
}

/* Column widths - final consolidated rules */
#cart #content-wrapper.wellness-bag-content-main {
  flex: 0 0 66.666667% !important;
  max-width: 66.666667% !important;
  width: 66.666667% !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

#cart #right-column.wellness-bag-sidebar-column {
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
  width: 33.333333% !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  #cart #content-wrapper.wellness-bag-content-main,
  #cart #right-column.wellness-bag-sidebar-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ============================================
   WELLNESS BAG - PAGE DESCRIPTION
   ============================================ */

.wellness-bag-description {
  color: #78716c !important;
  font-size: 1.125rem !important;
  font-weight: 300 !important;
  line-height: 1.625 !important;
  margin: 0.5rem 0 0 0 !important;
  max-width: 36rem !important;
}

/* Hide duplicate payment detail on cart page */
#cart .payment-detail,
.wellness-bag-summary .payment-detail {
  display: none !important;
}

/* ============================================
   CART - TOUCHSPIN QUANTITY BUTTONS FIX
   ============================================ */

/* Hide the empty material-icons elements */
#cart .btn-touchspin i.material-icons,
.wellness-bag-page .btn-touchspin i.material-icons {
  display: none !important;
}

/* Add + and - using pseudo-elements on the buttons */
#cart .btn-touchspin.bootstrap-touchspin-up::before,
.wellness-bag-page .btn-touchspin.bootstrap-touchspin-up::before {
  content: "+" !important;
  font-family: Arial, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

#cart .btn-touchspin.bootstrap-touchspin-down::before,
.wellness-bag-page .btn-touchspin.bootstrap-touchspin-down::before {
  content: "−" !important;
  font-family: Arial, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

/* Style the touchspin buttons in cart */
#cart .btn-touchspin,
.wellness-bag-page .btn-touchspin {
  background: transparent !important;
  border: none !important;
  color: #78716c !important;
  cursor: pointer !important;
  padding: 0.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

#cart .btn-touchspin:hover,
.wellness-bag-page .btn-touchspin:hover {
  color: #881337 !important;
  background-color: rgba(136, 19, 55, 0.08) !important;
}

/* Layout for vertical button group */
#cart .input-group-btn-vertical,
.wellness-bag-page .input-group-btn-vertical {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.25rem !important;
}

/* Quantity input styling in cart */
#cart .qty input,
.wellness-bag-page .qty input {
  text-align: center !important;
  width: 50px !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 0.5rem !important;
  padding: 0.375rem !important;
}

/* ============================================
   HOME PAGE - AGGRESSIVE WHITESPACE REMOVAL
   ============================================ */

/* Remove all padding/margin from wrapper section on home page */
body.page-index #wrapper,
body.page-index section#wrapper {
  padding: 0 \!important;
  margin: 0 \!important;
  padding-bottom: 0 \!important;
  margin-bottom: 0 \!important;
}

/* Remove container padding on home page */
body.page-index #wrapper > .container,
body.page-index section#wrapper > .container {
  padding: 0 \!important;
  margin: 0 \!important;
  padding-bottom: 0 \!important;
  margin-bottom: 0 \!important;
}

/* Remove row-wrapper padding/margin on home page */
body.page-index #wrapper .row-wrapper,
body.page-index #wrapper .row.row-wrapper {
  padding: 0 \!important;
  margin: 0 \!important;
  padding-bottom: 0 \!important;
  margin-bottom: 0 \!important;
}

/* Remove content-wrapper padding on home page */
body.page-index #content-wrapper,
body.page-index .js-content-wrapper {
  padding: 0 \!important;
  margin: 0 \!important;
}

/* Ensure no bottom spacing on wrapper hooks */
body.page-index #wrapper [class*="displayWrapper"] {
  padding: 0 \!important;
  margin: 0 \!important;
}

/* Hide empty container on my-account page */
#my-account #wrapper > .container:empty,
#my-account #wrapper > section > .container:empty {
  display: none !important;
}

/* Also target container with only whitespace */
#my-account .page-title-wrapper {
  display: none !important;
}

/* Hide the empty wrapper container on my-account page */
#my-account #wrapper > section#wrapper > .container:first-of-type:not(:has(*:not(br):not(script))) {
  display: none !important;
}

/* More reliable: target by structure */
#my-account #wrapper .container:has(> :only-child:empty) {
  display: none !important;
}

/* Fallback: make empty containers collapse */
#my-account .container:empty {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}


/* Hide page-footer on home page */
body.page-index .page-footer,
body.page-index footer.page-footer {
  display: none \!important;
  padding: 0 \!important;
  margin: 0 \!important;
  height: 0 \!important;
}


/* ============================================
   TESTIMONIALS SECTION FULL-WIDTH BACKGROUND
   ============================================ */

.testimonials-section-dark {
  position: relative;
}

.testimonials-section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #1c1917;
  z-index: 0;
}

.testimonials-section-dark > * {
  position: relative;
  z-index: 1;
}

/* Force hide page-title-wrapper and any stray containers on my-account */
#my-account .page-title-wrapper,
#my-account #wrapper > section > .page-title-wrapper {
  display: none !important;
}

/* Target empty container directly after displayWrapperTop hook */
#my-account #wrapper section#wrapper > .container:not(:has(.row-wrapper)) {
  display: none !important;
}

/* If container only has whitespace text nodes, collapse it */
#my-account #wrapper .container:not(:has(*)) {
  display: none !important;
}


/* ============================================
   HOME PAGE - CENTER ALIGN HEADER MAIN ROW
   ============================================ */

body.page-index .header-main-row {
  justify-content: center \!important;
  text-align: center \!important;
}


/* ============================================
   TOP BANNER - CONSTRAIN TO CONTAINER WIDTH
   ============================================ */

.herhealth-top-banner {
  width: 100% \!important;
  overflow: hidden \!important;
}

.herhealth-top-banner .banner-container {
  max-width: 1280px \!important;
  margin: 0 auto \!important;
  padding-left: 1rem \!important;
  padding-right: 1rem \!important;
  box-sizing: border-box \!important;
}

@media (min-width: 640px) {
  .herhealth-top-banner .banner-container {
    padding-left: 2rem \!important;
    padding-right: 2rem \!important;
  }
}

/* Centered banner (single item) */
.herhealth-top-banner .banner-container.banner-centered {
  justify-content: center !important;
}


/* ============================================
   CONTACT PAGE - MATCH MY ACCOUNT STYLE
   ============================================ */

.herhealth-contact .contact-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.herhealth-contact .contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


/* ============================================
   ORDER HISTORY PAGE - REMOVE TOP GAP
   ============================================ */

body[id="history"] #wrapper,
body[id="history"] section#wrapper {
  padding-top: 0 \!important;
  margin-top: 0 \!important;
}

body[id="history"] #wrapper .container {
  padding-top: 0 \!important;
}

body[id="history"] #content-wrapper {
  padding-top: 0 \!important;
  margin-top: 0 \!important;
}

body[id="history"] #content,
body[id="history"] .page-content {
  padding-top: 0 \!important;
  margin-top: 0 \!important;
}

body[id="history"] .herhealth-my-account {
  padding-top: 0 \!important;
  margin-top: 0 \!important;
}

body[id="history"] .my-account-header {
  padding-top: 2rem \!important;
  margin-top: 0 \!important;
}


/* ============================================
   CUSTOMER PAGES - COLLAPSE EMPTY NOTIFICATIONS
   ============================================ */

/* Collapse empty notifications aside on customer account pages */
body[id="history"] #notifications,
body[id="addresses"] #notifications,
body[id="address"] #notifications,
body[id="identity"] #notifications,
body[id="order-slip"] #notifications,
body[id="order-detail"] #notifications,
body[id="module-psgdpr-gdpr"] #notifications,
body[id="module-medicalintake-treatmentlist"] #notifications,
body[id="module-medicalintake-questionnaire"] #notifications,
body[id="module-medicalintake-submit"] #notifications,
body[id="module-medicalintake-history"] #notifications,
body[id="module-poswishlist-mywishlist"] #notifications,
body[id="module-ps_emailalerts-account"] #notifications,
body.page-customer-account #notifications {
  padding: 0 !important;
  margin: 0 !important;
}

body[id="history"] #notifications .container,
body[id="addresses"] #notifications .container,
body[id="address"] #notifications .container,
body[id="identity"] #notifications .container,
body[id="order-slip"] #notifications .container,
body[id="order-detail"] #notifications .container,
body[id="module-psgdpr-gdpr"] #notifications .container,
body[id="module-medicalintake-treatmentlist"] #notifications .container,
body[id="module-medicalintake-questionnaire"] #notifications .container,
body[id="module-medicalintake-submit"] #notifications .container,
body[id="module-medicalintake-history"] #notifications .container,
body[id="module-poswishlist-mywishlist"] #notifications .container,
body[id="module-ps_emailalerts-account"] #notifications .container,
body.page-customer-account #notifications .container {
  padding: 0 !important;
  margin: 0 !important;
}

/* Also collapse empty notifications when no content */
#notifications:empty,
#notifications .container:empty {
  display: none \!important;
}


/* ============================================
   CUSTOMER PAGES - FIX VERTICAL ALIGNMENT
   ============================================ */

/* Ensure content starts from top, not centered */
body[id="history"] #wrapper .row-wrapper,
body[id="addresses"] #wrapper .row-wrapper,
body[id="address"] #wrapper .row-wrapper,
body[id="identity"] #wrapper .row-wrapper,
body[id="order-slip"] #wrapper .row-wrapper,
body[id="order-detail"] #wrapper .row-wrapper,
body[id="module-psgdpr-gdpr"] #wrapper .row-wrapper,
body[id="module-medicalintake-treatmentlist"] #wrapper .row-wrapper,
body[id="module-medicalintake-questionnaire"] #wrapper .row-wrapper,
body[id="module-medicalintake-submit"] #wrapper .row-wrapper,
body[id="module-medicalintake-history"] #wrapper .row-wrapper,
body[id="module-poswishlist-mywishlist"] #wrapper .row-wrapper,
body[id="module-ps_emailalerts-account"] #wrapper .row-wrapper,
body.page-customer-account #wrapper .row-wrapper {
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

body[id="history"] #content-wrapper,
body[id="addresses"] #content-wrapper,
body[id="address"] #content-wrapper,
body[id="identity"] #content-wrapper,
body[id="order-slip"] #content-wrapper,
body[id="order-detail"] #content-wrapper,
body[id="module-psgdpr-gdpr"] #content-wrapper,
body[id="module-medicalintake-treatmentlist"] #content-wrapper,
body[id="module-medicalintake-questionnaire"] #content-wrapper,
body[id="module-medicalintake-submit"] #content-wrapper,
body[id="module-medicalintake-history"] #content-wrapper,
body[id="module-poswishlist-mywishlist"] #content-wrapper,
body[id="module-ps_emailalerts-account"] #content-wrapper,
body.page-customer-account #content-wrapper {
  align-self: flex-start !important;
}

body[id="history"] #main,
body[id="addresses"] #main,
body[id="address"] #main,
body[id="identity"] #main,
body[id="order-slip"] #main,
body[id="order-detail"] #main,
body[id="module-psgdpr-gdpr"] #main,
body[id="module-medicalintake-treatmentlist"] #main,
body[id="module-medicalintake-questionnaire"] #main,
body[id="module-medicalintake-submit"] #main,
body[id="module-medicalintake-history"] #main,
body[id="module-poswishlist-mywishlist"] #main,
body[id="module-ps_emailalerts-account"] #main,
body.page-customer-account #main {
  min-height: auto !important;
}

body[id="history"] .page-content,
body[id="addresses"] .page-content,
body[id="address"] .page-content,
body[id="identity"] .page-content,
body[id="order-slip"] .page-content,
body[id="order-detail"] .page-content,
body[id="module-psgdpr-gdpr"] .page-content,
body[id="module-medicalintake-treatmentlist"] .page-content,
body[id="module-medicalintake-questionnaire"] .page-content,
body[id="module-medicalintake-submit"] .page-content,
body[id="module-medicalintake-history"] .page-content,
body[id="module-poswishlist-mywishlist"] .page-content,
body[id="module-ps_emailalerts-account"] .page-content,
body.page-customer-account .page-content {
  min-height: auto !important;
  display: block !important;
}

/* Remove any vertical centering on the wrapper */
body[id="history"] #wrapper,
body[id="addresses"] #wrapper,
body[id="address"] #wrapper,
body[id="identity"] #wrapper,
body[id="module-psgdpr-gdpr"] #wrapper,
body[id="module-medicalintake-treatmentlist"] #wrapper,
body[id="module-medicalintake-questionnaire"] #wrapper,
body[id="module-medicalintake-submit"] #wrapper,
body[id="module-medicalintake-history"] #wrapper,
body[id="module-poswishlist-mywishlist"] #wrapper,
body[id="module-ps_emailalerts-account"] #wrapper,
body.page-customer-account #wrapper {
  display: block !important;
  min-height: auto !important;
}

body[id="history"] #wrapper > .container,
body[id="addresses"] #wrapper > .container,
body[id="address"] #wrapper > .container,
body[id="identity"] #wrapper > .container,
body[id="module-psgdpr-gdpr"] #wrapper > .container,
body[id="module-medicalintake-treatmentlist"] #wrapper > .container,
body[id="module-medicalintake-questionnaire"] #wrapper > .container,
body[id="module-medicalintake-submit"] #wrapper > .container,
body[id="module-medicalintake-history"] #wrapper > .container,
body[id="module-poswishlist-mywishlist"] #wrapper > .container,
body[id="module-ps_emailalerts-account"] #wrapper > .container,
body.page-customer-account #wrapper > .container {
  display: block !important;
  min-height: auto !important;
}


/* ============================================
   CUSTOMER PAGES - AGGRESSIVE GAP REMOVAL
   ============================================ */

/* Hide page-title-wrapper on customer account pages */
body[id="history"] .page-title-wrapper,
body[id="addresses"] .page-title-wrapper,
body[id="address"] .page-title-wrapper,
body[id="identity"] .page-title-wrapper,
body[id="order-slip"] .page-title-wrapper,
body[id="order-detail"] .page-title-wrapper,
body[id="contact"] .page-title-wrapper,
body[id="module-psgdpr-gdpr"] .page-title-wrapper,
body[id="module-medicalintake-treatmentlist"] .page-title-wrapper,
body[id="module-medicalintake-questionnaire"] .page-title-wrapper,
body[id="module-medicalintake-submit"] .page-title-wrapper,
body[id="module-medicalintake-history"] .page-title-wrapper,
body[id="module-poswishlist-mywishlist"] .page-title-wrapper,
body[id="module-ps_emailalerts-account"] .page-title-wrapper,
body.page-customer-account .page-title-wrapper,
body[id="product"] .page-title-wrapper,
body.page-product .page-title-wrapper,
body[id="category"] .page-title-wrapper,
body.page-category .page-title-wrapper,
body.category .page-title-wrapper {
  display: none !important;
}

/* Remove wrapper padding */
body[id="history"] #wrapper,
body[id="addresses"] #wrapper,
body[id="address"] #wrapper,
body[id="identity"] #wrapper,
body[id="order-slip"] #wrapper,
body[id="order-detail"] #wrapper,
body[id="contact"] #wrapper,
body[id="module-psgdpr-gdpr"] #wrapper,
body[id="module-medicalintake-treatmentlist"] #wrapper,
body[id="module-medicalintake-questionnaire"] #wrapper,
body[id="module-medicalintake-submit"] #wrapper,
body[id="module-medicalintake-history"] #wrapper,
body[id="module-poswishlist-mywishlist"] #wrapper,
body[id="module-ps_emailalerts-account"] #wrapper,
body.page-customer-account #wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Remove container padding at top */
body[id="history"] #wrapper > .container,
body[id="addresses"] #wrapper > .container,
body[id="address"] #wrapper > .container,
body[id="identity"] #wrapper > .container,
body[id="order-slip"] #wrapper > .container,
body[id="order-detail"] #wrapper > .container,
body[id="contact"] #wrapper > .container,
body[id="module-psgdpr-gdpr"] #wrapper > .container,
body[id="module-medicalintake-treatmentlist"] #wrapper > .container,
body[id="module-medicalintake-questionnaire"] #wrapper > .container,
body[id="module-medicalintake-submit"] #wrapper > .container,
body[id="module-medicalintake-history"] #wrapper > .container,
body[id="module-poswishlist-mywishlist"] #wrapper > .container,
body[id="module-ps_emailalerts-account"] #wrapper > .container,
body.page-customer-account #wrapper > .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ensure my-account-header is at top */
body[id="history"] .my-account-header,
body[id="addresses"] .my-account-header,
body[id="address"] .my-account-header,
body[id="identity"] .my-account-header,
body[id="order-slip"] .my-account-header,
body[id="order-detail"] .my-account-header,
body[id="contact"] .my-account-header,
body[id="module-psgdpr-gdpr"] .my-account-header,
body[id="module-medicalintake-treatmentlist"] .my-account-header,
body[id="module-medicalintake-questionnaire"] .my-account-header,
body[id="module-medicalintake-submit"] .my-account-header,
body[id="module-medicalintake-history"] .my-account-header,
body[id="module-poswishlist-mywishlist"] .my-account-header,
body[id="module-ps_emailalerts-account"] .my-account-header,
body.page-customer-account .my-account-header {
  margin-top: 0 !important;
  padding-top: 1.5rem !important;
}

/* ============================================
   HERHEALTH CHECKOUT PAGE REDESIGN
   ============================================ */

/* Main Checkout Page Container */
.herhealth-checkout-page {
  background-color: #fafaf9;
  min-height: 100vh;
  padding-bottom: 3rem;
}

/* Progress Stepper Header Bar */
.checkout-progress-bar {
  background: #ffffff;
  border-bottom: 1px solid #e7e5e4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.checkout-progress-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-back-to-bag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #78716c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.checkout-back-to-bag:hover {
  color: #881337;
  text-decoration: none;
}

.checkout-steps-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d6d3d1;
  transition: color 0.3s ease;
}

.checkout-step-item.active,
.checkout-step-item.completed {
  color: #881337;
}

.checkout-step-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid currentColor;
  background: transparent;
  transition: all 0.3s ease;
}

.checkout-step-item.active .checkout-step-number,
.checkout-step-item.completed .checkout-step-number {
  background: #881337;
  border-color: #881337;
  color: #ffffff;
}

.checkout-step-label {
  font-family: Georgia, serif;
  font-weight: 500;
  display: none;
}

@media (min-width: 640px) {
  .checkout-step-label {
    display: inline;
  }
}

.checkout-step-divider {
  width: 2rem;
  height: 1px;
  background: #e7e5e4;
  display: none;
}

@media (min-width: 640px) {
  .checkout-step-divider {
    display: block;
  }
}

.checkout-secure-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a8a29e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Checkout Content Section */
.checkout-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.checkout-main-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.cart-grid-body {
  flex: 1;
  min-width: 0;
}

.cart-grid-right {
  width: 100%;
}

@media (min-width: 992px) {
  .cart-grid-right {
    width: 350px;
    flex-shrink: 0;
  }
}

.checkout-sidebar-sticky {
  position: sticky;
  top: 5rem;
}

/* Checkout Step Cards */
.herhealth-checkout-step {
  background: #ffffff;
  border-radius: 2rem;
  border: 1px solid #e7e5e4;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.5s ease;
}

.herhealth-checkout-step.-current {
  border-color: #fecdd3;
  box-shadow: 0 20px 25px -5px rgba(136, 19, 55, 0.05), 0 8px 10px -6px rgba(136, 19, 55, 0.05);
  ring: 4px solid #fff1f2;
}

.herhealth-checkout-step:not(.-current) {
  opacity: 0.6;
}

.checkout-step-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f5f5f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s ease;
}

.herhealth-checkout-step.-current .checkout-step-header {
  cursor: default;
}

.checkout-step-header:hover {
  background: #fafaf9;
}

.checkout-step-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkout-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f4;
  color: #a8a29e;
  transition: all 0.3s ease;
}

.herhealth-checkout-step.-current .checkout-step-icon {
  background: #ffe4e6;
  color: #be123c;
}

.checkout-step-title {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: #1c1917;
  margin: 0;
}

.checkout-step-edit-btn {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #be123c;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.checkout-step-edit-btn:hover {
  color: #881337;
}

.checkout-step-content {
  padding: 2rem;
}

.herhealth-checkout-step:not(.-current) .checkout-step-content {
  display: none;
}

/* Form Styling */
.herhealth-checkout-step input[type="text"],
.herhealth-checkout-step input[type="email"],
.herhealth-checkout-step input[type="tel"],
.herhealth-checkout-step input[type="password"],
.herhealth-checkout-step select {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #fafaf9;
  border: 2px solid transparent;
  font-size: 1rem;
  color: #1c1917;
  transition: all 0.2s ease;
}

.herhealth-checkout-step input:focus,
.herhealth-checkout-step select:focus {
  background: #ffffff;
  border-color: #fecdd3;
  outline: none;
  box-shadow: 0 0 0 4px #fff1f2;
}

.herhealth-checkout-step label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #78716c;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

/* Continue Button */
.herhealth-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #1c1917;
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(28, 25, 23, 0.1);
}

.herhealth-continue-btn:hover {
  background: #881337;
  transform: translateY(-1px);
}

.herhealth-form-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f5f5f4;
}

/* Delivery Cards */
.herhealth-delivery-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.herhealth-delivery-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px solid #e7e5e4;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
}

.herhealth-delivery-card:hover {
  border-color: #d6d3d1;
}

.herhealth-delivery-card.selected {
  border-color: #f43f5e;
  background: rgba(254, 205, 211, 0.2);
}

.herhealth-delivery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.herhealth-delivery-label {
  display: block;
  cursor: pointer;
}

.herhealth-delivery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.herhealth-delivery-name {
  font-weight: 700;
  color: #1c1917;
  font-size: 1rem;
}

.herhealth-delivery-price {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1c1917;
}

.herhealth-delivery-delay {
  font-size: 0.875rem;
  color: #78716c;
  margin-bottom: 1rem;
}

.herhealth-delivery-radio-indicator {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid #d6d3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.herhealth-delivery-card.selected .herhealth-delivery-radio-indicator {
  border-color: #be123c;
}

.herhealth-radio-inner {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s ease;
}

.herhealth-delivery-card.selected .herhealth-radio-inner {
  background: #be123c;
}

/* Order Options */
.herhealth-order-options {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f5f5f4;
}

.herhealth-delivery-message label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #57534e;
  text-transform: none;
  letter-spacing: normal;
}

.herhealth-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #fafaf9;
  border: 2px solid transparent;
  font-size: 0.875rem;
  color: #1c1917;
  resize: vertical;
  min-height: 80px;
  transition: all 0.2s ease;
}

.herhealth-textarea:focus {
  background: #ffffff;
  border-color: #fecdd3;
  outline: none;
  box-shadow: 0 0 0 4px #fff1f2;
}

.herhealth-checkbox-wrapper {
  margin-top: 1rem;
}

/* Order Summary Sidebar */
.herhealth-order-summary {
  background: #ffffff;
  border-radius: 2rem;
  border: 1px solid #f5f5f4;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f5f5f4;
}

.order-summary-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: #1c1917;
  margin: 0;
}

.order-summary-edit {
  font-size: 0.75rem;
  font-weight: 700;
  color: #be123c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.order-summary-edit:hover {
  color: #881337;
  text-decoration: none;
}

/* Mini Cart List */
.herhealth-mini-cart-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1.5rem;
}

.herhealth-mini-cart-list::-webkit-scrollbar {
  width: 4px;
}

.herhealth-mini-cart-list::-webkit-scrollbar-track {
  background: #f5f5f4;
  border-radius: 2px;
}

.herhealth-mini-cart-list::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 2px;
}

.herhealth-mini-cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #fafaf9;
}

.herhealth-mini-cart-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mini-cart-image {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f5f5f4;
  flex-shrink: 0;
}

.mini-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-cart-details {
  flex: 1;
  min-width: 0;
}

.mini-cart-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1c1917;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-cart-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.mini-cart-qty {
  font-size: 0.75rem;
  color: #78716c;
}

.mini-cart-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1c1917;
}

/* Subtotals */
.herhealth-totals-section {
  padding-top: 1.5rem;
  border-top: 1px solid #f5f5f4;
}

.herhealth-subtotals-container {
  margin-bottom: 1rem;
}

.herhealth-subtotal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #57534e;
}

.herhealth-subtotal-label {
  color: #78716c;
}

.herhealth-subtotal-value {
  color: #1c1917;
}

.herhealth-free-shipping {
  color: #059669;
  font-weight: 700;
}

/* Grand Total */
.herhealth-cart-totals {
  padding-top: 1rem;
  border-top: 1px solid #f5f5f4;
  margin-top: 1rem;
}

.herhealth-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.herhealth-total-label {
  font-weight: 700;
  font-size: 1rem;
  color: #1c1917;
}

.herhealth-total-value {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #881337;
}

.herhealth-tax-note {
  text-align: right;
  font-size: 0.75rem;
  color: #a8a29e;
  margin-top: 0.25rem;
}

/* Trust Modules */
.checkout-trust-modules {
  background: #fafaf9;
  border-radius: 2rem;
  border: 1px solid #f5f5f4;
  padding: 1.5rem;
}

.trust-module-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.trust-module-item:last-child {
  margin-bottom: 0;
}

.trust-module-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #be123c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.trust-module-text {
  flex: 1;
}

.trust-module-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1c1917;
  margin: 0 0 0.25rem 0;
}

.trust-module-desc {
  font-size: 0.75rem;
  color: #78716c;
  margin: 0;
  line-height: 1.4;
}

/* Hide old elements */
.herhealth-checkout-step .step-title,
.herhealth-checkout-step .step-number,
.herhealth-checkout-step .step-edit,
.herhealth-checkout-step .material-icons.done,
.herhealth-checkout-step .material-icons.edit {
  display: none !important;
}

/* Progress bar step highlighting */
.herhealth-checkout-step#checkout-personal-information-step.-current ~ .checkout-progress-bar .checkout-step-item[data-step="1"],
.herhealth-checkout-step#checkout-addresses-step.-current ~ .checkout-progress-bar .checkout-step-item[data-step="1"] {
  color: #881337;
}

/* Voucher styling */
.herhealth-order-summary .cart-voucher {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f5f5f4;
}

/* Hide reassurance in new design - using trust modules instead */
.checkout-reassuance {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .checkout-content-section {
    padding: 1rem;
  }

  .checkout-step-content {
    padding: 1.5rem;
  }

  .herhealth-delivery-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .checkout-progress-container {
    padding: 0.75rem 1rem;
  }

  .checkout-step-header {
    padding: 1rem 1.25rem;
  }

  .checkout-step-content {
    padding: 1rem 1.25rem;
  }

  .checkout-step-title {
    font-size: 1.25rem;
  }

  .herhealth-order-summary,
  .checkout-trust-modules {
    border-radius: 1.5rem;
    padding: 1.25rem;
  }
}

/* Payment Security Banner */
.herhealth-payment-security-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #fafaf9;
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  margin-bottom: 1.5rem;
}

.security-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #059669;
}

.security-banner-content span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #57534e;
}

.security-banner-cards {
  display: flex;
  gap: 0.5rem;
  opacity: 0.6;
  filter: grayscale(1);
}

.security-banner-cards img {
  height: 16px;
}

/* Payment Options Styling */
.herhealth-payment-options .payment-option {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e7e5e4;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.herhealth-payment-options .payment-option:hover {
  border-color: #d6d3d1;
}

.herhealth-payment-options .payment-option.selected,
.herhealth-payment-options input[type="radio"]:checked + .payment-option {
  border-color: #fecdd3;
  background: rgba(254, 205, 211, 0.1);
}

/* Place Order Button */
.herhealth-place-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #881337;
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 20px 25px -5px rgba(136, 19, 55, 0.2);
  width: 100%;
  max-width: 300px;
}

.herhealth-place-order-btn:hover:not(.disabled) {
  background: #9f1239;
  transform: translateY(-2px);
}

.herhealth-place-order-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.herhealth-payment-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f5f5f4;
}

.herhealth-payment-confirmation .alert {
  margin-top: 1rem;
  border-radius: 0.75rem;
}

/* Conditions to approve styling */
#conditions-to-approve ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

#conditions-to-approve li {
  margin-bottom: 0.75rem;
}

#conditions-to-approve .condition-label {
  font-size: 0.875rem;
  color: #57534e;
}

#conditions-to-approve .condition-label a {
  color: #be123c;
}

/* Alert styling */
.herhealth-alert {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.herhealth-alert-info {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.herhealth-free-order-notice {
  padding: 1rem;
  background: #ecfdf5;
  color: #059669;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 500;
}

/* Address Form Styling */
.herhealth-address-form {
  margin-top: 1rem;
}

.herhealth-address-note {
  font-size: 0.875rem;
  color: #57534e;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fafaf9;
  border-radius: 0.75rem;
}

.herhealth-address-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: #be123c;
}

.herhealth-section-title {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  color: #1c1917;
  margin: 0;
}

.herhealth-invoice-header {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f5f5f4;
}

.herhealth-address-fields {
  margin-bottom: 1.5rem;
}

.herhealth-address-selector {
  margin-bottom: 1rem;
}

.herhealth-address-selector .address-item {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e7e5e4;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.herhealth-address-selector .address-item:hover {
  border-color: #d6d3d1;
}

.herhealth-address-selector .address-item.selected {
  border-color: #fecdd3;
  background: rgba(254, 205, 211, 0.1);
}

.herhealth-add-address {
  margin-top: 1rem;
}

.herhealth-add-address a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #be123c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.herhealth-add-address a:hover {
  color: #881337;
  text-decoration: none;
}

.herhealth-different-billing {
  margin-top: 1rem;
}

.herhealth-different-billing a {
  font-size: 0.875rem;
  color: #57534e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.herhealth-different-billing a:hover {
  color: #be123c;
}

/* Fix for old checkout classes */
.checkout-step h1.step-title {
  display: none !important;
}

.checkout-step .step-number {
  display: none !important;
}

/* Override default form group styling in checkout */
.herhealth-checkout-step .form-group {
  margin-bottom: 1rem;
}

.herhealth-checkout-step .form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #78716c;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.herhealth-checkout-step .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #fafaf9;
  border: 2px solid transparent;
  font-size: 1rem;
  color: #1c1917;
  transition: all 0.2s ease;
}

.herhealth-checkout-step .form-control:focus {
  background: #ffffff;
  border-color: #fecdd3;
  outline: none;
  box-shadow: 0 0 0 4px #fff1f2;
}

/* Tabs styling for personal information */
.herhealth-checkout-step .nav-inline {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f5f5f4;
}

.herhealth-checkout-step .nav-inline .nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #78716c;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.herhealth-checkout-step .nav-inline .nav-link:hover {
  color: #1c1917;
}

.herhealth-checkout-step .nav-inline .nav-link.active {
  color: #be123c;
  border-bottom-color: #be123c;
}


/* ============================================
   IDENTITY PAGE - REDESIGN STYLES
   ============================================ */

.herhealth-identity-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  background: #fafaf9;
  min-height: 100vh;
}

@media (min-width: 640px) {
  .herhealth-identity-page {
    padding: 0 2rem;
  }
}

/* My Account page - same layout as Identity page */
.herhealth-my-account {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .herhealth-my-account {
    padding: 0 2rem;
  }
}

/* Reduce header margin to tighten gap with content */
.herhealth-identity-page .my-account-header,
.herhealth-my-account .my-account-header {
  margin-bottom: 0;
}

/* Page Hero Section */
.identity-page-hero {
  background: #fafaf9;
  border-bottom: 1px solid #f5f5f4;
  width: 100%;
}

.identity-page-hero .hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .identity-page-hero .hero-container {
    padding: 3rem 2rem;
  }
}

/* Hero Breadcrumbs */
.identity-page-hero .hero-breadcrumbs {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #78716c;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.identity-page-hero .hero-breadcrumbs a {
  color: #78716c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.identity-page-hero .hero-breadcrumbs a:hover {
  color: #be123c;
}

.identity-page-hero .hero-breadcrumbs .breadcrumb-chevron {
  width: 14px;
  height: 14px;
  margin: 0 0.5rem;
  color: #d6d3d1;
  flex-shrink: 0;
}

.identity-page-hero .hero-breadcrumbs .current {
  font-weight: 500;
  color: #881337;
}

/* Hero Content */
.identity-page-hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .identity-page-hero .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.identity-page-hero .hero-text {
  position: relative;
}

.identity-page-hero .hero-blob {
  position: absolute;
  left: -1.5rem;
  top: -1.5rem;
  width: 5rem;
  height: 5rem;
  background: #ffe4e6;
  border-radius: 9999px;
  filter: blur(2rem);
  opacity: 0.6;
  pointer-events: none;
}

.identity-page-hero .hero-text h1 {
  position: relative;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: #1c1917;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
}

@media (min-width: 640px) {
  .identity-page-hero .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .identity-page-hero .hero-text h1 {
    font-size: 3rem;
  }
}

.identity-page-hero .hero-text p {
  position: relative;
  font-size: 1.125rem;
  color: #78716c;
  max-width: 36rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

/* Main Content Wrapper */
.identity-content-wrapper {
  /* No max-width/margin needed - parent .herhealth-identity-page handles centering */
  padding: 0 0 4rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .identity-content-wrapper {
    padding: 0 0 5rem;
  }
}

/* Two Column Grid */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .identity-grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Sidebar */
.identity-sidebar {
  order: 2;
}

@media (min-width: 1024px) {
  .identity-sidebar {
    order: 1;
  }
}

.identity-sidebar .sidebar-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #f5f5f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: sticky;
  top: 6rem;
}

/* Sidebar Header */
.identity-sidebar .sidebar-header {
  padding: 1.5rem;
  background: #fff1f2;
  border-bottom: 1px solid #fecdd3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.identity-sidebar .user-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #fecdd3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
}

.identity-sidebar .user-avatar svg {
  width: 1.5rem;
  height: 1.5rem;
}

.identity-sidebar .user-info {
  display: flex;
  flex-direction: column;
}

.identity-sidebar .welcome-text {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e11d48;
}

.identity-sidebar .user-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1c1917;
  line-height: 1.2;
  margin-top: 0.125rem;
}

/* Sidebar Navigation */
.identity-sidebar .sidebar-nav {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.identity-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #78716c;
  text-decoration: none;
  transition: all 0.2s ease;
}

.identity-sidebar .nav-item svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.identity-sidebar .nav-item:hover {
  background: #fafaf9;
  color: #1c1917;
}

.identity-sidebar .nav-item.active {
  background: #1c1917;
  color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.identity-sidebar .nav-item.active span {
  color: #ffffff !important;
}

.identity-sidebar .nav-item.active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.identity-sidebar .nav-item.logout {
  color: #a8a29e;
}

.identity-sidebar .nav-item.logout:hover {
  background: #fff1f2;
  color: #e11d48;
}

.identity-sidebar .nav-divider {
  height: 1px;
  background: #f5f5f4;
  margin: 0.5rem 1rem;
}

/* Main Form Area */
.identity-main {
  order: 1;
  width: 100%;
}

@media (min-width: 1024px) {
  .identity-main {
    order: 2;
  }
}

.identity-main .form-card {
  background: #ffffff;
  border-radius: 2.5rem;
  padding: 2rem;
  border: 1px solid #e7e5e4;
  box-shadow: 0 25px 50px -12px rgba(28, 25, 23, 0.08);
  position: relative;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 640px) {
  .identity-main .form-card {
    padding: 3rem;
  }
}

.identity-main .form-card-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: #fff1f2;
  border-radius: 9999px;
  filter: blur(3rem);
  transform: translate(50%, -50%);
  opacity: 0.5;
  pointer-events: none;
}

.identity-main .form-card-content {
  position: relative;
  z-index: 1;
}

/* Form Header */
.identity-main .form-header {
  margin-bottom: 2.5rem;
}

.identity-main .form-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  color: #1c1917;
  margin: 0 0 0.5rem 0;
}

.identity-main .form-header p {
  font-size: 1rem;
  color: #78716c;
  font-weight: 300;
  margin: 0;
}

/* Form Wrapper - Override PrestaShop form styles */
.identity-form-wrapper {
  /* Reset form styles */
}

.identity-form-wrapper .form-group {
  margin-bottom: 1.5rem;
}

.identity-form-wrapper label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8a29e;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.identity-form-wrapper .form-control,
.identity-form-wrapper input[type="text"],
.identity-form-wrapper input[type="email"],
.identity-form-wrapper input[type="password"],
.identity-form-wrapper input[type="date"],
.identity-form-wrapper select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fafaf9;
  border: 2px solid transparent;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1c1917;
  transition: all 0.2s ease;
}

.identity-form-wrapper .form-control:focus,
.identity-form-wrapper input:focus,
.identity-form-wrapper select:focus {
  background: #ffffff;
  border-color: #fecdd3;
  outline: none;
  box-shadow: 0 0 0 4px #fff1f2;
}

/* Radio buttons for social title */
.identity-form-wrapper .radio-inline,
.identity-form-wrapper .custom-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.identity-form-wrapper .custom-radio input[type="radio"] {
  display: none;
}

.identity-form-wrapper .custom-radio span {
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid #e7e5e4;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  color: #78716c;
  cursor: pointer;
  transition: all 0.2s ease;
}

.identity-form-wrapper .custom-radio input[type="radio"]:checked + span {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.2);
}

.identity-form-wrapper .custom-radio span:hover {
  border-color: #fecdd3;
  color: #e11d48;
}

/* Checkboxes - PrestaShop structure: span.custom-checkbox > label > input + span > i.checkbox-checked */

/* Fix checkbox form-group alignment - remove column offset */
.identity-form-wrapper .form-group:has(.custom-checkbox) {
  display: block !important;
}

.identity-form-wrapper .form-group:has(.custom-checkbox) > .col-md-2 {
  display: none !important;
}

.identity-form-wrapper .form-group:has(.custom-checkbox) > .col-md-10 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
}

/* Fallback for browsers without :has() support */
.identity-form-wrapper .form-group .col-md-10:has(.custom-checkbox) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.identity-form-wrapper .custom-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.identity-form-wrapper .custom-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: #57534e;
  margin: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1.5;
}

/* Show the actual checkbox input with custom styling */
.identity-form-wrapper .custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  border-radius: 0.375rem;
  border: 2px solid #d6d3d1;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 0.125rem;
  position: relative;
}

.identity-form-wrapper .custom-checkbox input[type="checkbox"]:checked {
  background: #1c1917;
  border-color: #1c1917;
}

.identity-form-wrapper .custom-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.75rem;
  height: 0.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.identity-form-wrapper .custom-checkbox input[type="checkbox"]:hover {
  border-color: #a8a29e;
}

.identity-form-wrapper .custom-checkbox input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
  border-color: #e11d48;
}

/* Hide the Material Icons checkmark span */
.identity-form-wrapper .custom-checkbox label > span {
  display: none !important;
}

/* Hide the checkbox-checked icon */
.identity-form-wrapper .custom-checkbox .checkbox-checked,
.identity-form-wrapper .custom-checkbox i.material-icons {
  display: none !important;
}

/* Form footer with save button */
.identity-form-wrapper .form-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f5f5f4;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.identity-form-wrapper .btn-primary,
.identity-form-wrapper .form-control-submit,
.identity-form-wrapper button[type="submit"] {
  padding: 0.875rem 2rem;
  background: #e11d48;
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.identity-form-wrapper .btn-primary:hover,
.identity-form-wrapper .form-control-submit:hover,
.identity-form-wrapper button[type="submit"]:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.identity-form-wrapper .btn-primary:active,
.identity-form-wrapper .form-control-submit:active,
.identity-form-wrapper button[type="submit"]:active {
  transform: scale(0.98);
}

/* Form help text */
.identity-form-wrapper .form-control-comment,
.identity-form-wrapper .help-block {
  font-size: 0.625rem;
  color: #a8a29e;
  margin-top: 0.375rem;
  padding-left: 0.25rem;
}

/* Required field indicator */
.identity-form-wrapper .form-group.required label::after {
  content: " *";
  color: #e11d48;
}

/* Error states */
.identity-form-wrapper .has-error .form-control,
.identity-form-wrapper .form-control.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.identity-form-wrapper .has-error .help-block,
.identity-form-wrapper .invalid-feedback {
  color: #ef4444;
  font-size: 0.75rem;
}

/* Password field group */
.identity-form-wrapper .form-group.password-group {
  background: #fafaf9;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #f5f5f4;
}

/* Two column layout for name fields on larger screens */
@media (min-width: 768px) {
  .identity-form-wrapper .row {
    display: flex;
    gap: 1.5rem;
  }
  
  .identity-form-wrapper .row .col-md-6 {
    flex: 1;
  }
}

/* Hide page header container for identity page */
body[id="identity"] .page-title-wrapper {
  display: none !important;
}

/* Remove extra wrapper padding */
body[id="identity"] #wrapper {
  padding-top: 0 !important;
}

body[id="identity"] #wrapper > .container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  background: transparent !important;
}

@media (min-width: 640px) {
  body[id="identity"] #wrapper > .container {
    padding: 0 2rem !important;
  }
}

/* Hide left and right columns on identity page */
body[id="identity"] #left-column,
body[id="identity"] #right-column {
  display: none !important;
}

/* Full width and centered content wrapper */
body[id="identity"] #content-wrapper {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  flex: 0 0 100% !important;
}

/* Remove padding-top from page-content */
body[id="identity"] #content.page-content,
body[id="identity"] section#content.page-content {
  padding-top: 0 !important;
}

body[id="identity"] .row-wrapper {
  margin: 0 !important;
  justify-content: center !important;
}

/* ============================================
   ALL CUSTOMER ACCOUNT PAGES - FULL WIDTH LAYOUT
   Match identity page container and layout styling
   ============================================ */

/* Container styling - same as identity page */
body[id="history"] #wrapper > .container,
body[id="addresses"] #wrapper > .container,
body[id="address"] #wrapper > .container,
body[id="order-slip"] #wrapper > .container,
body[id="order-detail"] #wrapper > .container,
body[id="module-psgdpr-gdpr"] #wrapper > .container,
body[id="module-medicalintake-treatmentlist"] #wrapper > .container,
body[id="module-medicalintake-questionnaire"] #wrapper > .container,
body[id="module-medicalintake-submit"] #wrapper > .container,
body[id="module-medicalintake-history"] #wrapper > .container,
body[id="module-poswishlist-mywishlist"] #wrapper > .container,
body[id="module-ps_emailalerts-account"] #wrapper > .container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  background: transparent !important;
}

@media (min-width: 640px) {
  body[id="history"] #wrapper > .container,
  body[id="addresses"] #wrapper > .container,
  body[id="address"] #wrapper > .container,
  body[id="order-slip"] #wrapper > .container,
  body[id="order-detail"] #wrapper > .container,
  body[id="module-psgdpr-gdpr"] #wrapper > .container,
  body[id="module-medicalintake-treatmentlist"] #wrapper > .container,
  body[id="module-medicalintake-questionnaire"] #wrapper > .container,
  body[id="module-medicalintake-submit"] #wrapper > .container,
  body[id="module-medicalintake-history"] #wrapper > .container,
  body[id="module-poswishlist-mywishlist"] #wrapper > .container,
  body[id="module-ps_emailalerts-account"] #wrapper > .container {
    padding: 0 2rem !important;
  }
}

/* Hide left and right columns */
body[id="history"] #left-column,
body[id="history"] #right-column,
body[id="addresses"] #left-column,
body[id="addresses"] #right-column,
body[id="address"] #left-column,
body[id="address"] #right-column,
body[id="order-slip"] #left-column,
body[id="order-slip"] #right-column,
body[id="order-detail"] #left-column,
body[id="order-detail"] #right-column,
body[id="module-psgdpr-gdpr"] #left-column,
body[id="module-psgdpr-gdpr"] #right-column,
body[id="module-medicalintake-treatmentlist"] #left-column,
body[id="module-medicalintake-treatmentlist"] #right-column,
body[id="module-medicalintake-questionnaire"] #left-column,
body[id="module-medicalintake-questionnaire"] #right-column,
body[id="module-medicalintake-submit"] #left-column,
body[id="module-medicalintake-submit"] #right-column,
body[id="module-medicalintake-history"] #left-column,
body[id="module-medicalintake-history"] #right-column,
body[id="module-poswishlist-mywishlist"] #left-column,
body[id="module-poswishlist-mywishlist"] #right-column,
body[id="module-ps_emailalerts-account"] #left-column,
body[id="module-ps_emailalerts-account"] #right-column {
  display: none !important;
}

/* Full width content wrapper */
body[id="history"] #content-wrapper,
body[id="addresses"] #content-wrapper,
body[id="address"] #content-wrapper,
body[id="order-slip"] #content-wrapper,
body[id="order-detail"] #content-wrapper,
body[id="module-psgdpr-gdpr"] #content-wrapper,
body[id="module-medicalintake-treatmentlist"] #content-wrapper,
body[id="module-medicalintake-questionnaire"] #content-wrapper,
body[id="module-medicalintake-submit"] #content-wrapper,
body[id="module-medicalintake-history"] #content-wrapper,
body[id="module-poswishlist-mywishlist"] #content-wrapper,
body[id="module-ps_emailalerts-account"] #content-wrapper {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  flex: 0 0 100% !important;
}

/* Remove padding-top from page-content */
body[id="history"] #content.page-content,
body[id="history"] section#content.page-content,
body[id="addresses"] #content.page-content,
body[id="addresses"] section#content.page-content,
body[id="address"] #content.page-content,
body[id="address"] section#content.page-content,
body[id="order-slip"] #content.page-content,
body[id="order-slip"] section#content.page-content,
body[id="order-detail"] #content.page-content,
body[id="order-detail"] section#content.page-content,
body[id="module-psgdpr-gdpr"] #content.page-content,
body[id="module-psgdpr-gdpr"] section#content.page-content,
body[id="module-medicalintake-treatmentlist"] #content.page-content,
body[id="module-medicalintake-treatmentlist"] section#content.page-content,
body[id="module-medicalintake-questionnaire"] #content.page-content,
body[id="module-medicalintake-questionnaire"] section#content.page-content,
body[id="module-medicalintake-submit"] #content.page-content,
body[id="module-medicalintake-submit"] section#content.page-content,
body[id="module-medicalintake-history"] #content.page-content,
body[id="module-medicalintake-history"] section#content.page-content,
body[id="module-poswishlist-mywishlist"] #content.page-content,
body[id="module-poswishlist-mywishlist"] section#content.page-content,
body[id="module-ps_emailalerts-account"] #content.page-content,
body[id="module-ps_emailalerts-account"] section#content.page-content {
  padding-top: 0 !important;
}

/* Row wrapper alignment */
body[id="history"] .row-wrapper,
body[id="addresses"] .row-wrapper,
body[id="address"] .row-wrapper,
body[id="order-slip"] .row-wrapper,
body[id="order-detail"] .row-wrapper,
body[id="module-psgdpr-gdpr"] .row-wrapper,
body[id="module-medicalintake-treatmentlist"] .row-wrapper,
body[id="module-medicalintake-questionnaire"] .row-wrapper,
body[id="module-medicalintake-submit"] .row-wrapper,
body[id="module-medicalintake-history"] .row-wrapper,
body[id="module-poswishlist-mywishlist"] .row-wrapper,
body[id="module-ps_emailalerts-account"] .row-wrapper {
  margin: 0 !important;
  justify-content: center !important;
}

/* ============================================
   CHECKOUT PAGE - FULL WIDTH LAYOUT
   ============================================ */

/* Hide left and right sidebars on checkout */
body[id="order"] #left-column,
body[id="order"] #right-column:not(.cart-grid-right) {
  display: none !important;
}

/* Full width content wrapper */
body[id="order"] #content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}

/* Remove page title wrapper */
body[id="order"] .page-title-wrapper {
  display: none !important;
}

/* Remove wrapper padding */
body[id="order"] #wrapper {
  padding-top: 0 !important;
}

body[id="order"] #wrapper > .container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Full width row wrapper */
body[id="order"] .row-wrapper {
  margin: 0 !important;
  display: block !important;
}

/* Checkout page background */
body[id="order"] {
  background-color: #fafaf9;
}

/* Main checkout container */
body[id="order"] .herhealth-checkout-page {
  background-color: #fafaf9;
  min-height: calc(100vh - 200px);
}

/* Progress bar sticky at top */
body[id="order"] .checkout-progress-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e7e5e4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Checkout content section */
body[id="order"] .checkout-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Cart grid layout inside checkout */
body[id="order"] .checkout-main-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2rem;
}

body[id="order"] .cart-grid-body {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

body[id="order"] .cart-grid-right {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  body[id="order"] .cart-grid-body {
    flex: 0 0 calc(66.666% - 1rem);
    max-width: calc(66.666% - 1rem);
  }

  body[id="order"] .cart-grid-right {
    width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
  }
}

/* Checkout Header Cleanup */
body[id="order"] #header {
  position: relative;
  z-index: 999;
}

/* Hide cart dropdown popup on checkout */
body[id="order"] .blockcart .dropdown-menu,
body[id="order"] .blockcart .cart-preview,
body[id="order"] .shopping-cart-dropdown,
body[id="order"] .cart-dropdown {
  display: none !important;
}

/* Ensure cart icon doesn't show hover state */
body[id="order"] .blockcart:hover .dropdown-menu {
  display: none !important;
}

/* Clean header styling for checkout */
body[id="order"] #header .header-nav {
  border-bottom: 1px solid #f5f5f4;
}

/* Checkout wrapper specific styles */
.herhealth-checkout-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  flex: 0 0 100% !important;
}

/* Fix any remaining column issues */
body[id="order"] .row-wrapper > .row {
  margin: 0;
  width: 100%;
}

body[id="order"] .col-sm-4.col-md-3,
body[id="order"] .col-sm-4.col-md-6 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* ==============================================
   Checkout Progress Bar - Active Step Styling
   ============================================== */

/* Completed divider styling */
.checkout-step-divider.completed {
  background: #881337;
}

/* ==============================================
   Terms and Conditions Checkbox - Clean Design
   ============================================== */
.herhealth-terms-form {
  margin: 1.5rem 0;
}

.herhealth-terms-form ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.herhealth-terms-item {
  margin-bottom: 0.75rem;
}

.herhealth-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #44403c;
  line-height: 1.5;
}

.herhealth-terms-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: #881337;
  cursor: pointer;
}

.herhealth-terms-text {
  flex: 1;
}

.herhealth-terms-text a {
  color: #881337;
  text-decoration: underline;
}

.herhealth-terms-text a:hover {
  color: #be123c;
}

/* ==============================================
   ORDER CONFIRMATION PAGE - HerHealth Redesign
   ============================================== */

.herhealth-order-confirmation {
  background-color: #fafaf9;
  min-height: 100vh;
  padding-bottom: 4rem;
}

/* Success Hero Section */
.order-success-hero {
  background: #ffffff;
  border-bottom: 1px solid #e7e5e4;
  position: relative;
  overflow: hidden;
}

.success-gradient-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fb7185, #881337, #fb7185);
}

.success-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.success-icon-wrapper {
  width: 6rem;
  height: 6rem;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #10b981;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  color: #1c1917;
  margin-bottom: 1rem;
  font-weight: 400;
}

@media (min-width: 640px) {
  .success-title {
    font-size: 3rem;
  }
}

.success-message {
  font-size: 1.125rem;
  color: #78716c;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.customer-email {
  color: #1c1917;
  font-weight: 500;
}

/* Full-width receipt button (View Order History) */
.receipt-btn-full {
  width: 100%;
  margin-top: 0.75rem;
}

/* Main Content Container */
.order-confirmation-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .order-confirmation-container {
    padding: 2rem;
  }
}

.order-confirmation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .order-confirmation-grid {
    grid-template-columns: 1fr 380px;
  }
}

/* Main Content Column */
.order-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card Base Styles */
.order-status-card,
.order-items-card,
.payment-info-card,
.guest-register-card {
  background: #ffffff;
  border-radius: 2rem;
  border: 1px solid #e7e5e4;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-section-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: #1c1917;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
}

/* Order Status Progress Bar */
.order-progress-wrapper {
  position: relative;
  padding-top: 0.5rem;
}

.progress-line-bg {
  position: absolute;
  top: calc(50% + 0.25rem);
  left: 0;
  width: 100%;
  height: 4px;
  background: #e7e5e4;
  border-radius: 2px;
  transform: translateY(-50%);
}

.progress-line-active {
  position: absolute;
  top: calc(50% + 0.25rem);
  left: 0;
  width: 15%;
  height: 4px;
  background: #881337;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: width 1s ease-out;
}

.progress-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d6d3d1;
  z-index: 1;
  transition: all 0.3s ease;
}

.progress-step.active .step-dot {
  background: #881337;
  border-color: #881337;
  box-shadow: 0 0 0 4px rgba(136, 19, 55, 0.1);
}

.step-info {
  text-align: center;
}

.step-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #a8a29e;
}

.progress-step.active .step-label {
  color: #1c1917;
}

.step-date {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a8a29e;
  margin-top: 0.25rem;
}

/* Order Items Card */
.order-items-card {
  padding: 0;
  overflow: hidden;
}

.order-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(250, 250, 249, 0.5);
  border-bottom: 1px solid #e7e5e4;
}

.order-items-header .card-section-title {
  margin: 0;
}

.items-count {
  font-size: 0.875rem;
  color: #78716c;
  font-weight: 500;
}

.order-items-list {
  padding: 0;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f5f5f4;
}

.order-item:last-child {
  border-bottom: none;
}

.item-image {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #f5f5f4;
  flex-shrink: 0;
  border: 1px solid #e7e5e4;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-size: 1rem;
  font-weight: 500;
  color: #1c1917;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #78716c;
}

.item-category {
  background: #f5f5f4;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #57534e;
}

.item-price {
  font-weight: 500;
  color: #1c1917;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Next Steps Grid */
.next-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .next-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.next-step-card {
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid;
}

.next-step-email {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.next-step-track {
  background: #fff1f2;
  border-color: #fecdd3;
}

.next-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.next-step-email .next-step-icon {
  color: #10b981;
}

.next-step-track .next-step-icon {
  color: #881337;
}

.next-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1917;
  margin: 0 0 0.5rem 0;
}

.next-step-desc {
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.6;
  margin: 0;
}

/* Payment Info Card */
.payment-info-card {
  background: #ffffff;
}

.payment-info-content {
  font-size: 0.875rem;
  color: #44403c;
  line-height: 1.7;
}

.payment-info-content p {
  margin-bottom: 0.75rem;
}

.payment-info-content strong {
  color: #1c1917;
}

/* Receipt Sidebar */
.order-sidebar {
  position: relative;
}

.receipt-card {
  background: #ffffff;
  border-radius: 2.5rem;
  border: 1px solid #e7e5e4;
  padding: 2rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 6rem;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.receipt-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: #1c1917;
  margin: 0;
  font-weight: 400;
}

.order-reference {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a8a29e;
}

/* Receipt Totals */
.receipt-totals {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e7e5e4;
  margin-bottom: 1.5rem;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.receipt-label {
  color: #78716c;
}

.receipt-value {
  color: #1c1917;
}

.receipt-line.receipt-total {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid #e7e5e4;
}

.receipt-line.receipt-total .receipt-label {
  font-weight: 700;
  font-size: 1rem;
  color: #1c1917;
}

.receipt-line.receipt-total .receipt-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: #881337;
}

.receipt-line.receipt-tax {
  font-size: 0.75rem;
  color: #a8a29e;
}

/* Receipt Sections */
.receipt-section {
  margin-bottom: 1.5rem;
}

.receipt-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a8a29e;
  margin: 0 0 0.5rem 0;
}

.receipt-address {
  font-style: normal;
  font-size: 0.875rem;
  color: #44403c;
  line-height: 1.6;
}

.receipt-payment,
.receipt-shipping {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #44403c;
  font-weight: 500;
}

.receipt-payment svg,
.receipt-shipping svg {
  color: #a8a29e;
}

/* Receipt Action Buttons */
.receipt-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e7e5e4;
}

.receipt-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.receipt-btn:hover {
  background: #fafaf9;
  color: #1c1917;
  border-color: #d6d3d1;
}

/* Continue Shopping Button */
.continue-shopping-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #1c1917;
  color: #ffffff;
  text-align: center;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.continue-shopping-btn:hover {
  background: #881337;
  color: #ffffff;
}

/* Guest Registration Card */
.guest-register-card {
  background: #ffffff;
}

.guest-register-desc {
  font-size: 0.875rem;
  color: #78716c;
  margin-bottom: 1.5rem;
}

/* Override default PrestaShop card styles on this page */
body[id="order-confirmation"] #content,
body[id="order-confirmation"] .page-content,
body[id="order-confirmation"] .card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

body[id="order-confirmation"] #wrapper {
  background: #fafaf9;
}

body[id="order-confirmation"] #left-column,
body[id="order-confirmation"] .breadcrumb {
  display: none !important;
}

body[id="order-confirmation"] #wrapper > .container {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

@media (min-width: 640px) {
  body[id="order-confirmation"] #wrapper > .container {
    padding: 0 2rem !important;
  }
}

body[id="order-confirmation"] .row-wrapper {
  margin: 0 !important;
  display: block !important;
}

body[id="order-confirmation"] #content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}

body[id="order-confirmation"] #content-wrapper.col-sm-4,
body[id="order-confirmation"] #content-wrapper.col-md-6,
body[id="order-confirmation"] #content-wrapper.left-column,
body[id="order-confirmation"] #content-wrapper.right-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body[id="order-confirmation"] .row {
  margin-left: 0;
  margin-right: 0;
}

body[id="order-confirmation"] .card,
body[id="order-confirmation"] .card-block {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* Current Status Badge */
.current-status-badge {
  margin-bottom: 1.5rem;
}

.current-status-badge .status-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

/* Order History Timeline */
.order-history-timeline {
  position: relative;
  padding-left: 1.5rem;
}

.order-history-timeline::before {
  content: '';
  position: absolute;
  left: 0.375rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: #e7e5e4;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #d6d3d1;
  border: 2px solid #ffffff;
  z-index: 1;
}

.timeline-item.active .timeline-dot {
  box-shadow: 0 0 0 3px rgba(136, 19, 55, 0.15);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.timeline-status {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1c1917;
}

.timeline-item:not(.active) .timeline-status {
  color: #78716c;
}

.timeline-date {
  font-size: 0.75rem;
  color: #a8a29e;
}

/* ==============================================
   EMAIL SUBSCRIPTION PAGE
   ============================================== */
.herhealth-subscription-page {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
}

.herhealth-subscription-page h1 {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: #1c1917;
  margin-bottom: 1.5rem;
}

.herhealth-subscription-page .alert {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.herhealth-subscription-page .alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.herhealth-subscription-page .alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.herhealth-subscription-page .alert-info {
  background: #f0f9ff;
  color: #075985;
  border: 1px solid #bae6fd;
}

.herhealth-subscription-page .subscription-conditions {
  font-size: 0.875rem;
  color: #78716c;
  margin-bottom: 1.5rem;
}

.herhealth-subscription-page .back-link {
  margin-top: 2rem;
}

.herhealth-subscription-page .btn-primary {
  background: #881337;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s ease;
}

.herhealth-subscription-page .btn-primary:hover {
  background: #be123c;
  color: #ffffff;
}

/* Print Styles */
@media print {
  .herhealth-header,
  .herhealth-footer,
  .herhealth-top-banner,
  .next-steps-grid,
  .receipt-actions,
  .continue-shopping-btn {
    display: none !important;
  }

  .order-confirmation-grid {
    grid-template-columns: 1fr;
  }

  .receipt-card {
    position: static;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ============================================
   WISHLIST PAGE - LIST VIEW STYLES
   ============================================ */

/* Fix grid overflow - ensure main content doesn't push sidebar */
.identity-main {
  min-width: 0 !important;
}

.identity-main .form-card-content {
  min-width: 0 !important;
}

/* Override form-card overflow for wishlist page */
body[id*="wishlist"] .form-card,
body[id*="wishlist"] .form-card-content {
  overflow: visible !important;
}

/* CRITICAL: Force wishlist products to display with MAXIMUM specificity */
html body[id="module-poswishlist-mywishlist"] #mywishlist,
html body[id="module-poswishlist-mywishlist"] #mywishlist.wishlist-list-view,
html body[id="module-poswishlist-mywishlist"] #mywishlist .wlp_bought,
html body[id="module-poswishlist-mywishlist"] #mywishlist .wishlist-products-list,
html body[id="module-poswishlist-mywishlist"] #mywishlist .wlp_product,
html body[id="module-poswishlist-mywishlist"] #mywishlist .wishlist-product-item,
html body[id="module-poswishlist-mywishlist"] #mywishlist article.product-miniature-list,
html body[id="module-poswishlist-mywishlist"] #mywishlist .product-miniature,
html body[id="module-poswishlist-mywishlist"] #mywishlist .img-block,
html body[id="module-poswishlist-mywishlist"] #mywishlist .product-content,
html body[id="module-poswishlist-mywishlist"] #mywishlist .col-buy,
html body[id="module-poswishlist-mywishlist"] #mywishlist .product-cart,
html body[id="module-poswishlist-mywishlist"] #mywishlist .availability,
html body[id="module-poswishlist-mywishlist"] #mywishlist .wishlist-remove {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
  transform: none !important;
  clip: auto !important;
  clip-path: none !important;
  pointer-events: auto !important;
}

html body[id="module-poswishlist-mywishlist"] #mywishlist article.product-miniature-list,
html body[id="module-poswishlist-mywishlist"] #mywishlist article.product-miniature {
  display: flex !important;
  flex-direction: row !important;
  min-height: 150px !important;
  background: #ffffff !important;
  border: 2px solid #881337 !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  border-radius: 12px !important;
}

/* Force remove button to be visible */
html body[id="module-poswishlist-mywishlist"] #mywishlist .wishlist-remove,
html body[id="module-poswishlist-mywishlist"] #mywishlist .btn-remove-wishlist {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  background: #ffffff !important;
  color: #78716c !important;
  border: 1px solid #d6d3d1 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Wishlist container */
#mywishlist.wishlist-list-view {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure wrapper containers are visible */
#mywishlist .wlp_bought {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 100px !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
}

#mywishlist .wlp_product {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.wishlist-products-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

.wishlist-product-item {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

/* Product miniature list inside wishlist - fits within main content */
#mywishlist .product-miniature-list.product-miniature {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 16px !important;
  padding: 16px !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(136, 19, 55, 0.08) !important;
  border: 1px solid rgba(136, 19, 55, 0.08) !important;
  transition: all 0.3s ease !important;
  overflow: visible !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 120px !important;
}

#mywishlist .product-miniature-list.product-miniature:hover {
  box-shadow: 0 8px 25px rgba(136, 19, 55, 0.15) !important;
  border-color: rgba(136, 19, 55, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Wishlist item removal animation - shrink to vertical line then disappear */
@keyframes wishlistShrinkToLine {
  0% {
    transform: scaleX(1) scaleY(1);
    opacity: 1;
  }
  40% {
    transform: scaleX(0.5) scaleY(0.7);
    opacity: 0.8;
  }
  70% {
    transform: scaleX(0.1) scaleY(0.5);
    opacity: 0.5;
  }
  90% {
    transform: scaleX(0.01) scaleY(0.3);
    opacity: 0.3;
  }
  100% {
    transform: scaleX(0) scaleY(0);
    opacity: 0;
  }
}

@keyframes wishlistCollapseHeight {
  0% {
    max-height: 200px;
    margin-bottom: 16px;
    padding: 16px;
  }
  100% {
    max-height: 0;
    margin-bottom: 0;
    padding: 0;
    border-width: 0;
  }
}

#mywishlist .wlp_product.wishlist-removing {
  pointer-events: none !important;
  overflow: hidden !important;
  animation: wishlistCollapseHeight 0.6s ease-out 1s forwards !important;
}

#mywishlist .wlp_product.wishlist-removing article {
  animation: wishlistShrinkToLine 1s ease-in-out forwards !important;
  transform-origin: center center !important;
}

/* Image block - left side - smaller size to fit in container */
#mywishlist .product-miniature-list .img-block {
  flex: 0 0 120px !important;
  width: 120px !important;
  max-width: 120px !important;
  height: 120px !important;
  margin-right: 16px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #fdf2f4 0%, #fff 100%) !important;
  position: relative !important;
}

#mywishlist .product-miniature-list .img-block .thumbnail {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

#mywishlist .product-miniature-list .img-block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

#mywishlist .product-miniature-list:hover .img-block img {
  transform: scale(1.05) !important;
}

/* Product content - right side */
#mywishlist .product-miniature-list .product-content {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Product title */
#mywishlist .product-miniature-list .product-content h3 {
  margin: 0 0 6px 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#mywishlist .product-miniature-list .product-content h3 a.product_name {
  color: var(--stone-800, #1c1917) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
}

#mywishlist .product-miniature-list .product-content h3 a.product_name:hover {
  color: var(--rose-700, #be123c) !important;
}

/* Product description */
#mywishlist .product-miniature-list .product-desc {
  display: block !important;
  visibility: visible !important;
  color: var(--stone-600, #57534e) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin: 0 0 10px 0 !important;
  max-height: 40px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  word-break: break-word !important;
}

/* Buy section - price, availability, cart, delete */
#mywishlist .product-miniature-list .col-buy {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(136, 19, 55, 0.1) !important;
}

/* Price */
#mywishlist .product-miniature-list .product-price-and-shipping {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mywishlist .product-miniature-list .product-price-and-shipping .price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--rose-800, #881337) !important;
}

#mywishlist .product-miniature-list .product-price-and-shipping .regular-price {
  font-size: 14px !important;
  color: #78716c !important;
  text-decoration: line-through !important;
  margin-right: 8px !important;
}

/* Availability */
#mywishlist .product-miniature-list .availability {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mywishlist .product-miniature-list .availability-list {
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

#mywishlist .product-miniature-list .availability-list.in-stock {
  background: #dcfce7 !important;
  color: #166534 !important;
}

#mywishlist .product-miniature-list .availability-list.out-of-stock {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

/* Add to cart button */
#mywishlist .product-miniature-list .product-cart {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mywishlist .product-miniature-list .product-cart form {
  margin: 0 !important;
}

#mywishlist .product-miniature-list .btn.add-to-cart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, var(--rose-700, #be123c) 0%, var(--rose-800, #881337) 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

#mywishlist .product-miniature-list .btn.add-to-cart:hover {
  background: linear-gradient(135deg, var(--rose-600, #e11d48) 0%, var(--rose-700, #be123c) 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(136, 19, 55, 0.3) !important;
}

#mywishlist .product-miniature-list .btn.add-to-cart i.material-icons {
  font-size: 16px !important;
}

#mywishlist .product-miniature-list .btn.add-to-cart.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  background: #d6d3d1 !important;
}

/* Remove from wishlist button */
#mywishlist .product-miniature-list .wishlist-remove {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

#mywishlist .product-miniature-list .btn-remove-wishlist {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #78716c !important;
  background: #ffffff !important;
  border: 1px solid #d6d3d1 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

#mywishlist .product-miniature-list .btn-remove-wishlist:hover {
  background: #f5f5f4 !important;
  border-color: #a8a29e !important;
  color: #57534e !important;
}

#mywishlist .product-miniature-list .btn-remove-wishlist i.material-icons {
  font-size: 18px !important;
  color: #78716c !important;
}

/* Share wishlist section */
#mywishlist .wishlistLinkBottom {
  margin-top: 30px !important;
  padding: 20px !important;
  background: #fdf2f4 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(136, 19, 55, 0.1) !important;
}

#mywishlist .wishlistLinkBottom .title_account_second {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1c1917 !important;
  margin-bottom: 12px !important;
}

#mywishlist .wishlistLinkBottom .input-group {
  display: flex !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

#mywishlist .wishlistLinkBottom .form-control {
  flex: 1 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  border: 1px solid #d6d3d1 !important;
  border-right: none !important;
  border-radius: 8px 0 0 8px !important;
  background: white !important;
}

#mywishlist .wishlistLinkBottom .btn-secondary {
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: #881337 !important;
  color: white !important;
  border: none !important;
  border-radius: 0 8px 8px 0 !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

#mywishlist .wishlistLinkBottom .btn-secondary:hover {
  background: #be123c !important;
}

/* Empty wishlist message */
#mywishlist .warning {
  text-align: center !important;
  padding: 40px 20px !important;
  color: #78716c !important;
  font-size: 15px !important;
  background: #fafaf9 !important;
  border-radius: 12px !important;
  border: 1px dashed #d6d3d1 !important;
}

/* Responsive adjustments for wishlist */
@media (max-width: 1200px) {
  #mywishlist .product-miniature-list .col-buy {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  #mywishlist .product-miniature-list .wishlist-remove {
    margin-left: 0 !important;
    flex-basis: 100% !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 768px) {
  #mywishlist .product-miniature-list.product-miniature {
    flex-direction: column !important;
    padding: 14px !important;
  }

  #mywishlist .product-miniature-list .img-block {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    margin-right: 0 !important;
    margin-bottom: 14px !important;
  }

  #mywishlist .product-miniature-list .product-content {
    width: 100% !important;
  }

  #mywishlist .product-miniature-list .col-buy {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #mywishlist .product-miniature-list .wishlist-remove {
    margin-left: 0 !important;
    margin-top: 8px !important;
  }

  #mywishlist .product-miniature-list .btn.add-to-cart {
    width: 100% !important;
    justify-content: center !important;
  }

  #mywishlist .product-miniature-list .btn-remove-wishlist {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ============================================
   ORDER HISTORY PAGE - REDESIGN 2026
   Modern card-based order display
   ============================================ */

/* Main Order History Card Container */
.order-history-card {
  background: white !important;
  border-radius: 2.5rem !important;
  padding: 2rem 3rem !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  box-shadow: 0 25px 50px -12px rgba(120, 113, 108, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .order-history-card {
    padding: 1.5rem !important;
    border-radius: 1.5rem !important;
  }
}

/* Header Section */
.order-history-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  margin-bottom: 2.5rem !important;
}

@media (min-width: 640px) {
  .order-history-header {
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
  }
}

.order-history-title h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.875rem !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.5rem !important;
}

.order-history-title p {
  color: var(--stone-500, #78716C) !important;
  font-weight: 300 !important;
  margin: 0 !important;
}

/* Search Input */
.order-search {
  position: relative !important;
}

.order-search .search-icon {
  position: absolute !important;
  left: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--stone-400, #A8A29E) !important;
}

.order-search .search-input {
  padding: 0.75rem 1rem 0.75rem 2.5rem !important;
  background: var(--stone-50, #FAFAF9) !important;
  border: none !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  width: 100% !important;
  min-width: 16rem !important;
  transition: all 0.2s ease !important;
}

.order-search .search-input:focus {
  background: white !important;
  box-shadow: 0 0 0 2px var(--rose-100, #FFE4E6) !important;
  outline: none !important;
}

/* Order Cards Container */
.order-cards-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

/* Individual Order Card */
.order-card {
  position: relative !important;
  background: white !important;
  border: 1px solid var(--stone-100, #F5F5F4) !important;
  border-radius: 1.5rem !important;
  padding: 1.5rem !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
}

.order-card:hover {
  border-color: var(--rose-200, #FECDD3) !important;
  box-shadow: 0 20px 25px -5px rgba(136, 19, 55, 0.05) !important;
}

/* Order Card Top Bar */
.order-card-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--stone-50, #FAFAF9) !important;
}

@media (min-width: 640px) {
  .order-card-top {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

.order-card-status-date {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

/* Status Badge */
.order-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: 1px solid !important;
  background-color: var(--status-color, #E7E5E4) !important;
  color: white !important;
}

.order-status-badge svg {
  flex-shrink: 0 !important;
}

.order-status-badge .spin-slow {
  animation: spin 3s linear infinite !important;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.order-date {
  color: var(--stone-400, #A8A29E) !important;
  font-size: 0.875rem !important;
}

.order-id {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
  font-size: 0.75rem !important;
  color: var(--stone-400, #A8A29E) !important;
}

/* Order Card Middle */
.order-card-middle {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  align-items: flex-start !important;
}

@media (min-width: 640px) {
  .order-card-middle {
    flex-direction: row !important;
    align-items: center !important;
  }
}

/* Product Thumbnails */
.order-thumbnails {
  display: flex !important;
  padding: 0.25rem !important;
}

.order-thumb {
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 0.75rem !important;
  border: 2px solid white !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
  background: var(--stone-50, #FAFAF9) !important;
  overflow: hidden !important;
  margin-left: -0.75rem !important;
  position: relative !important;
  z-index: 1 !important;
  transition: transform 0.3s ease, z-index 0.3s ease !important;
}

.order-thumb:first-child {
  margin-left: 0 !important;
}

.order-thumb:hover {
  transform: scale(1.1) !important;
  z-index: 10 !important;
}

.order-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.order-thumb-more {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: var(--stone-500, #78716C) !important;
  background: var(--stone-100, #F5F5F4) !important;
}

.thumb-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--stone-300, #D6D3D1) !important;
}

/* Order Info */
.order-info {
  flex-grow: 1 !important;
  padding-left: 0 !important;
}

@media (min-width: 640px) {
  .order-info {
    border-left: 1px solid var(--stone-100, #F5F5F4) !important;
    padding-left: 1.5rem !important;
  }
}

.order-items-count {
  font-size: 0.875rem !important;
  color: var(--stone-500, #78716C) !important;
  margin-bottom: 0.25rem !important;
}

.order-total {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 !important;
}

/* Desktop Action Buttons - Horizontal row */
.order-actions-desktop {
  display: none !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: nowrap !important;
}

@media (min-width: 640px) {
  .order-actions-desktop {
    display: flex !important;
  }
}

.btn-buy-again {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  background: var(--rose-50, #FFF1F2) !important;
  color: var(--rose-700, #BE123C) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}

.btn-buy-again:hover {
  background: var(--rose-100, #FFE4E6) !important;
  color: var(--rose-800, #9F1239) !important;
}

.btn-details {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.625rem 1rem !important;
  background: white !important;
  color: var(--stone-600, #57534E) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease !important;
}

.btn-details:hover {
  border-color: var(--stone-300, #D6D3D1) !important;
}

.btn-invoice {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  background: white !important;
  color: var(--stone-600, #57534E) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
  white-space: nowrap !important;
}

.btn-invoice:hover {
  border-color: var(--stone-300, #D6D3D1) !important;
  background: var(--stone-50, #FAFAF9) !important;
}

.btn-invoice svg {
  flex-shrink: 0 !important;
}

/* Mobile Action Buttons */
.order-actions-mobile {
  display: flex !important;
  gap: 0.75rem !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-50, #FAFAF9) !important;
}

@media (min-width: 640px) {
  .order-actions-mobile {
    display: none !important;
  }
}

.order-actions-mobile .btn-buy-again,
.order-actions-mobile .btn-details,
.order-actions-mobile .btn-invoice {
  flex: 1 !important;
  padding: 0.75rem !important;
}

/* Empty State */
.no-orders-state {
  text-align: center !important;
  padding: 5rem 1rem !important;
}

.no-orders-icon {
  width: 5rem !important;
  height: 5rem !important;
  background: var(--stone-50, #FAFAF9) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.5rem !important;
  color: var(--stone-300, #D6D3D1) !important;
}

.no-orders-state h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 0.5rem !important;
}

.start-shopping-link {
  color: var(--rose-600, #E11D48) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.start-shopping-link:hover {
  text-decoration: underline !important;
}

/* ============================================
   ORDER DETAIL PAGE REDESIGN
   ============================================ */

/* Main wrapper */
.herhealth-order-detail {
  padding: 0 !important;
}

/* Top Controls Bar */
.order-detail-controls {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  padding: 0 0.5rem !important;
}

.btn-back-orders {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: var(--stone-600, #57534E) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.btn-back-orders:hover {
  color: var(--rose-600, #E11D48) !important;
}

.order-detail-actions {
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

.btn-reorder {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1.25rem !important;
  background: var(--rose-600, #E11D48) !important;
  color: white !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 0.75rem !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.btn-reorder:hover {
  background: var(--rose-700, #BE123C) !important;
  color: white !important;
}

/* Order Detail page invoice button */
.order-detail-actions .btn-invoice {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1.25rem !important;
  background: white !important;
  color: var(--stone-600, #57534E) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.order-detail-actions .btn-invoice:hover {
  border-color: var(--stone-300, #D6D3D1) !important;
  background: var(--stone-50, #FAFAF9) !important;
}

/* Two Column Grid Layout */
.order-detail-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}

@media (min-width: 1024px) {
  .order-detail-grid {
    grid-template-columns: 1fr 320px !important;
  }
}

.order-detail-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
}

.order-detail-main > * {
  width: 100% !important;
}

.order-detail-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

/* Shared Card Styles */
.order-status-card,
.order-items-card,
.order-summary-card,
.order-addresses-card,
.order-support-card {
  background: white !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  overflow: visible !important;
}

.card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
}

.card-header h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 !important;
}

.card-body {
  padding: 1.5rem !important;
}

/* Order Status Card specific styles */
.order-status-card {
  padding: 1.5rem 1.5rem 1rem 1.5rem !important;
}

.order-status-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 1.5rem !important;
}

.order-status-info h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.375rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 0 0.25rem 0 !important;
  font-style: italic !important;
}

.order-status-info .order-ref {
  font-size: 0.875rem !important;
  color: var(--stone-500, #78716C) !important;
  margin: 0 !important;
}

/* Status Badge - uses inline styles from backend color */
.order-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 9999px !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
}

.order-status-badge svg {
  flex-shrink: 0 !important;
}

.order-status-card .order-reference {
  font-size: 0.875rem !important;
  color: var(--stone-500, #78716C) !important;
  margin-bottom: 1.5rem !important;
}

/* ============================================
   ORDER STATUS CARD - Timeline Stepper
   ============================================ */

.order-timeline-wrapper {
  padding: 0.5rem 0 1rem 0 !important;
  overflow: hidden !important;
}

.order-timeline {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  position: relative !important;
  padding: 0 10px !important;
}

/* Timeline track (background gray line) */
.order-timeline .timeline-track {
  position: absolute !important;
  top: 14px !important;
  left: 50px !important;
  right: 50px !important;
  height: 3px !important;
  background: var(--stone-200, #E7E5E4) !important;
  border-radius: 2px !important;
  z-index: 0 !important;
}

/* Timeline progress (red/pink filled line) - max-width prevents overflow */
.order-timeline .timeline-progress {
  position: absolute !important;
  top: 14px !important;
  left: 50px !important;
  height: 3px !important;
  max-width: calc(100% - 100px) !important;
  background: linear-gradient(90deg, #E11D48 0%, #F43F5E 100%) !important;
  border-radius: 2px !important;
  z-index: 1 !important;
  transition: width 0.5s ease !important;
}

/* Individual timeline step */
.order-timeline .timeline-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
  flex: 1 !important;
  min-width: 0 !important;
  max-width: 120px !important;
}

/* Step dot/circle */
.order-timeline .step-dot {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: white !important;
  border: 3px solid var(--stone-200, #E7E5E4) !important;
  margin-bottom: 0.75rem !important;
  transition: all 0.3s ease !important;
}

.order-timeline .step-dot svg {
  display: none !important;
}

/* Completed step dot */
.order-timeline .timeline-step.completed .step-dot {
  background: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%) !important;
  border-color: #E11D48 !important;
}

.order-timeline .timeline-step.completed .step-dot svg {
  display: block !important;
  color: white !important;
}

/* Current step dot (pulsing) */
.order-timeline .timeline-step.current .step-dot {
  background: white !important;
  border-color: var(--stone-300, #D6D3D1) !important;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1) !important;
}

/* Step label */
.order-timeline .step-label {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--stone-500, #78716C) !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.order-timeline .timeline-step.completed .step-label {
  color: var(--stone-700, #44403C) !important;
  font-weight: 600 !important;
}

/* Carrier info below timeline */
.carrier-info {
  margin-top: 1rem !important;
  padding: 1rem 0 0.5rem 0 !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
  font-size: 0.875rem !important;
  color: var(--stone-600, #57534E) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.carrier-info .track-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  color: #0D9488 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.carrier-info .track-link:hover {
  text-decoration: underline !important;
}

/* ============================================
   ORDER HISTORY DETAILS
   ============================================ */

.order-history-details {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
}

.order-history-details .history-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-700, #44403C) !important;
}

.order-history-details .history-header svg {
  stroke: var(--stone-500, #78716C) !important;
}

.order-history-details .history-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.order-history-details .history-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.75rem 1rem !important;
  background: var(--stone-50, #FAFAF9) !important;
  border-radius: 8px !important;
  border-left: 3px solid var(--stone-300, #D6D3D1) !important;
}

.order-history-details .history-item.current {
  background: #fef2f2 !important;
  border-left-color: var(--primary, #B91C1C) !important;
}

.order-history-details .history-status {
  flex: 1 !important;
}

.order-history-details .status-badge {
  display: inline-block !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 4px !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
}

.order-history-details .history-date {
  font-size: 0.8125rem !important;
  color: var(--stone-500, #78716C) !important;
  white-space: nowrap !important;
}

/* ============================================
   ORDER ITEMS CARD
   ============================================ */

.order-items-card {
  padding: 0 !important;
}

.order-items-header {
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
}

.order-items-header h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 !important;
}

.order-items-list {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 1.5rem !important;
}

.order-item-row {
  display: flex !important;
  gap: 1rem !important;
  padding: 1.25rem 0 !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
  align-items: flex-start !important;
}

.order-item-row:last-child {
  border-bottom: none !important;
}

.item-image {
  width: 70px !important;
  height: 70px !important;
  flex-shrink: 0 !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
  background: var(--stone-50, #FAFAF9) !important;
}

.item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.item-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--stone-300, #D6D3D1) !important;
}

.item-details {
  flex: 1 !important;
  min-width: 0 !important;
}

.item-details h4.item-name {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 0 0.25rem 0 !important;
  text-decoration: none !important;
  display: block !important;
  line-height: 1.4 !important;
}

.item-details .item-ref {
  font-size: 0.8125rem !important;
  color: var(--stone-500, #78716C) !important;
  margin: 0 !important;
}

.item-pricing {
  text-align: right !important;
  flex-shrink: 0 !important;
  min-width: 80px !important;
}

.item-pricing .item-price {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 0 0.25rem 0 !important;
}

.item-pricing .item-qty {
  font-size: 0.8125rem !important;
  color: var(--stone-500, #78716C) !important;
  margin: 0 !important;
}

/* ============================================
   ORDER SUMMARY CARD (Sidebar)
   ============================================ */

.order-summary-card {
  padding: 1.5rem !important;
}

.order-summary-card > h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin: 0 0 1.25rem 0 !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
}

.order-summary-card .card-body {
  padding: 1.5rem !important;
}

.summary-lines {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.summary-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.875rem !important;
  gap: 1rem !important;
}

.summary-line span:first-child {
  color: var(--stone-500, #78716C) !important;
}

.summary-line span:last-child {
  color: var(--stone-700, #44403C) !important;
  font-weight: 500 !important;
  text-align: right !important;
}

.summary-rows {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.875rem !important;
}

.summary-row .label {
  color: var(--stone-500, #78716C) !important;
}

.summary-row .value {
  color: var(--stone-700, #44403C) !important;
  font-weight: 500 !important;
}

.summary-row.discount .value {
  color: var(--emerald-600, #059669) !important;
}

.summary-divider {
  height: 1px !important;
  background: var(--stone-100, #F5F5F4) !important;
  margin: 0.75rem 0 !important;
}

.summary-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
  margin-top: 0.5rem !important;
}

.summary-total span:first-child {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
}

.summary-total .total-value {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.375rem !important;
  font-weight: 600 !important;
  color: var(--rose-600, #E11D48) !important;
}

.summary-row.total {
  font-size: 1rem !important;
}

.summary-row.total .label {
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
}

.summary-row.total .value {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--rose-600, #E11D48) !important;
}

/* Payment Method */
.order-summary-card .payment-method {
  margin-top: 1.25rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-600, #57534E) !important;
}

.order-summary-card .payment-method svg {
  flex-shrink: 0 !important;
  color: var(--stone-400, #A8A29E) !important;
}

.payment-method .label {
  font-size: 0.75rem !important;
  color: var(--stone-400, #A8A29E) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.25rem !important;
}

.payment-method .value {
  font-size: 0.875rem !important;
  color: var(--stone-700, #44403C) !important;
  font-weight: 500 !important;
}

/* ============================================
   ORDER ADDRESSES CARD
   ============================================ */

.order-addresses-card {
  padding: 1.5rem !important;
}

.addresses-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}

@media (min-width: 640px) {
  .addresses-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.address-block {
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
}

.address-block:last-child {
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.address-block .address-label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--stone-400, #A8A29E) !important;
}

.address-block .address-label svg {
  flex-shrink: 0 !important;
  color: var(--stone-400, #A8A29E) !important;
}

.address-block .address-content {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: var(--stone-700, #44403C) !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.address-block h4 {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--stone-400, #A8A29E) !important;
  margin-bottom: 0.75rem !important;
}

.address-block address {
  font-style: normal !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: var(--stone-700, #44403C) !important;
}

.address-block .name {
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
}

/* ============================================
   ORDER SUPPORT/MESSAGE CARD - Redesigned
   ============================================ */

.order-support-card {
  padding: 1.5rem !important;
  background: white !important;
  border-radius: 1rem !important;
}

/* Header with icon and title */
.support-header {
  display: flex !important;
  gap: 0.875rem !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-bottom: 1.25rem !important;
  padding: 0 !important;
  border-bottom: none !important;
  text-align: left !important;
}

.support-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.support-icon svg {
  width: 36px !important;
  height: 36px !important;
  stroke: #E11D48 !important;
  fill: none !important;
}

.support-header > div {
  flex: 1 !important;
  text-align: left !important;
}

.support-header h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  font-style: italic !important;
  color: var(--stone-800, #292524) !important;
  margin: 0 0 0.125rem 0 !important;
  text-align: left !important;
}

.support-header p {
  font-size: 0.8125rem !important;
  color: var(--stone-500, #78716C) !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Force left alignment on support header */
.order-support-card {
  text-align: left !important;
  display: block !important;
}

.order-support-card .support-header {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.order-support-card .support-header > div,
.order-support-card .support-header h3,
.order-support-card .support-header p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Hide existing messages box styling */
.order-support-card .box.messages {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
}

.order-support-card .box.messages h3 {
  display: none !important;
}

/* Order message form - hide header and description */
.order-support-card .order-message-form {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.order-support-card .order-message-form > header {
  display: none !important;
}

.order-support-card .order-message-form form {
  padding: 0 !important;
}

.order-support-card .order-message-form .form-fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

/* Product dropdown - compact inline style */
.order-support-card .form-group.row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
  flex-wrap: wrap !important;
}

.order-support-card .form-group.row .col-md-3 {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

.order-support-card .form-group.row .col-md-5 {
  width: auto !important;
  max-width: none !important;
  flex: 1 !important;
  padding: 0 !important;
}

.order-support-card .form-group.row .col-md-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

.order-support-card .form-group label.form-control-label {
  display: none !important;
}

.order-support-card .form-group select.form-control,
.order-support-card .form-group select.form-control-select {
  width: 100% !important;
  padding: 0.625rem 2.5rem 0.625rem 1rem !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  font-size: 0.8125rem !important;
  color: var(--stone-600, #57534E) !important;
  background: white !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}

.order-support-card .form-group select.form-control:focus,
.order-support-card .form-group select.form-control-select:focus {
  outline: none !important;
  border-color: var(--stone-300, #D6D3D1) !important;
}

/* Textarea - main message input */
.order-support-card .form-group textarea.form-control {
  width: 100% !important;
  padding: 1rem !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  color: var(--stone-700, #44403C) !important;
  background: var(--stone-50, #FAFAF9) !important;
  min-height: 100px !important;
  resize: none !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.order-support-card .form-group textarea.form-control::placeholder {
  color: var(--stone-400, #A8A29E) !important;
}

.order-support-card .form-group textarea.form-control:focus {
  outline: none !important;
  border-color: var(--stone-300, #D6D3D1) !important;
  background: white !important;
}

/* Form footer - button alignment */
.order-support-card .form-footer,
.order-support-card .order-message-form footer {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 0.75rem !important;
  text-align: right !important;
}

/* Send Message button - black pill style */
.order-support-card button[type="submit"],
.order-support-card .btn-primary,
.order-support-card .form-control-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  background: var(--stone-900, #1C1917) !important;
  color: white !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  width: auto !important;
}

.order-support-card button[type="submit"]:hover,
.order-support-card .btn-primary:hover,
.order-support-card .form-control-submit:hover {
  background: var(--stone-800, #292524) !important;
}


/* Message History */
.message-history {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid var(--stone-100, #F5F5F4) !important;
}

.message-history h4 {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--stone-900, #1C1917) !important;
  margin-bottom: 1rem !important;
}

.message-item {
  padding: 1rem !important;
  background: var(--stone-50, #FAFAF9) !important;
  border-radius: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

.message-item:last-child {
  margin-bottom: 0 !important;
}

.message-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.75rem !important;
}

.message-author {
  font-weight: 600 !important;
  color: var(--stone-700, #44403C) !important;
}

.message-date {
  color: var(--stone-400, #A8A29E) !important;
}

/* ============================================
   CHAT CONVERSATION INTERFACE
   ============================================ */

.chat-conversation {
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--stone-100, #F5F5F4) !important;
}

.chat-messages {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  padding: 0.5rem 0 !important;
}

/* Scrollbar styling */
.chat-messages::-webkit-scrollbar {
  width: 6px !important;
}

.chat-messages::-webkit-scrollbar-track {
  background: var(--stone-100, #F5F5F4) !important;
  border-radius: 3px !important;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--stone-300, #D6D3D1) !important;
  border-radius: 3px !important;
}

/* Individual chat message */
.chat-message {
  display: flex !important;
  max-width: 85% !important;
}

/* Customer messages - right aligned */
.chat-message.customer {
  margin-left: auto !important;
  justify-content: flex-end !important;
}

/* Support messages - left aligned */
.chat-message.support {
  margin-right: auto !important;
  justify-content: flex-start !important;
}

/* Message bubble */
.message-bubble {
  padding: 0.875rem 1rem !important;
  border-radius: 1rem !important;
  max-width: 100% !important;
}

/* Customer bubble - brand color */
.chat-message.customer .message-bubble {
  background: var(--primary, #B91C1C) !important;
  color: white !important;
  border-bottom-right-radius: 0.25rem !important;
}

/* Support bubble - light gray */
.chat-message.support .message-bubble {
  background: var(--stone-100, #F5F5F4) !important;
  color: var(--stone-800, #292524) !important;
  border-bottom-left-radius: 0.25rem !important;
}

/* Message header with sender and time */
.message-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 0.375rem !important;
  font-size: 0.75rem !important;
}

.chat-message.customer .message-header {
  flex-direction: row-reverse !important;
}

/* Sender name */
.message-sender {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  font-weight: 600 !important;
}

.chat-message.customer .message-sender {
  color: rgba(255, 255, 255, 0.9) !important;
}

.chat-message.support .message-sender {
  color: var(--stone-600, #57534E) !important;
}

.chat-message.support .message-sender svg {
  stroke: var(--primary, #B91C1C) !important;
}

/* Message time */
.message-time {
  font-size: 0.6875rem !important;
  white-space: nowrap !important;
}

.chat-message.customer .message-time {
  color: rgba(255, 255, 255, 0.7) !important;
}

.chat-message.support .message-time {
  color: var(--stone-400, #A8A29E) !important;
}

/* Message content */
.message-content {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  word-wrap: break-word !important;
}

.chat-message.customer .message-content {
  color: white !important;
}

.chat-message.support .message-content {
  color: var(--stone-700, #44403C) !important;
}

/* ============================================
   CHAT INPUT SECTION
   ============================================ */

.chat-input-section {
  margin-top: 1rem !important;
}

.chat-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

/* Product selector dropdown */
.chat-product-selector {
  margin-bottom: 0.25rem !important;
}

.chat-product-selector .product-select {
  width: 100% !important;
  padding: 0.625rem 2.5rem 0.625rem 1rem !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 0.75rem !important;
  font-size: 0.8125rem !important;
  color: var(--stone-600, #57534E) !important;
  background: white !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}

.chat-product-selector .product-select:focus {
  outline: none !important;
  border-color: var(--stone-300, #D6D3D1) !important;
}

/* Chat input wrapper */
.chat-input-wrapper {
  display: flex !important;
  align-items: flex-end !important;
  gap: 0.75rem !important;
  background: var(--stone-50, #FAFAF9) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
  border-radius: 1.5rem !important;
  padding: 0.5rem 0.5rem 0.5rem 1rem !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.chat-input-wrapper:focus-within {
  border-color: var(--stone-300, #D6D3D1) !important;
  background: white !important;
}

/* Chat textarea */
.chat-input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  resize: none !important;
  font-size: 0.875rem !important;
  color: var(--stone-700, #44403C) !important;
  line-height: 1.5 !important;
  padding: 0.5rem 0 !important;
  min-height: 24px !important;
  max-height: 120px !important;
  outline: none !important;
}

.chat-input::placeholder {
  color: var(--stone-400, #A8A29E) !important;
}

/* Send button */
.chat-send-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  background: var(--primary, #B91C1C) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
}

.chat-send-btn svg {
  stroke: white !important;
  transform: translateX(1px) !important;
}

.chat-send-btn:hover {
  background: var(--primary-dark, #991B1B) !important;
}

.chat-send-btn:active {
  transform: scale(0.95) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chat-message {
    max-width: 90% !important;
  }

  .message-header {
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
  }

  .chat-message.customer .message-header {
    flex-direction: column !important;
    align-items: flex-end !important;
  }

  .chat-message.support .message-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

.message-content {
  font-size: 0.875rem !important;
  color: var(--stone-600, #57534E) !important;
  line-height: 1.5 !important;
}

/* Order Reference Badge in Header */
.order-reference-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.375rem 0.75rem !important;
  background: var(--stone-100, #F5F5F4) !important;
  border-radius: 9999px !important;
  font-size: 0.8125rem !important;
  color: var(--stone-600, #57534E) !important;
}

/* Order Date in Status Card */
.order-date-info {
  font-size: 0.8125rem !important;
  color: var(--stone-500, #78716C) !important;
}

/* ============================================
   ORDER DETAIL RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1023px) {
  .order-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .order-detail-sidebar {
    order: -1 !important;
  }
}

@media (max-width: 767px) {
  .order-status-header {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .order-status-badge {
    align-self: flex-start !important;
  }

  /* Timeline adjustments for smaller screens */
  .order-timeline .timeline-step {
    max-width: none !important;
  }

  .order-timeline .step-label {
    font-size: 0.6875rem !important;
  }

  .order-timeline .timeline-track,
  .order-timeline .timeline-progress {
    left: 30px !important;
    right: 30px !important;
  }
}

@media (max-width: 639px) {
  .order-detail-controls {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }

  .btn-back-orders {
    margin-bottom: 0.5rem !important;
  }

  .order-detail-actions {
    justify-content: stretch !important;
  }

  .order-detail-actions .btn-invoice,
  .order-detail-actions .btn-reorder {
    flex: 1 !important;
    text-align: center !important;
  }

  /* Timeline vertical on mobile */
  .order-timeline-wrapper {
    padding: 0 !important;
  }

  .order-timeline {
    flex-direction: column !important;
    padding: 0.5rem 0 0 1.5rem !important;
    gap: 0 !important;
  }

  .order-timeline .timeline-track {
    top: 0 !important;
    bottom: 0 !important;
    left: 12px !important;
    right: auto !important;
    width: 3px !important;
    height: auto !important;
  }

  .order-timeline .timeline-progress {
    top: 0 !important;
    left: 12px !important;
    width: 3px !important;
    height: var(--progress-height, 0%) !important;
  }

  .order-timeline .timeline-step {
    flex-direction: row !important;
    gap: 1rem !important;
    padding: 0.75rem 0 !important;
    align-items: flex-start !important;
    max-width: none !important;
  }

  .order-timeline .step-dot {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .order-timeline .step-label,
  .order-timeline .step-date {
    text-align: left !important;
  }

  /* Items card mobile */
  .item-image {
    width: 60px !important;
    height: 60px !important;
  }

  .order-items-list {
    padding: 0 1rem !important;
  }

  .order-items-header {
    padding: 1rem !important;
  }

  /* Summary card mobile */
  .order-summary-card,
  .order-addresses-card,
  .order-status-card {
    padding: 1rem !important;
  }

  /* Support card mobile */
  .support-header {
    padding: 1rem !important;
  }

  .order-support-card form {
    padding: 1rem !important;
  }
}

/* ============================================
   HEADER STANDARDIZATION - 2026-01-14
   Standardize category/product page headers to match my-account page
   ============================================ */

/* ============================================
   1. BREADCRUMB "HOME" LINK COLOR - Teal/Sage
   Match the subtle teal-gray color seen in my-account
   ============================================ */
.breadcrumb li:first-child a,
nav.breadcrumb li:first-child a,
.my-account-title-section .breadcrumb a:first-of-type,
.breadcrumb > a:first-child {
  color: #5B7A7A !important; /* Teal-sage gray */
}

.breadcrumb li:first-child a:hover,
nav.breadcrumb li:first-child a:hover,
.my-account-title-section .breadcrumb a:first-of-type:hover,
.breadcrumb > a:first-child:hover {
  color: #e11d48 !important; /* Rose on hover */
}

/* ============================================
   2. REMOVE BEIGE BACKGROUND - Pure white background
   ============================================ */
/* Remove beige from page-title-wrapper */
.page-title-wrapper,
header.page-header,
.page-header,
#wrapper .page-title-wrapper,
body.page-category .page-title-wrapper,
body.page-product .page-title-wrapper,
body[id="category"] .page-title-wrapper,
body[id="product"] .page-title-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

/* Ensure wrapper has white background */
#wrapper,
body.page-category #wrapper,
body.page-product #wrapper,
body[id="category"] #wrapper,
body[id="product"] #wrapper {
  background-color: #ffffff !important;
}

/* Remove any box shadows or borders that create visual separation */
.my-account-header.category-header,
.my-account-header.product-header,
.category-header,
.product-header {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* ============================================
   3. REDUCE PADDING ABOVE BREADCRUMB
   Match the tight spacing of my-account page
   ============================================ */
/* Category page header - tighter top padding */
.my-account-header.category-header,
.category-header.my-account-header,
body[id="category"] .my-account-header,
body.page-category .my-account-header {
  padding-top: 1rem !important; /* Reduced from 1.5rem/2rem */
  margin-top: 0 !important;
}

/* Product page header - tighter top padding */
.my-account-header.product-header,
.product-header.my-account-header,
body[id="product"] .my-account-header,
body.page-product .my-account-header {
  padding-top: 1rem !important; /* Reduced from 1.5rem/2rem */
  margin-top: 0 !important;
}

/* Remove extra spacing from wrapper elements */
body.page-category #js-product-list-header,
body[id="category"] #js-product-list-header {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ============================================
   4. REDUCE GAP BETWEEN BREADCRUMB AND TITLE
   Match the minimal gap of my-account page
   ============================================ */
/* Category page - reduce breadcrumb bottom margin */
.category-header .my-account-title-section .breadcrumb,
.my-account-header.category-header .breadcrumb,
body[id="category"] .my-account-header .breadcrumb,
body.page-category .my-account-header .breadcrumb {
  margin-bottom: 0.5rem !important; /* Reduced from 1.5rem */
}

/* Category page - reduce h1 top margin */
.category-header .my-account-title-section h1,
.my-account-header.category-header h1,
body[id="category"] .my-account-header h1,
body.page-category .my-account-header h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Product page - reduce breadcrumb bottom margin */
.product-header .my-account-title-section .breadcrumb,
.my-account-header.product-header .breadcrumb,
body[id="product"] .my-account-header .breadcrumb,
body.page-product .my-account-header .breadcrumb {
  margin-bottom: 0.5rem !important; /* Reduced from 1.5rem */
}

/* ============================================
   5. STANDARDIZE MY-ACCOUNT PAGE TO MATCH
   Ensure my-account uses same tight spacing
   ============================================ */
/* My account header - match the tight spacing */
.herhealth-my-account .my-account-header {
  padding-top: 1rem !important;
}

.herhealth-my-account .my-account-title-section .breadcrumb {
  margin-bottom: 0.5rem !important;
}

/* Ensure "Home" link on my-account also uses teal color */
.herhealth-my-account .breadcrumb a:first-of-type,
.herhealth-my-account .breadcrumb li:first-child a {
  color: #5B7A7A !important;
}

.herhealth-my-account .breadcrumb a:first-of-type:hover,
.herhealth-my-account .breadcrumb li:first-child a:hover {
  color: #e11d48 !important;
}

/* ============================================
   6. ADDITIONAL CLEANUP
   ============================================ */
/* Remove any lingering beige/stone backgrounds */
.block-category,
#js-product-list-header,
.category-header-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

/* Ensure content doesn't have extra top margin */
body.page-category #content-wrapper,
body.page-product #content-wrapper,
body[id="category"] #content-wrapper,
body[id="product"] #content-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Header margin-bottom consistency */
.my-account-header.category-header,
.my-account-header.product-header {
  margin-bottom: 1.5rem !important; /* Consistent bottom margin */
}


/* ============================================
   COMPREHENSIVE HEADER FIX - 2026-01-14 (v2)
   Fix h1 title size AND background inconsistencies
   ============================================ */

/* ============================================
   FIX #1: CATEGORY H1 TITLE SIZE - Smaller to match my-account
   Reduce from 3rem-4rem to 2rem-3rem
   ============================================ */
.category-header .my-account-title-section h1,
.my-account-header.category-header .my-account-title-section h1,
body[id="category"] .my-account-title-section h1,
body.page-category .my-account-title-section h1 {
  font-size: 2rem !important; /* Reduced from 3rem */
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.5rem !important;
}

@media (min-width: 640px) {
  .category-header .my-account-title-section h1,
  .my-account-header.category-header .my-account-title-section h1,
  body[id="category"] .my-account-title-section h1,
  body.page-category .my-account-title-section h1 {
    font-size: 2.5rem !important; /* Reduced from 3.5rem */
  }
}

@media (min-width: 1024px) {
  .category-header .my-account-title-section h1,
  .my-account-header.category-header .my-account-title-section h1,
  body[id="category"] .my-account-title-section h1,
  body.page-category .my-account-title-section h1 {
    font-size: 3rem !important; /* Reduced from 4rem */
  }
}

/* ============================================
   FIX #2: MY-ACCOUNT H1 - Same smaller size for consistency
   ============================================ */
.herhealth-my-account .my-account-title-section h1,
body[id="my-account"] .my-account-title-section h1 {
  font-size: 2rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.5rem !important;
}

@media (min-width: 640px) {
  .herhealth-my-account .my-account-title-section h1,
  body[id="my-account"] .my-account-title-section h1 {
    font-size: 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  .herhealth-my-account .my-account-title-section h1,
  body[id="my-account"] .my-account-title-section h1 {
    font-size: 3rem !important;
  }
}

/* ============================================
   FIX #3: UNIFIED BACKGROUND - All pages use same background
   Override the beige (#FBFAF9) to consistent light gray/white
   ============================================ */

/* Set consistent background for ALL main wrapper areas */
body.page-category #wrapper,
body.page-product #wrapper,
body[id="category"] #wrapper,
body[id="product"] #wrapper,
body[id="my-account"] #wrapper,
body.page-my-account #wrapper {
  background-color: #fafaf9 !important; /* Light stone - consistent */
}

/* Page title wrapper - transparent so wrapper background shows through */
body.page-category .page-title-wrapper,
body.page-product .page-title-wrapper,
body[id="category"] .page-title-wrapper,
body[id="product"] .page-title-wrapper,
body[id="my-account"] .page-title-wrapper {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* All containers within these pages - transparent */
body.page-category .container,
body.page-product .container,
body[id="category"] .container,
body[id="product"] .container,
body[id="my-account"] .container {
  background: transparent !important;
  background-color: transparent !important;
}

/* Content wrapper - transparent */
body.page-category #content-wrapper,
body.page-product #content-wrapper,
body[id="category"] #content-wrapper,
body[id="product"] #content-wrapper,
body[id="my-account"] #content-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

/* Category/product header wrappers - transparent */
.my-account-header.category-header,
.my-account-header.product-header,
.category-header,
.product-header,
#js-product-list-header,
.block-category {
  background: transparent !important;
  background-color: transparent !important;
}

/* My account specific - transparent wrappers */
.herhealth-my-account,
.herhealth-my-account .my-account-header {
  background: transparent !important;
  background-color: transparent !important;
}

/* Row wrapper - transparent */
body.page-category .row-wrapper,
body.page-product .row-wrapper,
body[id="category"] .row-wrapper,
body[id="product"] .row-wrapper,
body[id="my-account"] .row-wrapper {
  background: transparent !important;
}

/* Main section - transparent */
body.page-category #main,
body.page-product #main,
body[id="category"] #main,
body[id="product"] #main,
body[id="my-account"] #main,
body.page-category section#main,
body.page-product section#main {
  background: transparent !important;
}

/* ============================================
   FIX #4: REMOVE ANY LINGERING PATCHES
   ============================================ */

/* Left and right columns - transparent */
body.page-category #left-column,
body.page-category #right-column,
body.page-product #left-column,
body.page-product #right-column,
body[id="category"] #left-column,
body[id="category"] #right-column,
body[id="product"] #left-column,
body[id="product"] #right-column {
  background: transparent !important;
}

/* Page content areas - transparent */
body.page-category .page-content,
body.page-product .page-content,
body[id="category"] .page-content,
body[id="product"] .page-content {
  background: transparent !important;
}

/* Product list area - transparent */
#js-product-list,
.products,
.product-miniature {
  background: transparent !important;
}


/* ============================================
   GLOBAL BACKGROUND COLOR - #FBFAF9
   2026-01-14 - Consistent site-wide background
   ============================================ */

/* Base background for entire site */
html,
body {
  background-color: #FBFAF9 !important;
}

/* Main wrapper */
#wrapper,
section#wrapper {
  background-color: #FBFAF9 !important;
}

/* All containers - transparent to inherit */
.container,
.page-content,
#content-wrapper,
#main,
section#main,
.row-wrapper,
#left-column,
#right-column {
  background-color: transparent !important;
}

/* Page-specific wrappers - transparent */
.page-title-wrapper,
.my-account-header,
.category-header,
.product-header,
#js-product-list-header,
.block-category,
.herhealth-my-account {
  background-color: transparent !important;
}

/* Ensure no white patches on any page */
body.page-category #wrapper,
body.page-product #wrapper,
body[id="category"] #wrapper,
body[id="product"] #wrapper,
body[id="my-account"] #wrapper,
body[id="index"] #wrapper {
  background-color: #FBFAF9 !important;
}


/* ============================================
   QUICK VIEW ITEM - White Background
   Product images are white, so container should be white
   ============================================ */
.quick-view-item {
  background-color: #ffffff !important;
}

/* Also set product thumbnail/image containers to white */
.product-miniature .thumbnail-container,
.product-miniature .product-thumbnail,
.product-miniature .product-image,
.products .thumbnail-container,
.products .product-thumbnail,
.product-cover,
.images-container,
.product-cover-container {
  background-color: #ffffff !important;
}


/* ============================================
   QUICKVIEW MODAL - Close Button Position
   Move X close icon to top right with margin
   ============================================ */
.quickview .modal-header {
  position: relative !important;
  display: flex !important;
  justify-content: flex-end !important;
  padding: 1rem !important;
  border-bottom: none !important;
}

.quickview .modal-header .close,
.quickview button.close {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0.5rem !important;
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  z-index: 1050 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.quickview .modal-header .close:hover,
.quickview button.close:hover {
  background: #f5f5f4 !important;
  border-color: #d6d3d1 !important;
}

.quickview .modal-header .close .material-icons,
.quickview button.close .material-icons {
  font-size: 20px !important;
  color: #57534e !important;
  line-height: 1 !important;
}

.quickview .modal-header .close:hover .material-icons,
.quickview button.close:hover .material-icons {
  color: #1c1917 !important;
}


/* ============================================
   QUICKVIEW MODAL - Close Button Fix
   Center X icon and prevent covering content
   ============================================ */
.quickview .modal-header .close,
.quickview button.close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  z-index: 10 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.quickview .modal-header .close span,
.quickview button.close span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1 !important;
}

.quickview .modal-header .close .material-icons,
.quickview button.close .material-icons {
  font-size: 18px !important;
  color: #57534e !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure modal header doesn't overlap content */
.quickview .modal-header {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  z-index: 10 !important;
}

/* Ensure modal body has proper top padding */
.quickview .modal-body {
  padding-top: 1rem !important;
}


/* ============================================
   QUICKVIEW - Prevent close button covering product title
   Add right padding to product info area
   ============================================ */

/* Add right padding to the product info column to make room for close button */
.quickview .modal-body .col-md-6:last-child,
.quickview .modal-body > .row > .col-md-6:nth-child(2) {
  padding-right: 50px !important;
}

/* Product name/title - ensure it has right padding */
.quickview .namne_details,
.quickview h1.namne_details,
.quickview .product-name,
.quickview .modal-body h1 {
  padding-right: 45px !important;
  margin-right: 0 !important;
}

/* Move close button slightly more to the right edge of modal */
.quickview .modal-header .close,
.quickview button.close {
  top: 15px !important;
  right: 15px !important;
}


/* ============================================
   CREDIT SLIPS PAGE - Matching Order History Design
   ============================================ */

/* Credit slip badge - green tint for refunds */
.credit-slip-badge {
  background-color: #dcfce7 !important;
  color: #166534 !important;
  --status-color: #22c55e !important;
}

.credit-slip-badge svg {
  stroke: #166534 !important;
}

/* Credit slip icon in card */
.credit-slip-icon {
  background-color: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
}

.credit-slip-icon svg {
  stroke: #166534 !important;
}

/* Credit slip reference link */
.credit-slip-ref a {
  color: #e11d48 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.credit-slip-ref a:hover {
  text-decoration: underline !important;
}

/* Download button styling */
.btn-download-slip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
}

.btn-download-slip svg {
  flex-shrink: 0 !important;
}

/* Empty state for credit slips */
.credit-slips-container .no-orders-state {
  text-align: center !important;
  padding: 3rem 1rem !important;
}

.credit-slips-container .no-orders-state p {
  color: #78716c !important;
  margin-top: 0.5rem !important;
}


/* Credit slip amount styling */
.credit-slip-amount {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #166534 !important; /* Green for refund amount */
}

/* Credit slip order reference link in info */
.order-info .order-items-count a {
  color: #e11d48 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  margin-left: 0.25rem !important;
}

.order-info .order-items-count a:hover {
  text-decoration: underline !important;
}


/* ============================================
   MEDICAL QUESTIONNAIRES PAGE - Treatment List
   Matching Order History Design
   ============================================ */

/* Treatment tabs wrapper */
.treatments-tabs-wrapper {
  padding: 0 1.5rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 1px solid #e7e5e4 !important;
}

/* Treatment tabs container */
.treatments-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  padding-bottom: 0 !important;
}

/* Individual tab button */
.treatment-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  color: #78716c !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-bottom: -1px !important;
}

.treatment-tab:hover {
  color: #1c1917 !important;
  background: #fafaf9 !important;
}

.treatment-tab.active {
  color: #e11d48 !important;
  border-bottom-color: #e11d48 !important;
}

/* Tab count badge */
.treatment-tab .tab-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  background: #f5f5f4 !important;
  border-radius: 10px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #78716c !important;
}

.treatment-tab.active .tab-count {
  background: #fce7f3 !important;
  color: #e11d48 !important;
}

/* Treatment panels */
.treatment-panel {
  display: none !important;
}

.treatment-panel.active {
  display: block !important;
}

/* Treatment card item */
.treatment-card-item {
  border: 1px solid #e7e5e4 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  margin-bottom: 1rem !important;
}

/* Treatment badge - blue/purple for medical */
.treatment-badge {
  background-color: #ede9fe !important;
  color: #6d28d9 !important;
}

.treatment-badge svg {
  stroke: #6d28d9 !important;
}

/* Treatment icon */
.treatment-icon {
  background-color: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.treatment-icon svg {
  stroke: #7c3aed !important;
}

/* Treatment info */
.treatment-info {
  flex: 1 !important;
}

.treatment-info .treatment-name {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1c1917 !important;
  margin: 0 0 0.25rem 0 !important;
}

.treatment-info .treatment-desc {
  font-size: 0.875rem !important;
  color: #78716c !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Start questionnaire button */
.btn-start-questionnaire {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  padding: 0.5rem 1rem !important;
  background: #7c3aed !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-start-questionnaire:hover {
  background: #6d28d9 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.btn-start-questionnaire svg {
  stroke: #ffffff !important;
}

/* Treatment questions count */
.treatment-questions {
  color: #78716c !important;
  font-size: 0.875rem !important;
}

/* Mobile actions for treatment cards */
.treatment-card-item .order-actions-mobile .btn-start-questionnaire {
  flex: 1 !important;
  justify-content: center !important;
}

/* Responsive adjustments for tabs */
@media (max-width: 640px) {
  .treatments-tabs-wrapper {
    padding: 0 1rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .treatments-tabs {
    flex-wrap: nowrap !important;
    min-width: max-content !important;
  }

  .treatment-tab {
    padding: 0.625rem 0.75rem !important;
    font-size: 0.8125rem !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   MEDICAL QUESTIONNAIRES - NEW DESIGN (2024)
   Modern card-based grid layout with search and category pills
   ========================================================================== */

/* Introduction Card */
.quest-intro-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  padding: 2rem !important;
  background: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  border-radius: 2rem !important;
  margin-bottom: 1.5rem !important;
}

@media (min-width: 768px) {
  .quest-intro-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

.quest-intro-content h2 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.875rem !important;
  font-weight: 400 !important;
  color: #1c1917 !important;
  margin: 0 0 0.5rem 0 !important;
}

.quest-intro-content p {
  font-size: 1rem !important;
  color: #57534e !important;
  font-weight: 300 !important;
  max-width: 32rem !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* Search Box */
.quest-search-box {
  position: relative !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  .quest-search-box {
    width: 16rem !important;
  }
}

.quest-search-box input {
  width: 100% !important;
  padding: 0.75rem 1rem 0.75rem 2.75rem !important;
  background: #ffffff !important;
  border: 1px solid #fecdd3 !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  color: #1c1917 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.quest-search-box input:focus {
  border-color: #ec4899 !important;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1) !important;
}

.quest-search-box input::placeholder {
  color: #a8a29e !important;
}

.quest-search-icon {
  position: absolute !important;
  left: 0.875rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 1rem !important;
  height: 1rem !important;
  stroke: #ec4899 !important;
  pointer-events: none !important;
}

/* Category Pills */
.quest-category-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

.quest-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1.25rem !important;
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 9999px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #78716c !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.quest-pill:hover {
  border-color: #ec4899 !important;
  color: #ec4899 !important;
}

.quest-pill.active {
  background: #1c1917 !important;
  border-color: #1c1917 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(28, 25, 23, 0.1), 0 2px 4px -1px rgba(28, 25, 23, 0.06) !important;
}

.quest-pill-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 1.25rem !important;
  height: 1.25rem !important;
  padding: 0 0.375rem !important;
  background: #f5f5f4 !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #78716c !important;
}

.quest-pill.active .quest-pill-count {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Questionnaire Grid */
.quest-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}

@media (min-width: 640px) {
  .quest-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .quest-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Questionnaire Card */
.quest-card {
  display: flex;
  flex-direction: column !important;
  height: 100% !important;
  padding: 1.5rem !important;
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 1.5rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.quest-card.hidden {
  display: none !important;
}

.quest-card:hover {
  border-color: #f9a8d4 !important;
  box-shadow: 0 20px 25px -5px rgba(236, 72, 153, 0.05), 0 10px 10px -5px rgba(236, 72, 153, 0.02) !important;
}

/* Card Icon */
.quest-card-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
  background: #fdf2f8 !important;
  border-radius: 1rem !important;
  margin-bottom: 1.25rem !important;
  transition: all 0.3s ease !important;
}

.quest-card:hover .quest-card-icon {
  transform: scale(1.1) !important;
  background: #fce7f3 !important;
}

.quest-card-icon svg {
  width: 1.625rem !important;
  height: 1.625rem !important;
  stroke: #ec4899 !important;
  stroke-width: 1.5 !important;
}

/* Card Content */
.quest-card-content {
  flex-grow: 1 !important;
}

.quest-card-title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 0 0 0.5rem 0 !important;
  transition: color 0.3s ease !important;
}

.quest-card:hover .quest-card-title {
  color: #be185d !important;
}

/* Meta Badges */
.quest-card-meta {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.quest-meta-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  padding: 0.25rem 0.5rem !important;
  background: #fafaf9 !important;
  border-radius: 0.375rem !important;
  font-size: 0.75rem !important;
  color: #78716c !important;
}

.quest-meta-badge svg {
  width: 0.75rem !important;
  height: 0.75rem !important;
  stroke: #a8a29e !important;
}

/* CTA Button */
.quest-card-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  padding: 0.875rem !important;
  background: #fafaf9 !important;
  color: #57534e !important;
  border: none !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.quest-card-btn span {
  position: relative !important;
  z-index: 1 !important;
}

.quest-card-btn svg {
  width: 0.875rem !important;
  height: 0.875rem !important;
  stroke: currentColor !important;
  opacity: 0 !important;
  margin-left: -0.5rem !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  z-index: 1 !important;
}

.quest-card:hover .quest-card-btn {
  background: rgb(225, 29, 72) !important;
  color: #ffffff !important;
}

.quest-card:hover .quest-card-btn svg {
  opacity: 1 !important;
  margin-left: 0 !important;
}

/* No Results State - hidden by default, shown via JS */
.quest-no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
}

.quest-no-results-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 4rem !important;
  height: 4rem !important;
  background: #fafaf9 !important;
  border-radius: 9999px !important;
  margin-bottom: 1rem !important;
}

.quest-no-results-icon svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
  stroke: #a8a29e !important;
}

.quest-no-results h3 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: #1c1917 !important;
  margin: 0 0 0.5rem 0 !important;
}

.quest-no-results p {
  font-size: 0.875rem !important;
  color: #78716c !important;
  margin: 0 0 1rem 0 !important;
}

.quest-clear-filters {
  padding: 0.5rem 1rem !important;
  background: transparent !important;
  border: none !important;
  color: #ec4899 !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.quest-clear-filters:hover {
  color: #be185d !important;
  text-decoration: underline !important;
}

/* Empty State */
.quest-empty-state {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5rem 2rem !important;
  text-align: center !important;
  background: #fafaf9 !important;
  border: 2px dashed #e7e5e4 !important;
  border-radius: 1.5rem !important;
}

.quest-empty-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 4rem !important;
  height: 4rem !important;
  background: #ffffff !important;
  border-radius: 9999px !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.quest-empty-icon svg {
  width: 2rem !important;
  height: 2rem !important;
  stroke: #d6d3d1 !important;
}

.quest-empty-state h3 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: #1c1917 !important;
  margin: 0 0 0.5rem 0 !important;
}

.quest-empty-state p {
  font-size: 0.875rem !important;
  color: #78716c !important;
  margin: 0 !important;
}


/* ============================================
   MY ALERTS PAGE STYLES
   ============================================ */

/* Alerts list inside form-card-content */
.alerts-list {
  margin-top: 1.5rem !important;
}

/* Individual alert item */
.alert-item {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1rem !important;
  background: var(--stone-50, #FAFAF9) !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  transition: background 0.2s ease !important;
}

.alert-item:last-child {
  margin-bottom: 0 !important;
}

.alert-item:hover {
  background: var(--stone-100, #F5F5F4) !important;
}

/* Product image */
.alert-product-image {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
  background: white !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
}

.alert-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Product info */
.alert-product-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.alert-product-name {
  display: block !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--stone-800, #292524) !important;
  text-decoration: none !important;
  margin-bottom: 0.25rem !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.alert-product-name:hover {
  color: var(--primary, #B91C1C) !important;
}

.alert-product-attributes {
  font-size: 0.8125rem !important;
  color: var(--stone-500, #78716C) !important;
}

/* Alert actions */
.alert-actions {
  display: flex !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
}

.btn-view-product,
.btn-remove-alert {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  padding: 0.5rem 0.875rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  border-radius: 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-view-product {
  background: var(--stone-900, #1C1917) !important;
  color: white !important;
}

.btn-view-product:hover {
  background: var(--stone-800, #292524) !important;
  color: white !important;
}

.btn-view-product svg {
  stroke: white !important;
}

.btn-remove-alert {
  background: transparent !important;
  color: var(--stone-500, #78716C) !important;
  border: 1px solid var(--stone-200, #E7E5E4) !important;
}

.btn-remove-alert:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.btn-remove-alert:hover svg {
  stroke: #dc2626 !important;
}

/* Empty state */
.no-alerts-state {
  text-align: center !important;
  padding: 3rem 1.5rem !important;
}

.no-alerts-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 1.5rem auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--stone-100, #F5F5F4) !important;
  border-radius: 50% !important;
}

.no-alerts-icon svg {
  stroke: var(--stone-400, #A8A29E) !important;
}

.no-alerts-state h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--stone-800, #292524) !important;
  margin: 0 0 0.5rem 0 !important;
}

.no-alerts-state p {
  font-size: 0.875rem !important;
  color: var(--stone-500, #78716C) !important;
  margin: 0 0 1.5rem 0 !important;
  max-width: 400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.btn-browse-products {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.75rem 1.5rem !important;
  background: var(--primary, #B91C1C) !important;
  color: white !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}

.btn-browse-products:hover {
  background: var(--primary-dark, #991B1B) !important;
  color: white !important;
}

/* Responsive */
@media (max-width: 640px) {
  .alert-item {
    flex-wrap: wrap !important;
  }

  .alert-product-info {
    flex: 1 0 calc(100% - 86px) !important;
  }

  .alert-actions {
    width: 100% !important;
    margin-top: 0.75rem !important;
    padding-left: 86px !important;
  }
}

/* ==========================================================================
   MEDICAL QUESTIONNAIRE FORM STYLES
   Themed to match the HerHealth design system
   ========================================================================== */

/* Alert Styles */
.quest-alert {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.quest-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.quest-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.quest-alert p {
  margin: 0;
}

/* Progress Card */
.quest-progress-card {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.quest-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.quest-progress-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quest-progress-step {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c1917;
}

.quest-progress-treatment {
  font-size: 0.75rem;
  color: #78716c;
}

.quest-progress-percent {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgb(225, 29, 72);
}

.quest-progress-bar {
  height: 8px;
  background: #fecdd3;
  border-radius: 9999px;
  overflow: hidden;
}

.quest-progress-fill {
  height: 100%;
  background: rgb(225, 29, 72);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Question Card */
.quest-question-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.quest-question-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1c1917;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.quest-required {
  color: rgb(225, 29, 72);
  margin-right: 0.25rem;
}

.quest-answer-area {
  margin-top: 1rem;
}

/* Navigation Buttons */
.quest-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.quest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.quest-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

.quest-btn-primary {
  background: rgb(225, 29, 72);
  color: #ffffff;
}

.quest-btn-primary:hover {
  background: #be185d;
  color: #ffffff;
}

.quest-btn-secondary {
  background: #f5f5f4;
  color: #57534e;
  border: 1px solid #e7e5e4;
}

.quest-btn-secondary:hover {
  background: #e7e5e4;
  color: #1c1917;
}

/* Override question type input styles to match theme */
.quest-answer-area .radio-label,
.quest-answer-area .checkbox-label {
  border-color: #fecdd3 !important;
}

.quest-answer-area .radio-label:hover,
.quest-answer-area .checkbox-label:hover {
  border-color: rgb(225, 29, 72) !important;
  background: #fff1f2 !important;
}

.quest-answer-area .radio-label input[type="radio"]:checked + .radio-text,
.quest-answer-area .checkbox-label input[type="checkbox"]:checked + .checkbox-text {
  color: rgb(225, 29, 72) !important;
}

.quest-answer-area .text-input-styled,
.quest-answer-area .form-control {
  border-color: #fecdd3 !important;
}

.quest-answer-area .text-input-styled:hover,
.quest-answer-area .form-control:hover {
  border-color: rgb(225, 29, 72) !important;
  background: #fff1f2 !important;
}

.quest-answer-area .text-input-styled:focus,
.quest-answer-area .form-control:focus {
  border-color: rgb(225, 29, 72) !important;
  background: #fff5f7 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
}

/* File Upload Styling */
.quest-answer-area .file-upload-area {
  border-color: #fecdd3 !important;
}

.quest-answer-area .file-upload-area:hover {
  border-color: rgb(225, 29, 72) !important;
  background: #fff1f2 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .quest-question-card {
    padding: 1.5rem;
  }

  .quest-question-text {
    font-size: 1.25rem;
  }

  .quest-nav-buttons {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .quest-btn {
    width: 100%;
  }
}

/* ==========================================================================
   QUESTIONNAIRE PAGE - FULL WIDTH WRAPPER
   ========================================================================== */

.quest-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem 2rem 1rem;
}

@media (min-width: 768px) {
  .quest-page-wrapper {
    padding: 0 2rem 2rem 2rem;
  }
}

/* ==========================================================================
   QUESTIONNAIRE PAGE - FULL WIDTH CONTENT
   ========================================================================== */

/* Ensure questionnaire page uses full width like treatmentlist */
body[id="module-medicalintake-questionnaire"] .herhealth-my-account {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  body[id="module-medicalintake-questionnaire"] .herhealth-my-account {
    padding: 0 2rem;
  }
}

body[id="module-medicalintake-questionnaire"] .identity-content-wrapper {
  width: 100%;
}

body[id="module-medicalintake-questionnaire"] .identity-grid {
  width: 100%;
}

body[id="module-medicalintake-questionnaire"] .identity-main {
  width: 100%;
  min-width: 0;
}

/* ==========================================================================
   STEP PROGRESS INDICATOR
   ========================================================================== */

.quest-step-indicator {
  margin-bottom: 2rem;
}

.quest-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1rem;
}

.quest-step-item {
  display: flex;
  align-items: center;
}

.quest-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Pending step - grey */
.quest-step-item.pending .quest-step-number {
  background: #e7e5e4;
  color: #a8a29e;
  border: 2px solid #d6d3d1;
}

/* Active step - rose with pulse */
.quest-step-item.active .quest-step-number {
  background: #FFF1F2;
  color: #e11d48;
  border: 2px solid #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.2);
}

/* Completed step - rose solid */
.quest-step-item.completed .quest-step-number {
  background: #FFF1F2;
  color: #e11d48;
  border: 2px solid #e11d48;
}

/* Clickable completed steps */
.quest-step-link {
  text-decoration: none;
  cursor: pointer;
}

.quest-step-link:hover .quest-step-number {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* Connector line between steps */
.quest-step-connector {
  width: 2rem;
  height: 3px;
  background: #e7e5e4;
  margin: 0 0.25rem;
  border-radius: 2px;
  transition: background 0.3s ease;
}

@media (min-width: 480px) {
  .quest-step-connector {
    width: 3rem;
  }
}

@media (min-width: 640px) {
  .quest-step-connector {
    width: 4rem;
  }
}

.quest-step-connector.completed {
  background: #e11d48;
}

/* Step label */
.quest-step-label {
  text-align: center;
  font-size: 0.875rem;
  color: #78716c;
  font-weight: 500;
}

/* Responsive - smaller circles on mobile */
@media (max-width: 480px) {
  .quest-step-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }

  .quest-step-connector {
    width: 1.5rem;
  }
}

/* Many steps - wrap nicely */
@media (max-width: 640px) {
  .quest-steps {
    gap: 0.5rem;
  }
}

/* ==========================================================================
   SUBMIT PAGE - FULL WIDTH CONTENT
   ========================================================================== */

/* Ensure submit page uses full width like questionnaire/treatmentlist */
body[id="module-medicalintake-submit"] .herhealth-my-account {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  body[id="module-medicalintake-submit"] .herhealth-my-account {
    padding: 0 2rem;
  }
}

body[id="module-medicalintake-submit"] .identity-content-wrapper {
  width: 100%;
}

body[id="module-medicalintake-submit"] .identity-grid {
  width: 100%;
}

body[id="module-medicalintake-submit"] .identity-main {
  width: 100%;
  min-width: 0;
}

/* ==========================================================================
   QUESTIONNAIRE COMPLETE PAGE STYLING
   ========================================================================== */

.quest-complete-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  text-align: center;
}

/* Success Header */
.quest-success-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f3f4f6;
}

.quest-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quest-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: #e11d48;
}

.quest-success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.quest-success-message {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

/* What Happens Next Section */
.quest-next-steps {
  text-align: left;
  background: #fafaf9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.quest-next-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 1rem 0;
}

.quest-next-title svg {
  width: 20px;
  height: 20px;
  stroke: #e11d48;
}

.quest-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quest-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.quest-steps-list li svg {
  width: 18px;
  height: 18px;
  stroke: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Reference ID Section */
.quest-reference {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFF7ED 100%);
  border: 1px solid #FECDD3;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.quest-reference-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #be123c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.quest-reference-label svg {
  width: 16px;
  height: 16px;
  stroke: #e11d48;
}

.quest-reference-code {
  display: block;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  font-size: 0.75rem;
  color: #1f2937;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  word-break: break-all;
  margin-bottom: 0.5rem;
}

.quest-reference-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
}

/* Action Buttons */
.quest-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.quest-btn svg {
  width: 20px;
  height: 20px;
}

.quest-btn-primary,
a.quest-btn-primary,
a.quest-btn-primary:link,
a.quest-btn-primary:visited {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  border: none;
}

.quest-btn-primary:hover,
a.quest-btn-primary:hover {
  background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.quest-btn-primary svg {
  stroke: #ffffff !important;
}

.quest-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.quest-btn-secondary:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.quest-btn-outline {
  background: transparent;
  color: #e11d48;
  border: 2px solid #FECDD3;
}

.quest-btn-outline:hover {
  background: #FFF1F2;
  border-color: #e11d48;
  color: #be123c;
}

/* Responsive */
@media (min-width: 640px) {
  .quest-complete-card {
    padding: 3rem;
  }

  .quest-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .quest-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .quest-complete-card {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .quest-success-icon {
    width: 60px;
    height: 60px;
  }

  .quest-success-icon svg {
    width: 30px;
    height: 30px;
  }

  .quest-success-title {
    font-size: 1.5rem;
  }

  .quest-reference-code {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   HISTORY DETAIL PAGE STYLING
   ========================================================================== */

/* Ensure history page uses full width like other pages */
body[id="module-medicalintake-history"] .herhealth-my-account {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  body[id="module-medicalintake-history"] .herhealth-my-account {
    padding: 0 2rem;
  }
}

body[id="module-medicalintake-history"] .identity-content-wrapper {
  width: 100%;
}

body[id="module-medicalintake-history"] .identity-grid {
  width: 100%;
}

body[id="module-medicalintake-history"] .identity-main {
  width: 100%;
  min-width: 0;
}

/* History Detail Card */
.hist-detail-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.hist-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hist-detail-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hist-detail-icon svg {
  width: 28px;
  height: 28px;
  stroke: #e11d48;
}

.hist-detail-info {
  flex: 1;
  min-width: 0;
}

.hist-detail-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.hist-detail-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

.hist-detail-date svg {
  width: 16px;
  height: 16px;
  stroke: #9ca3af;
}

.hist-detail-description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Responses Card */
.hist-responses-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.hist-responses-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFF7ED 100%);
  border-bottom: 1px solid #FECDD3;
}

.hist-responses-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.hist-responses-header h3 svg {
  width: 20px;
  height: 20px;
  stroke: #e11d48;
}

.hist-responses-count {
  font-size: 0.875rem;
  color: #6b7280;
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* Response Items */
.hist-responses-list {
  padding: 0;
}

.hist-response-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.hist-response-item:last-child {
  border-bottom: none;
}

.hist-response-number {
  width: 32px;
  height: 32px;
  background: #FFF1F2;
  color: #e11d48;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.hist-response-content {
  flex: 1;
  min-width: 0;
}

.hist-question {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.hist-answer {
  background: #fafaf9;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.hist-text-answer {
  font-size: 0.95rem;
  color: #1f2937;
  line-height: 1.6;
}

.hist-file-answer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hist-image-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hist-image-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  object-fit: contain;
}

.hist-image-preview img:hover {
  transform: scale(1.02);
}

.hist-filename {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.hist-filename svg {
  width: 14px;
  height: 14px;
}

.hist-file-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
  border-radius: 8px;
  color: #be123c;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hist-file-download:hover {
  background: #FFE4E6;
  color: #9f1239;
}

.hist-file-download svg {
  width: 18px;
  height: 18px;
}

.hist-timestamp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hist-timestamp svg {
  width: 14px;
  height: 14px;
}

/* Read-only Notice */
.hist-readonly-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hist-readonly-notice svg {
  width: 24px;
  height: 24px;
  stroke: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.hist-readonly-notice strong {
  display: block;
  color: #92400E;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hist-readonly-notice p {
  color: #B45309;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* No Responses */
.hist-no-responses {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.hist-no-responses svg {
  width: 48px;
  height: 48px;
  stroke: #9ca3af;
  margin-bottom: 1rem;
}

.hist-no-responses p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Action Buttons */
.hist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 640px) {
  .hist-detail-card {
    padding: 1.25rem;
  }

  .hist-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hist-detail-date {
    justify-content: center;
  }

  .hist-response-item {
    flex-direction: column;
    padding: 1.25rem;
  }

  .hist-response-number {
    align-self: flex-start;
  }

  .hist-responses-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hist-actions {
    flex-direction: column;
  }

  .hist-actions .quest-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   HISTORY LIST PAGE STYLING
   ========================================================================== */

/* Header Card */
.hist-list-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.hist-list-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hist-list-icon svg {
  width: 28px;
  height: 28px;
  stroke: #e11d48;
}

.hist-list-title-section {
  flex: 1;
}

.hist-list-title-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.hist-list-title-section p {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

/* Info Banner */
.hist-list-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFF7ED 100%);
  border: 1px solid #FECDD3;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  margin-bottom: 1rem;
}

.hist-list-info svg {
  width: 20px;
  height: 20px;
  stroke: #e11d48;
  flex-shrink: 0;
}

.hist-list-info span {
  font-size: 0.9rem;
  color: #be123c;
}

/* Questionnaire Cards */
.hist-list-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hist-list-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.hist-list-card:hover {
  border-color: #FECDD3;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.12);
  transform: translateY(-2px);
}

.hist-card-icon {
  width: 48px;
  height: 48px;
  background: #FFF1F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hist-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #e11d48;
}

.hist-card-content {
  flex: 1;
  min-width: 0;
}

.hist-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.hist-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hist-card-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.hist-card-date svg {
  width: 14px;
  height: 14px;
  stroke: #9ca3af;
}

.hist-card-id {
  font-size: 0.75rem;
  color: #9ca3af;
  font-family: 'SF Mono', 'Monaco', monospace;
}

.hist-card-arrow {
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.hist-card-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #9ca3af;
}

.hist-list-card:hover .hist-card-arrow {
  background: #FFF1F2;
}

.hist-list-card:hover .hist-card-arrow svg {
  stroke: #e11d48;
}

/* List Actions */
.hist-list-actions {
  display: flex;
  justify-content: center;
}

/* Empty State */
.hist-empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hist-empty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.hist-empty-icon svg {
  width: 40px;
  height: 40px;
  stroke: #e11d48;
}

.hist-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.75rem 0;
}

.hist-empty-state p {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 640px) {
  .hist-list-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hist-list-card {
    flex-wrap: wrap;
  }

  .hist-card-content {
    flex: 1 1 calc(100% - 64px);
  }

  .hist-card-arrow {
    display: none;
  }

  .hist-card-meta {
    gap: 0.5rem;
  }

  .hist-empty-state {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   DELETE BUTTON AND MODAL STYLING
   ========================================================================== */

/* Danger Button */
.quest-btn-danger,
a.quest-btn-danger,
button.quest-btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
}

.quest-btn-danger:hover,
a.quest-btn-danger:hover,
button.quest-btn-danger:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.quest-btn-danger svg {
  stroke: #ffffff !important;
}

/* Modal Overlay */
.hist-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Modal Container */
.hist-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-width: 420px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hist-modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.hist-modal-icon svg {
  width: 32px;
  height: 32px;
  stroke: #dc2626;
}

.hist-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.75rem 0;
}

.hist-modal p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.hist-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hist-modal-actions .quest-btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .hist-modal-actions {
    flex-direction: row;
  }

  .hist-modal-actions .quest-btn {
    flex: 1;
  }
}

/* Success Message Styling */
.hist-success-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  border: 1px solid #6EE7B7;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hist-success-message svg {
  width: 24px;
  height: 24px;
  stroke: #059669;
  flex-shrink: 0;
}

.hist-success-message span {
  font-size: 0.95rem;
  color: #065F46;
  font-weight: 500;
}

/* ==========================================================================
   CMS PAGE STYLING - TWO COLUMN LAYOUT
   ========================================================================== */

/* CMS Page Wrapper - Match standard layout */
body[id="cms"] #wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important;
}

@media (min-width: 640px) {
  body[id="cms"] #wrapper {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* CMS Page Content Area */
.cms-page-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* CMS Header */
.cms-header {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-bottom: 1px solid #FECDD3;
  padding: 2rem;
}

.cms-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cms-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
  border-radius: 2px;
}

/* CMS Content Body */
.cms-content-body {
  padding: 2rem;
  color: #374151;
  line-height: 1.8;
}

.cms-content-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #FFF1F2;
}

.cms-content-body h2:first-child {
  margin-top: 0;
}

.cms-content-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #374151;
  margin: 1.5rem 0 0.75rem 0;
}

.cms-content-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cms-content-body ul,
.cms-content-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.cms-content-body li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cms-content-body a {
  color: #e11d48;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cms-content-body a:hover {
  color: #be123c;
  text-decoration: underline;
}

.cms-content-body strong {
  color: #1f2937;
  font-weight: 600;
}

.cms-content-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: #fafaf9;
  border-left: 4px solid #e11d48;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
}

.cms-content-body table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.cms-content-body th,
.cms-content-body td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.cms-content-body th {
  background: #FFF1F2;
  font-weight: 600;
  color: #1f2937;
}

.cms-content-body tr:last-child td {
  border-bottom: none;
}

.cms-content-body tr:hover td {
  background: #fafaf9;
}

/* Right Column Sidebar Styling for CMS */
body[id="cms"] #right-column {
  padding-left: 1rem;
}

body[id="cms"] #right-column .block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

body[id="cms"] #right-column .block .title_block {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-bottom: 1px solid #FECDD3;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

body[id="cms"] #right-column .block .block_content {
  padding: 1rem;
}

body[id="cms"] #right-column .block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body[id="cms"] #right-column .block ul li {
  margin: 0;
}

body[id="cms"] #right-column .block ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

body[id="cms"] #right-column .block ul li a:hover {
  background: #FFF1F2;
  color: #e11d48;
}

body[id="cms"] #right-column .block ul li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #d1d5db;
  border-radius: 50%;
  transition: background 0.2s ease;
}

body[id="cms"] #right-column .block ul li a:hover::before {
  background: #e11d48;
}

/* Responsive */
@media (max-width: 991px) {
  body[id="cms"] #right-column {
    padding-left: 0;
    padding-right: 0;
    margin-top: 2rem;
  }

  .cms-header {
    padding: 1.5rem;
  }

  .cms-title {
    font-size: 1.5rem;
  }

  .cms-content-body {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cms-header {
    padding: 1.25rem;
  }

  .cms-title {
    font-size: 1.35rem;
  }

  .cms-title::before {
    height: 24px;
  }

  .cms-content-body {
    padding: 1.25rem;
  }

  .cms-content-body h2 {
    font-size: 1.2rem;
  }
}

/* ============================================
   Stores Page Styles
   ============================================ */

/* Stores Page Wrapper - Match standard layout */
body[id="stores"] #wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important;
}

@media (min-width: 640px) {
  body[id="stores"] #wrapper {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Stores Page Content */
.stores-page-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Stores Header */
.stores-header {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-bottom: 1px solid #FECDD3;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stores-header-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stores-header-icon svg {
  color: #fff;
  stroke: #fff;
}

.stores-header-text {
  flex: 1;
}

.stores-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.stores-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

/* Stores Content Body */
.stores-content-body {
  padding: 1.5rem;
}

/* Store Card */
.store-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-card:last-child {
  margin-bottom: 0;
}

.store-card:hover {
  border-color: #FECDD3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.1);
}

.store-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .store-card-inner {
    grid-template-columns: 140px 1fr auto;
    gap: 1.5rem;
  }
}

/* Store Image */
.store-image {
  width: 100%;
  max-width: 140px;
  border-radius: 8px;
  overflow: hidden;
}

.store-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Store Info */
.store-info {
  flex: 1;
}

.store-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.75rem 0;
}

.store-address {
  display: flex;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.store-address svg {
  flex-shrink: 0;
  color: #e11d48;
  margin-top: 2px;
}

.store-address address {
  font-style: normal;
  line-height: 1.5;
}

/* Store Contact */
.store-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.store-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.store-contact-item svg {
  color: #e11d48;
  flex-shrink: 0;
}

/* Store Hours */
.store-hours {
  padding: 1rem;
  background: #FFF1F2;
  border-radius: 8px;
  min-width: 180px;
}

.store-hours-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #be123c;
  margin: 0 0 0.75rem 0;
}

.store-hours-title svg {
  color: #e11d48;
}

.store-hours-table {
  width: 100%;
  font-size: 0.8rem;
}

.store-hours-table th {
  color: #6b7280;
  font-weight: 500;
  text-align: left;
  padding: 0.25rem 0.5rem 0.25rem 0;
  vertical-align: top;
}

.store-hours-table td {
  color: #1f2937;
  font-weight: 500;
  padding: 0.25rem 0;
}

.store-hours-table td span {
  display: block;
}

/* Store Toggle Button */
.store-details-toggle {
  border-top: 1px solid #f3f4f6;
  padding: 0;
}

.store-toggle-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e11d48;
  cursor: pointer;
  transition: background 0.2s ease;
}

.store-toggle-btn:hover {
  background: #FFF1F2;
}

.store-toggle-btn svg {
  transition: transform 0.2s ease;
}

.store-toggle-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Store Extra Details */
.store-extra-details {
  padding: 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
}

.store-note {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.store-note:last-child {
  margin-bottom: 0;
}

/* Stores Empty State */
.stores-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.stores-empty svg {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.stores-empty p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Right Column Sidebar for Stores */
body[id="stores"] #right-column {
  padding-left: 1rem;
}

body[id="stores"] #right-column .block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

body[id="stores"] #right-column .block .title_block,
body[id="stores"] #right-column .block h4 {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 1px solid #FECDD3;
}

body[id="stores"] #right-column .block .block_content,
body[id="stores"] #right-column .block > ul {
  padding: 1rem 1.25rem;
}

body[id="stores"] #right-column .block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body[id="stores"] #right-column .block ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

body[id="stores"] #right-column .block ul li:last-child {
  border-bottom: none;
}

body[id="stores"] #right-column .block ul li a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

body[id="stores"] #right-column .block ul li a:hover {
  color: #e11d48;
}

body[id="stores"] #right-column .block ul li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #FECDD3;
  border-radius: 50%;
  transition: background 0.2s ease;
}

body[id="stores"] #right-column .block ul li a:hover::before {
  background: #e11d48;
}

/* Responsive */
@media (max-width: 991px) {
  body[id="stores"] #right-column {
    padding-left: 0;
    padding-right: 0;
    margin-top: 2rem;
  }

  .stores-header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .stores-title {
    font-size: 1.5rem;
  }

  .store-card-inner {
    grid-template-columns: 1fr;
  }

  .store-image {
    max-width: 100%;
  }

  .store-hours {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .stores-header {
    padding: 1.25rem;
  }

  .stores-header-icon {
    width: 48px;
    height: 48px;
  }

  .stores-header-icon svg {
    width: 24px;
    height: 24px;
  }

  .stores-title {
    font-size: 1.35rem;
  }

  .stores-content-body {
    padding: 1rem;
  }

  .store-card-inner {
    padding: 1rem;
  }

  .store-name {
    font-size: 1.1rem;
  }
}

/* ============================================
   Contact Page Styles (Two-Column Layout)
   ============================================ */

/* Contact Page Wrapper - Match standard layout */
body[id="contact"] #wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3rem 1rem !important;
}

@media (min-width: 640px) {
  body[id="contact"] #wrapper {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Contact Page Content */
.contact-page-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Contact Header */
.contact-header {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-bottom: 1px solid #FECDD3;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-header-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-header-icon svg {
  color: #fff;
  stroke: #fff;
}

.contact-header-text {
  flex: 1;
}

.contact-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.contact-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

/* Contact Content Body */
.contact-content-body {
  padding: 2rem;
}

/* Style the contact form within the new layout */
.contact-page-content .contact-form {
  max-width: 100%;
}

.contact-page-content .form-group {
  margin-bottom: 1.25rem;
}

.contact-page-content .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-page-content .form-control:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
  outline: none;
}

.contact-page-content textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-page-content label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-page-content .btn-primary {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-page-content .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* Right Column Sidebar for Contact */
body[id="contact"] #right-column {
  padding-left: 1rem;
}

body[id="contact"] #right-column .block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

body[id="contact"] #right-column .block .title_block,
body[id="contact"] #right-column .block h4 {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 1px solid #FECDD3;
}

body[id="contact"] #right-column .block .block_content,
body[id="contact"] #right-column .block > ul {
  padding: 1rem 1.25rem;
}

body[id="contact"] #right-column .block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body[id="contact"] #right-column .block ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

body[id="contact"] #right-column .block ul li:last-child {
  border-bottom: none;
}

body[id="contact"] #right-column .block ul li a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

body[id="contact"] #right-column .block ul li a:hover {
  color: #e11d48;
}

body[id="contact"] #right-column .block ul li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #FECDD3;
  border-radius: 50%;
  transition: background 0.2s ease;
}

body[id="contact"] #right-column .block ul li a:hover::before {
  background: #e11d48;
}

/* Responsive */
@media (max-width: 991px) {
  body[id="contact"] #right-column {
    padding-left: 0;
    padding-right: 0;
    margin-top: 2rem;
  }

  .contact-header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-content-body {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .contact-header {
    padding: 1.25rem;
  }

  .contact-header-icon {
    width: 48px;
    height: 48px;
  }

  .contact-header-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-title {
    font-size: 1.35rem;
  }

  .contact-content-body {
    padding: 1.25rem;
  }
}

/* ============================================
   Order Return Card Styles
   ============================================ */

.order-return-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
}

.order-return-header {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #FECDD3;
}

.order-return-header svg {
  color: #e11d48;
}

.order-return-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.order-return-content {
  padding: 1.5rem;
}

.order-return-content p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.order-return-content .table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.order-return-content .table th,
.order-return-content .table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}

.order-return-content .table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.order-return-content .table td {
  color: #4b5563;
}

.order-return-content input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #e11d48;
}

.order-return-content select,
.order-return-content input[type="number"] {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.85rem;
}

.order-return-content select:focus,
.order-return-content input[type="number"]:focus {
  outline: none;
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.order-return-content .btn,
.order-return-content button[type="submit"] {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-return-content .btn:hover,
.order-return-content button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* Mobile responsive for return table */
@media (max-width: 768px) {
  .order-return-content .table {
    display: block;
    overflow-x: auto;
  }
  
  .order-return-content .hidden-xs-down {
    display: none !important;
  }
}
