
/* ================= Variables ==================== */
/* ==== colors ==== */
/* ==== spacing ==== */
/* Checkout fallbacks (do not modify landing <head> vars) */
:root {
  --text-placeholder: rgba(253, 253, 245, 0.65);
  --main-text-color: var(--text-primary);
}

/**
 * Base Styles
 * This file contains CSS resets and global styles for all HTML elements.
 */
/* ============================
   Reset Styles
   ============================
*/
/* Box Sizing Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}


/** FONTS */
/*== Satoshi ==*/
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local("Satoshi Black"), url("/assets/BASE/fonts/satoshi/Satoshi-Black.ttf") format("truetype");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Satoshi Bold"), url("/assets/BASE/fonts/satoshi/Satoshi-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Satoshi Medium"), url("/assets/BASE/fonts/satoshi/Satoshi-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Satoshi Regular"), url("/assets/BASE/fonts/satoshi/Satoshi-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("Satoshi Variable"), url("/assets/BASE/fonts/satoshi/Satoshi-Variable.ttf") format("truetype");
}
/* ================= Variables ==================== */
/* ==== colors ==== */
/* ==== spacing ==== */
/**
 * Base Styles
 * This file contains CSS resets and global styles for all HTML elements.
 */
/* ============================
   Reset Styles
   ============================
*/
/* Box Sizing Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Remove default margin and padding */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* Reset body and box styles */
body {
  line-height: 1;
}

/* Reset list styles */
ol,
ul {
  list-style: none;
}

/* Reset blockquote styles */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

/* Reset table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--site-bg); 
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-secondary); 
  border-radius: 20px; 
  border: 3px solid var(--site-bg); 
}

/* For Internet Explorer and Edge */
body {
  scrollbar-face-color: var(--text-secondary);
  scrollbar-track-color: var(--site-bg);
}

/* ============================
   Global Styles
   ============================
*/
/* Set default font family */
body,
body * {
  font-family: var(--font-family, "Satoshi", "Inter", sans-serif);
}

/* Arabic pages */
body:lang(ar),
body:lang(ar) * {
  font-family: "Readex Pro", sans-serif;
}

h1 {
  font-family: "Satoshi", "Inter", sans-serif;
}
h1:lang(ar) {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

/* Remove default margin and padding */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* Reset body and box styles */
body {
  line-height: 1;
}

/* Reset list styles */
ol,
ul {
  list-style: none;
}

/* Reset blockquote styles */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

/* Reset table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* For webkit-based browsers */
::-webkit-scrollbar {
  background-color: transparent; /* Removes scrollbar background */
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: transparent; /* Removes track background */
}

::-webkit-scrollbar-thumb {
  background-color: transparent; /* Removes thumb background */
  border-radius: 20px; 
  border: 3px solid var(--site-bg); 
}

/* For Internet Explorer and Edge */
body {
  scrollbar-face-color: var(--text-secondary);
  scrollbar-track-color: var(--site-bg);
}

/* ============================
   Global Styles
   ============================
*/

/* Remove outline on focused elements */
:focus {
  outline: none;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Clearfix for clearing floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

body {
  background-color: var(--site-bg);
  color: var(--text-primary);
}

button{
  cursor: pointer;
}

a {
  text-decoration: none;
}

.logo {
  max-height: 50px;
  max-width: 120px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.hidden{
  display: none;
}

/* ================= Layout ==================== */
.container {
  /* Small */
  padding: 0 20px;
  margin: auto;
  /* Medium */
  /* Large */
}
@media (min-width: 768px) {
  .container {
    width: 808px;
  }
}
@media (min-width: 870px) {
  .container {
    width: 870px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}
.landing .container{
  max-width:900px;
}
.landing .container .text{
  margin-bottom: 30px;
}
/* ================= Header ==================== */
header:not(.landing) {
  margin-bottom: 56px;
}

header .announcement {
  background-color: var(--announcement-bg);
  padding: 12px 0;
  position: relative;
  overflow: hidden;
  animation: fadeInDown 0.6s ease-out;
  font-family: var(--font-family, "Satoshi", "Inter", sans-serif);
}
header .announcement::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: topBarSlide 5s linear infinite;
}
header .announcement p {
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  font-family: inherit;
}
header nav {
  padding: 20px 0;
  background-color: var(--components-bg);
}
header.landing nav {
  display: none;
}

@media (min-width: 768px) {
  header nav {
    padding: 28px 0;
  }

}

header .sticky-btn-container{
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 20;
  background-color: var(--components-bg);
  backdrop-filter: blur(20px);
  padding: 16px 20px;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
  /* Avoid layout shift: keep position fixed and only fade in */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

header .sticky-btn-container.show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

header .sticky-btn-container button#sticky-buy-btn {
  width: 100%;
  max-width: 400px;
  text-align: center;
  background-color: var(--cta-button-bg);
  border: 2px solid var(--cta-button-border);
  color: var(--cta-button-text);
  border-radius: 12px;
  height: 52px;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
header .sticky-btn-container button#sticky-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
header .sticky-btn-container button#sticky-buy-btn:active {
  transform: translateY(0);
}

/* ================= Hero ==================== */
.hero {
  padding: 15px 0;
  animation: fadeIn 0.6s ease-out;
}
.hero.landing{
  padding:0;
  margin: 10px 0 30px;
  /* Reduce CLS - use containment and stable dimensions */
  contain: layout style;
}
.hero .product {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  animation: fadeInUp 0.7s ease-out;
}
@media (min-width: 768px) {
  .hero .product {
    flex-direction: row;
    align-items: start;
    gap: 30px;
  }
}

.hero .product .product-imgs{
  width: 100%;
}
.hero.landing .product .product-imgs{
  display:none;
}

@media screen and (min-width: 768px) {
  .hero .product .product-imgs {
    display: flex;
    flex-direction: var(--gallery-flex-direction);
    gap: 20px;
    align-items: start;
    position: sticky;
    top: 1rem;
    z-index: 2;
    transition: top 0.5s ease;
    padding-top: 0;
    flex: 1;
  }
}
.hero .product .product-imgs .main-img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
  /* Prevent CLS - explicit dimensions */
  width: 440px;
  height: 440px;
  aspect-ratio: 1 / 1;
  contain: layout paint style;
}
.hero .product .product-imgs .main-img-container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}
.hero .product .product-imgs .main-img-container .main-img {
  height: 440px;
  width: 440px;
  /* Prevent CLS - reserve exact space before image loads */
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform 0.4s ease;
  /* Prevent layout shifts */
  contain: layout paint;
}
.hero .product .product-imgs .main-img-container:hover .main-img {
  transform: scale(1.02);
}
@media screen and (min-width: 1200px){
  .hero .product .product-imgs .main-img-container,
  .hero .product .product-imgs .main-img-container .main-img{
    height: 550px;
    width: 550px;
  }
}

@media screen and (max-width: 767px){
  .hero .product .product-imgs .main-img-container,
  .hero .product .product-imgs .main-img-container .main-img{
    height: 660px;
    width: 660px;
    max-width: 100%;
  }
}

@media screen and (max-width: 600px){
  .hero .product .product-imgs .main-img-container,
  .hero .product .product-imgs .main-img-container .main-img{
    height: 500px;
    width: 500px;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px){
  .hero .product .product-imgs .main-img-container,
  .hero .product .product-imgs .main-img-container .main-img{
    height: 400px;
    width: 400px;
    max-width: 100%;
  }
}
@media screen and (max-width: 350px){
  .hero .product .product-imgs .main-img-container,
  .hero .product .product-imgs .main-img-container .main-img{
    height: 320px;
    width: 320px;
    max-width: 100%;
  }
}
.hero .product .product-imgs .main-img-container .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero .product .product-imgs .main-img-container .slider-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero .product .product-imgs .main-img-container .slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.hero .product .product-imgs .main-img-container .slider-btn svg path {
  stroke: #333;
}

@media screen and (min-width: 768px) {
  .hero .product .product-imgs .main-img-container .slider-btn svg {
    width: 24px;
    height: 24px;
  }
}

.hero .product .product-imgs .main-img-container .prev-btn {
  left: 5px;
}
.hero .product .product-imgs .main-img-container .next-btn {
  right: 5px;
}
.hero .product .product-imgs .slide-imgs {
  display: flex;
  flex-direction: var(--gallery-slider-flex-direction);
  justify-content: start;
  gap: 10px;
  margin-top: 10px;
  max-width: 100%;
  overflow-x: scroll;
  background-color: transparent;
}
.hero .product .product-imgs .slide-imgs img.slide-img {
  width: 70px;
  height: 70px;
  /* Prevent CLS - reserve exact space */
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius);
  -o-object-fit: cover;
     object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
  border: 2px solid transparent;
  /* Lazy load thumbnails */
  content-visibility: auto;
}
.hero .product .product-imgs .slide-imgs img.slide-img:hover {
  opacity: 1;
  border-color: var(--border);
}

@media screen and (min-width: 768px) {
  .hero .product .product-imgs .slide-imgs img.slide-img{
    width: 85px;
    height: 85px;
  }
}

@media screen and (max-width: 768px) {
  .hero .product .product-imgs .slide-imgs {
    flex-direction: row;
  }
}

.hero .product .product-imgs .slide-imgs img.slide-img.selected {
  border: 2px solid var(--cta-button-bg);
  box-sizing: border-box;
}
.hero .product .product-details {
  border-radius: var(--border-radius);
  background-color: var(--product-details-bg-color);
  border: 3px solid var(--product-details-border-color);
  padding: var(--product-details-padding);
  position: relative;
  animation: fadeInUp 0.6s ease-out;
  transition: all 0.3s ease;
  box-shadow: none;
  backdrop-filter: none;
  /* Prevent CLS - contain layout changes */
  contain: layout style;
}
/* Decorative line only when border is visible */
.hero .product .product-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.35;
  display: none;
}
.hero .product .product-details:not([style*="border-color: transparent"])::before {
  display: block;
}
@media screen and (max-width: 768px) {
  .hero .product .product-details {
    width: 100%;
  }
}
@media screen and (min-width: 768px) {
  .hero .product .product-details {
    flex: 1;
  }
}
.hero .product .product-details .product-info {
  margin-bottom: 24px;
}
.hero .product .product-details .product-info .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
}
@media screen and (max-width: 500px) {
  .hero .product .product-details .product-info .header-wrapper {
    flex-direction: column;
  }
}
.hero .product .product-details .product-info .title-wrapper {
  display: flex;
  flex-direction: var(--title-wrapper-display-direction);
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
@media screen and (max-width: 500px) {
  .hero .product .product-details .product-info .title-wrapper {
    flex-direction: row;
    align-items: center;
  }
}
.hero .product .product-details .product-info .title-wrapper h1.title {
  font-size: 34px;
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  /* Prevent CLS from font swap */
  min-height: 1.2em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
  margin-bottom: 0;
}
.hero .product .product-details .product-info .title-wrapper .promo-badge{
  border-radius: 100px;
  background-color: var(--promo);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  min-height: 34px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.hero .product .product-details .product-info .title-wrapper .promo-badge.hidden{
  display: none;
}
.hero .product .product-details .product-info .title-wrapper .promo-badge:lang(ar) {
  flex-direction: row-reverse;
}
.hero .product .product-details .product-info .product-price-wrapper {
  display: var(--price-section-display);
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.hero .product .product-details .product-info .product-price-header-wrapper {
  display: var(--price-in-header-display);
  flex-direction: column;
  align-items: end;
  gap: 10px;
}

@media screen and (max-width: 500px) {
  .hero .product .product-details .product-info .product-price-header-wrapper {
    align-items: start;
  }
  
}

.hero .product .product-details .product-info .product-price-wrapper .price {
  font-weight: 700;
  font-size: clamp(32px, 6vw, 42px);
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.02em;
}
.hero .product .product-details .product-info .product-price-wrapper .price span.currency {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.hero .product .product-details .product-info .product-price-wrapper .crossed-price-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--promo);
  font-size: 16px;
  font-weight: 700;
}
.hero .product .product-details .product-info .product-price-wrapper .crossed-price-wrapper.hidden {
  display: none;
}
.hero .product .product-details .product-info .product-price-wrapper .crossed-price-wrapper .crossed-price {
  font-weight: 500;
  font-size: 25px;
  text-decoration: line-through;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  gap: 5px;
}
.hero .product .product-details .product-info .product-price-wrapper .crossed-price-wrapper .crossed-price-header {
  font-weight: 500;
  font-size: 25px;
  text-decoration: line-through;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 900;
}
.hero .product .product-details .product-info .product-price-wrapper .crossed-price-wrapper .crossed-price-title {
  text-transform: capitalize;
}
.hero .product .product-details .product-info .product-price-header-wrapper .price {
  font-weight: 700;
  font-size: 32px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -1.26px;
}
/* ========= START VARIANTS ============ */
.hero .product .product-details .product-info .variants{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option{
  margin-bottom: 12px;
  display: block;
  font-size: 14px;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value{
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"]{
  min-width: 105px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding: 8px 12px;
  background-color: transparent;
  border-radius: var(--border-radius);
  border: 1px var(--border) solid;
  display:flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"]:hover:not(.selected) {
  border-color: var(--primary);
  background-color: rgba(216, 184, 99, 0.1);
  transform: translateY(-2px);
}
@media screen and (max-width: 768px) {
  .hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"]{
    min-width: 70px;
  }
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"].selected{
  background-color: var(--selected-variant-option);
  position: relative;
  color: var(--selected-variant-option-text);
  border: 2px solid var(--selected-variant-option);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  outline: none;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"]:not(.selected){
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="2"]{
  width: 32px;
  height: 32px;
  border: 2px #CBD5E1 solid;
  border-radius: var(--border-radius);
  display: block;
  position: relative;
}
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="2"].selected{
  border-color: var(--selected-variant-option);
  background-color: transparent;
  box-shadow: 0 0 0 3px rgba(140, 123, 111, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
}
.hero .product .product-details .product-info .variants .variants-wrapper.select-wrapper{
  position: relative;
}
.hero .product .product-details .product-info .variants .variants-wrapper.select-wrapper::before{
  content: url("./MEDIA/chevron-down.svg");
  font-size: 10px;
  position: absolute;
  z-index: 10;
  right: 10px;
  bottom: 12px;
  transform: translateY(-50%);
}
.hero .product .product-details .product-info .variants .variants-wrapper.select-wrapper:dir(rtl)::before{
  left: 10px;
  right: auto;
}

.hero .product .product-details .product-info .variants .variants-wrapper select.option-values{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--components-bg);
  padding: 16px 12px;
  outline-color: var(--border);
  border-radius: 6px;
}
.hero .product .product-details .product-info .variants .variants-wrapper select.option-values:focus {
  outline: none;
  box-shadow: none;
}
.hero .product .product-details .product-info .variants .variants-wrapper select.option-values:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.hero .product .product-details .product-info .variants .variants-quantity .cart{
  color: var(--text-primary);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero .product .product-details .product-info .variants .variants-quantity .quantity-controller .title{
  display: block;
  text-transform: capitalize;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hero .product .product-details .product-info .variants .variants-quantity .quantity-controller .btns{
  display: flex;
  gap: 10px;
  align-items: center;
  border: solid 1px var(--quantity-container-border-color);
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px;
  border-radius: var(--border-radius);
}
.hero .product .product-details .product-info .variants .variants-quantity .quantity-controller .btns button {
  background-color: transparent;
  border-radius: var(--border-radius);
  border: 1px solid var(--quantity-inner-button-border-color);
  width: 32px;
  height: 32px;
}

.hero .product .product-details .product-info .variants .variants-quantity .quantity-controller .btns button img {
  transform: translateY(2px);
}
.product-info .variants .add-variant{
  color: var(--add-variant-button);
  background-color: transparent;
  border: 2px dashed var(--add-variant-button);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 16px;
  text-transform: capitalize;
  transition: all 0.2s ease;
}
.product-info .variants .add-variant:hover {
  background-color: rgba(140, 123, 111, 0.08);
  border-style: solid;
}
.product-info .variants .add-variant svg{
  stroke: var(--add-variant-button);
}
.product-info .variants .add-variant:dir(rtl){
  flex-direction: row-reverse;
}
.order-summary details .content .info-summary-container{
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--border-radius);
  margin-top: 20px;
}
.order-summary details .content .info-summary-container .img-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.order-summary details .content .info-summary-container .img-wrapper .product-img {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  -o-object-fit: cover;
     object-fit: cover;
}
.order-summary details .content .info-summary-container .img-wrapper .title{
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.order-summary details .content .variant-rows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-summary details .content .variant-rows-wrapper.scrollable{
  max-height: 250px;
  overflow-y: scroll;
}

.order-summary details .content .variant-row .info-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
 .order-summary details .content .variant-row .info{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  flex: 1;
  padding: 12px;
  background-color: var(--variant-summary-bg);
}

.order-summary details .content .variant-row .remove-btn{
  background-color: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  height: fit-content;
  padding: 0;
}
.order-summary details .content .variant-row .remove-btn svg{
  stroke: var(--total-price);
}
.order-summary details .content .variant-row .variant-options ul{
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
 .order-summary details .content .variant-row .variant-options ul li {
  color: var(--text-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}

.order-summary details .content .variant-row .order-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.order-summary details .content .variant-row .order-quantity span.title {
  font-size: 12px;
  color: var(--text-primary);
  margin-right: 5px;
}
.order-summary details .content .variant-row .order-quantity span.title:lang(ar) {
  margin-right: 0;
  margin-left: 5px;
}
@media screen and (max-width: 403px) {
  .order-summary details .content .variant-row .order-quantity span.title {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (min-width: 768px) {
  .order-summary details .content .variant-row .order-quantity span.title {
    font-size: 14px;
  }
}
.order-summary details .content .variant-row  span.quantity {
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--total-price);
  border-radius: var(--border-radius);
  padding: 4px;
}
.order-summary details .content .variant-row .product-img {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 10px;
}
:dir(rtl) .order-summary details .content .variant-row .product-img {
  margin-right: 0;
  margin-left: 10px;
}
.order-summary details .content .variant-row .row-price{
  font-size: 12px;;
  color: var(--text-primary);
}
#order-form #empty-cart-msg{
  color: var(--promo);
  font-size: 13px;
  font-weight: 400;
  margin-top: 20px;
  text-align: center;
  display: none;

}
/* ========= END VARIANTS ============ */
.hero .product .product-details .product-info .product-hr {
  margin: 20px 0;
  display: var(--hr-display);
  border: 1px solid var(--primary-light)
}
.hero .product .product-details .product-info .overview {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
/* ============ START OPTIONS ============== */
#order-form .options {
  margin-bottom:20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#order-form .options .option{
  margin-bottom: 10px;
  background-color: transparent;
  padding: 16px 12px;
  border-radius: var(--border-radius);
  border: solid var(--border) 2px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#order-form .options .option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}
#order-form .options:not(.hybrid) .option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
#order-form .options .option .option-data-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

#order-form .options .option .badge{
  position: absolute;
  top: -10px;
  left: 16px;
  background-color: var(--primary);
  padding: 4px 10px;
  border-radius: 100px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
#order-form:dir(rtl) .options .option .badge{
  left: auto;
  right: 12px;
}

#order-form .options .option .name-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
}
#order-form .options .option .name-wrapper .custom-radio{
  width: 16px;
  height: 16px;
  min-width: 16px;
  position: relative;
  border-radius: 100%;
  border: 0.89px var(--text-secondary) solid;
}
#order-form .options .option.selected{
  border: solid 2px var(--primary);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(216, 184, 99, 0.15);
  transform: translateY(-2px);
}
#order-form .options:not(.hybrid) .option.selected{
  background: linear-gradient(135deg, var(--primary-light), rgba(224, 216, 200, 0.8));
}
#order-form .options .option.selected .name-wrapper .custom-radio::before{
  content: "";
  width: 70%;
  height: 70%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary);
}
#order-form .options .option.selected .name-wrapper .custom-radio{
  border-color: var(--primary);
}
option {
  color: #000000; /* Text color of the options in the dropdown */
}
#order-form .options .option .price-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
}
#order-form .options .option .price-wrapper .currency{
  text-transform: uppercase;
}
#order-form .options .option .price-wrapper .price, #order-form .options .option .price-wrapper .crossed-price{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
#order-form .options .option .price-wrapper .price{
  font-size: 15px;
}
#order-form .options .option .price-wrapper .crossed-price{
  font-size: 13px;
  text-decoration: line-through;
  color: var(--text-secondary);
  margin-top: 5px;
}
#order-form .options .option .price-wrapper .free-shipping{
  font-size: 13px;
  font-weight: 600;
  color: #22C55E;
  margin-top: 9px;
}
/* ============ END OPTIONS ================ */
/* ============ START OPTIONS WITH VARIANTS =========== */
#order-form .options .option .variants-container {
  display: none;
}
#order-form .options .option.selected .variants-container{
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
#order-form .options .option .variants-container .choice-wrapper{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#order-form .options .option .variants-container .variants .choice-title{
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}
:lang(ar) #order-form .options .option .variants-container .variants .choice-title{
  font-family: "Readex Pro", sans-serif;
}
#order-form .options .option .variants{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#order-form .options .option .variants .variants-wrapper .option{
  margin-bottom: 12px;
  display: block;
  font-size: 14px;
}
#order-form .options .option .variants .variants-wrapper .option-values{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#order-form .options .option .variants .variants-wrapper .option-values .option-value{
  cursor: pointer;
}
#order-form .options .option .variants .variants-wrapper .option-values .option-value[data-type="1"]{
  min-width: 105px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding: 6px;
  background-color: transparent;
  border-radius: var(--border-radius);
  border: 1px var(--border) solid;
  display:flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  #order-form .options .option .variants .variants-wrapper .option-values .option-value[data-type="1"]{
    min-width: 70px;
  }
}
#order-form .options .option .variants .variants-wrapper .option-values .option-value[data-type="1"].selected{
  background-color: var(--selected-variant-option);
  position: relative;
  color: var(--selected-variant-option-text);
  border: 2px solid var(--selected-variant-option);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  outline: none;
}
#order-form .options .option .variants .variants-wrapper .option-values .option-value[data-type="1"]:not(.selected){
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);  
}
#order-form .options .option .variants .variants-wrapper .option-values .option-value[data-type="2"]{
  width: 32px;
  height: 32px;
  border: 2px #CBD5E1 solid;
  border-radius: var(--border-radius);
  display: block;
  position: relative;
}
#order-form .options .option .variants .variants-wrapper .option-values .option-value[data-type="2"].selected{
  border-color: var(--selected-variant-option);
  background-color: transparent;
  box-shadow: 0 0 0 3px rgba(140, 123, 111, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
}
#order-form .options .option .variants .variants-wrapper.select-wrapper{
  position: relative;
}
#order-form .options .option .variants .variants-wrapper.select-wrapper::before{
  content: url("./MEDIA/chevron-down.svg");
  font-size: 10px;
  position: absolute;
  z-index: 10;
  right: 10px;
  bottom: 12px;
  transform: translateY(-50%);
}
#order-form .options .option .variants .variants-wrapper.select-wrapper:dir(rtl)::before{
  left: 10px;
  right: auto;
}

#order-form .options .option .variants .variants-wrapper select.option-values{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--components-bg);
  padding: 16px 12px;
  outline-color: var(--border);
  border-radius: 6px;
}
#order-form .options .option .variants .variants-wrapper select.option-values:focus {
  outline: none;
  box-shadow: none;
}
#order-form .options .option .variants .variants-wrapper select.option-values:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
/* ============ END OPTIONS WITH VARIANTS =========== */

/* ============ START ORDER FORM =========== */
.hero .product .product-details #order-form {
  margin-bottom: 30px;
}

/* ============================
   Landing checkout overhaul
   Scoped to .product-details.checkout
   ============================ */
.hero .product .product-details.checkout {
  position: relative;
}

.hero .product .product-details.checkout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 500px at 100% 0%, rgba(216, 184, 99, 0.10), rgba(216, 184, 99, 0) 60%),
    radial-gradient(900px 500px at 0% 35%, rgba(224, 216, 200, 0.06), rgba(224, 216, 200, 0) 60%);
  opacity: 1;
}

.hero .product .product-details.checkout::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border: 1px solid rgba(216, 184, 99, 0.22);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(253, 253, 245, 0.04) inset;
}

.hero .product .product-details.checkout > * {
  position: relative;
  z-index: 1;
}

.hero .product .product-details.checkout .checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px) {
  .hero .product .product-details.checkout .checkout-layout {
    grid-template-columns: 1fr 340px;
    gap: 22px;
    align-items: start;
  }
}

.hero .product .product-details.checkout #order-form {
  margin-bottom: 0;
}

.hero .product .product-details.checkout #order-form .inputs .field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero .product .product-details.checkout #order-form .inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 520px) {
  .hero .product .product-details.checkout #order-form .inputs {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }
}

.hero .product .product-details.checkout #order-form .inputs .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero .product .product-details.checkout #order-form .inputs .field label {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  opacity: 0.95;
}

.hero .product .product-details.checkout #order-form .inputs .field .field-hint {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.9;
}

.hero .product .product-details.checkout #order-form .inputs .field:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper {
  border: 1px solid rgba(216, 184, 99, 0.55);
  background-color: rgba(26, 26, 26, 0.85);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper .icon img {
  opacity: 0.9;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper:focus-within {
  border-color: rgba(216, 184, 99, 1);
  box-shadow:
    0 0 0 3px rgba(216, 184, 99, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.25);
  background-color: rgba(26, 26, 26, 0.95);
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper:focus-within .icon img {
  opacity: 1;
  transform: translateY(-1px);
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper input,
.hero .product .product-details.checkout #order-form .inputs .input-wrapper select {
  padding: 16px 12px;
  font-size: 15px;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper input::placeholder {
  color: var(--text-placeholder);
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper select {
  color: var(--text-placeholder);
}

.hero .product .product-details.checkout #order-form .inputs .input-wrapper select:valid {
  color: var(--text-primary);
}

.hero .product .product-details.checkout #order-form .checkout-row {
  margin: 4px 0 12px;
  padding: 14px;
  border: 1px solid rgba(216, 184, 99, 0.35);
  background-color: rgba(13, 13, 13, 0.18);
}

.hero .product .product-details.checkout #order-form .quantity-controller {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero .product .product-details.checkout #order-form .quantity-controller .title {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.hero .product .product-details.checkout #order-form .quantity-controller .btns {
  border: 1px solid rgba(216, 184, 99, 0.55);
  background-color: rgba(26, 26, 26, 0.85);
  padding: 10px 10px;
}

.hero .product .product-details.checkout #order-form .quantity-controller .btns button {
  border: 1px solid rgba(216, 184, 99, 0.65);
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.hero .product .product-details.checkout #order-form .quantity-controller .btns button:hover {
  background-color: rgba(216, 184, 99, 0.12);
  border-color: rgba(216, 184, 99, 1);
}

.hero .product .product-details.checkout #order-form .quantity-controller .btns button:active {
  transform: scale(0.98);
}

.hero .product .product-details.checkout #order-form button#buy-btn {
  height: 56px;
  margin-top: 10px;
  border-width: 3px;
  background-image: linear-gradient(180deg, rgba(216, 184, 99, 1), rgba(216, 184, 99, 0.86));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.3px;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.hero .product .product-details.checkout #order-form button#buy-btn:hover {
  filter: brightness(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.hero .product .product-details.checkout #order-form button#buy-btn:active {
  transform: translateY(1px);
}

.hero .product .product-details.checkout .checkout-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 900px) {
  .hero .product .product-details.checkout .checkout-aside {
    position: sticky;
    top: 18px;
  }
}

.hero .product .product-details.checkout .order-summary details {
  padding: 18px;
  border: 1px solid rgba(216, 184, 99, 0.55);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(13, 13, 13, 0.86));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.hero .product .product-details.checkout .order-summary details summary {
  padding: 4px 2px;
}

.hero .product .product-details.checkout .order-summary details summary svg path {
  fill: var(--text-primary) !important;
}

.hero .product .product-details.checkout .order-summary details .content .content-row {
  border-bottom: 1px solid rgba(216, 184, 99, 0.25);
}

.hero .product .product-details.checkout .order-summary details .content .content-row:first-child {
  border: 1px solid rgba(216, 184, 99, 0.35);
  background-color: rgba(38, 38, 38, 0.55);
}

.hero .product .product-details.checkout .order-summary details .content .content-row .product-img {
  border: 1px solid rgba(216, 184, 99, 0.35);
}

.hero .product .product-details #order-form .form-title{
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 15px;
}

@media screen and (min-width: 456px) {
  .hero .product .product-details #order-form .inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 456px) {
  .hero .product .product-details #order-form .inputs {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
  }
}
.hero .product .product-details #order-form .inputs div.input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  background-color: var(--components-bg);
  outline-color: var(--text-primary);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hero .product .product-details #order-form .inputs div.input-wrapper:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 
    0 0 0 3px rgba(216, 184, 99, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 456px) {
  .hero .product .product-details #order-form .inputs div.input-wrapper {
    margin-bottom: 0;
  }
}
.hero .product .product-details #order-form .inputs div.input-wrapper .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
}

:dir(ltr) .hero .product .product-details #order-form .inputs div.input-wrapper .icon {
  border-right: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

:dir(rtl) .hero .product .product-details #order-form .inputs div.input-wrapper .icon {
  border-left: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

/* Match icon border to wrapper border on focus */
:dir(ltr) .hero .product .product-details #order-form .inputs div.input-wrapper:focus-within .icon {
  border-right-color: var(--primary);
}

:dir(rtl) .hero .product .product-details #order-form .inputs div.input-wrapper:focus-within .icon {
  border-left-color: var(--primary);
}
.hero .product .product-details #order-form .inputs .input-wrapper.select-wrapper::before{
  content: url("MEDIA/chevron-down.svg");
  font-size: 10px;
  position: absolute;
  z-index: 10;
  right: 10px;
  bottom: 13px;
  transform: translateY(-50%);
}
.hero .product .product-details #order-form .inputs .input-wrapper.select-wrapper:dir(rtl)::before{
  left: 10px;
  right: auto;
}
.hero .product .product-details #order-form .inputs div.input-wrapper label {
  text-transform: capitalize;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}
.hero .product .product-details #order-form .inputs div.input-wrapper input, .hero .product .product-details #order-form .inputs div.input-wrapper select {
  padding: 16px 12px;
  outline-color: var(--text-primary);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  background-color: transparent;
  width: 100%;
  border: none;
}

/* Prevent double focus borders (wrapper handles focus ring) */
.hero .product .product-details #order-form .inputs div.input-wrapper input:focus,
.hero .product .product-details #order-form .inputs div.input-wrapper select:focus,
.hero .product .product-details.checkout #order-form .inputs .input-wrapper input:focus,
.hero .product .product-details.checkout #order-form .inputs .input-wrapper select:focus {
  outline: none !important;
  box-shadow: none !important;
}
:dir(rtl) .hero .product .product-details #order-form .inputs div.input-wrapper input, :dir(rtl) .hero .product .product-details #order-form .inputs div.input-wrapper select {
  text-align: right;
}
.hero .product .product-details #order-form .inputs div.input-wrapper select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.hero .product .product-details #order-form .inputs div.input-wrapper input::-moz-placeholder {
  color: var(--text-placeholder);
}
.hero .product .product-details #order-form .inputs div.input-wrapper input::placeholder {
  color: var(--text-placeholder);
}
.hero .product .product-details #order-form .inputs div.input-wrapper select {
  color: var(--text-placeholder);
}
.hero .product .product-details #order-form .inputs div.input-wrapper select#delivery-type {
  color: var(--text-primary);
}
.hero .product .product-details #order-form .inputs div.input-wrapper:nth-child(odd):last-child {
  grid-column: span 2;
}
.hero .product .product-details #order-form .quantity-controller {
  margin: 10px 0 27px;
}
.hero .product .product-details #order-form .quantity-controller .title {
  display: block;
  text-transform: capitalize;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hero .product .product-details #order-form .quantity-controller .btns {
  display: flex;
  gap: 10px;
  align-items: center;
  border: solid 1px var(--quantity-container-border-color);
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px;
  border-radius: var(--border-radius);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.hero .product .product-details #order-form .quantity-controller .btns button {
  background-color: transparent;
  border-radius: var(--border-radius);
  border: 1px solid var(--quantity-inner-button-border-color);
  width: 36px;
  height: 36px;
  transition: all 0.2s ease;
}
.hero .product .product-details #order-form .quantity-controller .btns button:hover {
  background-color: rgba(216, 184, 99, 0.15);
  transform: scale(1.05);
}
.hero .product .product-details #order-form .quantity-controller .btns button:active {
  transform: scale(0.95);
}
.hero .product .product-details #order-form .quantity-controller .btns button img {
  transform: translateY(2px);
}
.hero .product .product-details #order-form button#buy-btn {
  width: 100%;
  text-align: center;
  background-color: var(--cta-button-bg);
  border: 2px solid var(--cta-button-border);
  color: var(--cta-button-text);
  border-radius: var(--border-radius);
  height: 56px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.hero .product .product-details #order-form button#buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.hero .product .product-details #order-form button#buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hero .product .product-details .order-summary details {
  width: 100%;
  background-color: var(--components-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero .product .product-details .order-summary details[open] svg {
  transform: rotate(180deg);
}

.hero .product .product-details .order-summary details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero .product .product-details .order-summary details summary::-webkit-details-marker {
  display: none;
}
.hero .product .product-details .order-summary details summary .title {
  font-size: 20px;
  font-weight: 700;
}
.hero .product .product-details .order-summary details summary .title:lang(ar) {
  font-weight: 600;
}
.hero .product .product-details .order-summary details summary .title:not(:lang(ar))::first-letter {
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .hero .product .product-details .order-summary details summary .title {
    font-size: 24px;
  }
}
.hero .product .product-details .order-summary details .content {
  display: flex;
  flex-direction: column;
}
.hero .product .product-details .order-summary details .content .content-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 20px 12px;
}
.hero .product .product-details .order-summary details .content .content-row:first-child {
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  margin-top: 20px;
  padding: 12px;
}
.hero .product .product-details .order-summary details .content .content-row:last-child {
  border-bottom: none;
  padding-bottom: 12px;
}
.hero .product .product-details .order-summary details .content .content-row .order-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero .product .product-details .order-summary details .content .content-row .order-quantity span.title {
  font-size: 12px;
  color: var(--text-primary);
  margin-right: 5px;
}
.hero .product .product-details .order-summary details .content .content-row .order-quantity span.title:lang(ar) {
  margin-right: 0;
  margin-left: 5px;
}
@media screen and (max-width: 403px) {
  .hero .product .product-details .order-summary details .content .content-row .order-quantity span.title {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (min-width: 768px) {
  .hero .product .product-details .order-summary details .content .content-row .order-quantity span.title {
    font-size: 14px;
  }
}
.hero .product .product-details .order-summary details .content .content-row .order-quantity span.quantity {
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--total-price);
  border-radius: var(--border-radius);
  padding: 4px;
  margin-right: 10px;
}
.hero .product .product-details .order-summary details .content .content-row .product-img {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 10px;
}
:dir(rtl) .hero .product .product-details .order-summary details .content .content-row .product-img {
  margin-right: 0;
  margin-left: 10px;
}
.hero .product .product-details .order-summary details .content .content-row .row-title {
  color: var(--text-primary);
  font-size: 14px;
}
.hero .product .product-details .order-summary details .content .content-row .row-title::first-letter {
  text-transform: uppercase;
}
.hero .product .product-details .order-summary details .content .content-row .row-price {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}
.hero .product .product-details .order-summary details .content .content-row .row-price.total-price {
  color: var(--total-price);
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .hero .product .product-details .order-summary details .content .content-row .row-price.total-price {
    font-size: 17px;
  }
}
.hero .product .product-details .order-summary details .content .content-row .row-price span:nth-child(2) {
  text-transform: uppercase;
}

/* ================= Description ==================== */
section.product-description {
  margin: 48px 0;
}
section.product-description.landing{
  margin: 0;
}
section.product-description.landing img{
  display:block;
}
section.product-description h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--header-text-description);
  text-transform: capitalize;
  margin-bottom: 20px;
}
section.product-description.landing h2 {
    display: none;
}
section.product-description .text {
  font-size: 16px;
  color: var(--text-description);
  line-height: 1.5;
  font-weight: 400;
}
section.product-description .text img {
  display: block;
  /* width: 100vw; */
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
@media (min-width: 1080px) {
  section.product-description .text img {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
}
.funnel-container {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  display: block;
}
.product-description.landing .container{
  padding: 0 10px;
}

/* Remove container padding when design-images is present */
.product-description.landing .container:has(.design-images) {
  padding: 0;
}

.product-description.landing .container:has(.design-images) .text {
  margin: 0;
  padding: 0;
}

/* ================= Design Images - Smooth Transition ==================== */
.design-images {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  /* Performance: contain layout to prevent reflows */
  contain: layout style;
}

.design-images img {
  display: block;
  width: 100%;
  height: auto;
  /* Performance optimizations */
  content-visibility: auto;
  contain-intrinsic-size: 100vw 2000px; /* Estimated size for long images */
  /* GPU acceleration for smoother scrolling */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  /* Smooth fade-in when loaded */
  animation: designImageFadeIn 0.4s ease-out;
}

/* Progressive loading - skeleton placeholder effect */
.design-images img[loading="lazy"] {
  background: linear-gradient(135deg, var(--components-bg) 0%, var(--site-bg) 100%);
}

/* ================= Global Image Loading Optimizations ==================== */

/* Skeleton loading animation for all lazy images */
img[loading="lazy"] {
  background: var(--components-bg, #f0f0f0);
}

/* Main product image skeleton */
.hero .product .product-imgs .main-img-container {
  background: var(--components-bg, #f0f0f0);
}

/* Ensure images don't cause CLS after load */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent images from being invisible before load */
img:not([src]), img[src=""] {
  visibility: hidden;
}

/* Smooth fade-in animation */
@keyframes designImageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .design-images img {
    animation: none;
    will-change: auto;
  }
}

/* High-performance scrolling hint */
.design-images {
  -webkit-overflow-scrolling: touch;
}

/* Optimize for print */
@media print {
  .design-images img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}



/* Add spacing before the form section */
section.product-description.landing + section.bundle,
section.product-description.landing + section.hero.landing {
  margin-top: 0;
}

/* Decorative divider between image and form */
section.hero.landing {
  position: relative;
}

section.hero.landing::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
  opacity: 0.6;
}

/* Subtle top border/glow on the form area */
section.hero.landing .product {
  position: relative;
  padding-top: 70px;
}


/* Smooth fade-in animation for the form when it comes into view */
section.hero.landing .product-details {
  /* Avoid CLS from initial entrance animation */
  animation: none;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Minimal breathing room */
section.product-description.landing {
  padding-bottom: 16px;
}

/* ================= Bundles ==================== */
section.bundle {
  background-color: var(--site-bg);
  padding: 48px 0;
  margin-bottom: 40px;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
section.bundle .bundle-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  section.bundle .bundle-container {
    flex-direction: row;
  }
}
section.bundle .products-cards{
  flex: 1;
}
section.bundle .products-cards-wrapper{
  display: flex;
  flex-direction: column;
  gap: 11px;
}
section.bundle h2.title{
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
}
@media screen and (min-width: 768px) {
  section.bundle h2.title {
    font-size: 32px;
  }
}
section.bundle .product-card{
 padding-top: 12.78px;
 padding-bottom: 12.78px;
 padding-left: 12.78px;
 padding-right: 25.56px;
 padding: 13px 25px 13px 13px;
 background: white;
 border-radius: 4px;
 border: 1px var(--total-price) solid;
 align-items: center;
 gap: 29px;
 display: inline-flex
}
section.bundle .product-card img {
  object-fit: cover;
  height: 70px;
}
section.bundle .product-card .title-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
section.bundle .product-card .title-wrapper h4{
  color: var(--total-price);
  font-size: 15px;
  font-weight: 600;
}
section.bundle .product-card .title-wrapper .quantity{
  color: #FFF;
  font-size: 12px;
  font-weight: 500;
  background-color: var(--total-price);
  border-radius: 5px;
  padding: 3px;
}
section.bundle .product-card .price-wrapper{
  font-size: 15px;
  color: #64748B;
  font-weight: 500;
}
section.bundle .product-card .price-wrapper span{
  text-transform: uppercase;
}
section.bundle .special-offer{
  background-color: var(--components-bg);
  padding: 32px;
  flex: 1; 
  border: 2px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
section.bundle .special-offer .title{
  font-size: 28px;
  margin-bottom: 35px;
  font-style: italic;
  text-align: center;
  font-weight: 800;
}
body:lang(ar) section.bundle .special-offer .title{
  font-style: normal;
}
@media screen and (min-width: 768px) {
  section.bundle .special-offer .title {
    font-size: 35px;
  }
}
section.bundle .special-offer .imgs-container{
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  margin-bottom: 22px;
}
section.bundle .special-offer .imgs-container .plus{
  width: 20px;
  height: 20px;
}
@media screen and (min-width: 768px) {
  section.bundle .special-offer .imgs-container {
    gap: 16px;
  }
}
section.bundle .special-offer .img-wrapper{
  border: 3px solid var(--total-price);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: 120px;
  height: 120px;
}
@media screen and (min-width: 768px) {
  section.bundle .special-offer .img-wrapper{
    border-width: 5px;
  }
}
section.bundle .special-offer .img-wrapper img{
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
section.bundle .special-offer .img-wrapper .quantity{
  position: absolute;
  bottom: 0;
  right:0;
  border-top-left-radius: 10px;
  color: #fff;
  background-color: #DC2626;
  padding: 5px;
  font-size: 14px;
}
@media screen and (min-width: 500px) {
  section.bundle .special-offer .img-wrapper .quantity{
    padding: 7px;
    font-size: 16px;
  }
}
section.bundle .special-offer .free-shipping-conatiner {
  margin: 14px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.bundle .special-offer .free-shipping-conatiner .free-shipping-badge{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px 10px;
  border-radius: 53px;
  border: 2px solid #22C55E;
  background:  #DCFCE7;
  color: #22C55E;
} 
section.bundle:dir(rtl) .special-offer .free-shipping-conatiner .free-shipping-badge svg{
  transform: rotateY(-180deg);
}
section.bundle .special-offer .price-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
section.bundle .special-offer .price-container h4{
  font-weight: 700;
  font-size: 24px;
}
section.bundle .special-offer .price-container .crossed-price{
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  text-decoration: line-through;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media screen and (min-width: 500px) {
  section.bundle .special-offer .price-container .crossed-price{
    font-size: 25px;
  }
}
section.bundle .special-offer .price-container .crossed-price span{
  text-transform: uppercase;
  font-weight: 400;
  font-size: 22px;
}
section.bundle .special-offer .price-container .price{
  font-size: 32px;
  font-weight: 700;
  word-wrap: break-word; 
  display: flex;
  align-items: center;
  gap: 4px
}
@media screen and (min-width: 500px) {
  section.bundle .special-offer .price-container .price{
    font-size: 35px;
  }
}
section.bundle .special-offer .price-container .price span{
  text-transform: uppercase;
  font-weight: 400;
  font-size: 23px;
}
section.bundle .special-offer .bundle-btn {
  width: 100%;
  text-align: center;
  background-color: var(--cta-button-bg);
  border: 2px solid var(--cta-button-border);
  color: var(--cta-button-text);
  border-radius: 12px;
  height: 56px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
section.bundle .special-offer .bundle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
section.bundle .special-offer .bundle-btn:active {
  transform: translateY(0);
}

.bundle-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99;
}
.bundle-overlay .bundle-popup {
background-color: var(--components-bg);
max-width: 940px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 24px;
position: relative;
overflow: hidden;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
border: 1px solid var(--border);
animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (max-width: 960px) {
.bundle-overlay .bundle-popup {
  width: 90%;
}
}
:dir(rtl) .bundle-overlay .bundle-popup {
transform: translate(50%, -50%);
left: -50%;
}
.bundle-popup .header {
  padding: 20px 24px;
  background-color: var(--selected-variant-option);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bundle-popup .header span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
@media screen and (min-width: 768px) {
  .bundle-popup .header span {
    font-size: 24px;
  }
}
.bundle-popup .header .close-bundle{
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.bundle-popup #bundle-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 768px) {
  .bundle-popup #bundle-form {
    flex-direction: row;
  }
}
@media screen and (min-width: 768px) {
  .bundle-popup #bundle-form {
    padding: 30px;
  }
}
.bundle-popup #bundle-form .inputs-container{
  flex: 1;
}

.bundle-popup #bundle-form .inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}
.bundle-popup #bundle-form .input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-bottom: 15px;
}

.bundle-popup #bundle-form .input-wrapper label{
  text-transform: capitalize;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}
.bundle-popup:dir(rtl) #bundle-form .input-wrapper input{
  text-align: right;
}
.bundle-popup #bundle-form .input-wrapper input, .bundle-popup #bundle-form .input-wrapper select {
  border: 1px solid var(--border);
  background-color: var(--components-bg);
  padding: 16px 12px;
  outline-color: var(--text-primary);
  border-radius: 6px;
  color: var(--text-primary);
  width: 100%;
}
.bundle-popup #bundle-form .input-wrapper select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.bundle-popup #bundle-form .input-wrapper.select-wrapper::before {
  content: url(MEDIA/chevron-down.svg);
  font-size: 10px;
  position: absolute;
  z-index: 10;
  right: 10px;
  bottom: 13px;
  transform: translateY(-50%);
}
.bundle-popup #bundle-form .input-wrapper.select-wrapper:dir(rtl)::before{
  left: 10px;
  right: auto;
}
#bundle-form .quantity-controller .title {
  display: block;
  text-transform: capitalize;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
#bundle-form .quantity-controller .btns {
  display: flex;
  gap: 10px;
  align-items: center;
  border: solid 1px var(--border);
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px;
  border-radius: 6px;
}
#bundle-form .quantity-controller .btns button {
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
}
.bundle-popup #bundle-form .bundle-summary {
  flex: 1;
}
.bundle-popup #bundle-form .bundle-summary .summary-wrapper {
  width: 100%;
  background-color: var(--components-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.bundle-popup #bundle-form .bundle-summary .summary-wrapper .summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bundle-popup #bundle-form .bundle-summary .summary-wrapper .summary-header .title{
  font-weight: 600;
}
.bundle-popup #bundle-form .bundle-summary .summary-wrapper .content {
  display: flex;
  flex-direction: column;
}
.bundle-popup #bundle-form .bundle-summary .summary-wrapper .content .content-row:first-child {
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-top: 20px;
  padding: 12px;
}
#bundle-form .bundle-summary .content .content-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 20px 12px;
}
#bundle-form .bundle-summary .content .content-row:last-child {
  border-bottom: none;
  padding-bottom: 12px;
}
#bundle-form .bundle-summary .content-row .order-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#bundle-form .bundle-summary .content-row .order-quantity .bundle-img {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
  object-fit: cover;
}
#bundle-form .bundle-summary .content-row .order-quantity .title {
  font-size: 12px;
  color: var(--text-primary);
  margin-right: 5px;
}
@media screen and (min-width: 768px){
  #bundle-form .bundle-summary .content-row .order-quantity .title {
      font-size: 14px;
  }
}
#bundle-form .bundle-summary .content-row .order-quantity span.quantity {
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--total-price);
  border-radius: 5px;
  padding: 4px;
  margin-right: 10px;
}
#bundle-form .bundle-summary .content-row .row-price {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}
#bundle-form .bundle-summary .content-row .row-title{
  color: var(--text-primary);
  font-size: 14px;
}
#bundle-form .bundle-summary .content-row .row-price.total-price {
  color: var(--total-price);
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  #bundle-form .bundle-summary .content-row .row-price.total-price {
    font-size: 17px;
  }
}
#bundle-form .bundle-summary .content-row .row-price span:nth-child(2) {
  text-transform: uppercase;
}
.bundle-popup #bundle-form .bundle-summary #bundle-buy-btn {
  width: 100%;
  text-align: center;
  background-color: var(--cta-button-bg);
  border: 3px solid var(--cta-button-border);
  color: var(--cta-button-text);
  border-radius: 15px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
}
/* ================= More Products ==================== */
section.more-products{
  margin-bottom: 60px;
}
section.more-products  h2{
  font-size: 29px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 32px;
}
section.more-products  h2::first-letter{
  text-transform: uppercase;
}
section.more-products .list{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-wrap: normal;
  white-space: nowrap;

}
section.more-products .list .product-card{
  background-color: var(--components-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  min-width: 273px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
section.more-products .list .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
section.more-products .list .product-card .img-container{
  width: 273px;
  height: 273px;
  overflow: hidden;
  position: relative;
}
section.more-products .list .product-card .img-container img{
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
section.more-products .list .product-card:hover .img-container img {
  transform: scale(1.05);
}
section.more-products .list .product-card .info-container{
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
section.more-products .list .product-card .info-container .title{
  font-size: 18px;
  font-weight: 600;
  max-width: 230px;
  overflow: hidden;
  white-space: normal;
  line-height: 1.4;
}
section.more-products .list .product-card .info-container .price-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;
}
section.more-products .list .product-card .info-container .price-wrapper .price{
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
section.more-products .list .product-card .info-container .price-wrapper .price span.currency{
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}
section.more-products .list .product-card .info-container .price-wrapper .crossed-price{
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  text-decoration: line-through;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}
section.more-products .list .product-card .info-container a{
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 2px solid var(--cta-button-border);
  background-color: var(--cta-button-bg);
  color: var(--cta-button-text);
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
}
section.more-products .list .product-card .info-container a:hover {
  opacity: 0.9;
}
section.more-products .list .product-card .info-container a span::first-letter{
  text-transform: uppercase;
}
/* ================= Footer ==================== */
footer {
  background-color: var(--components-bg);
  border-top: 1px solid var(--border);
  text-align: center;
  margin-bottom: 80px;
}
footer.landing{
  margin-bottom:0;
}
footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 32px 0px;
}

footer .footer-top .top-scroll-btn {
  background-color: var(--up-button);
  border-radius: 12px;
  border: none;
  outline: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
footer .footer-top .top-scroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

footer .devider {
  border: 0.5px solid #CFCFDE;
  margin: 0;
}

footer .footer-bottom {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  footer .footer-bottom {
    flex-direction: row;
  }
}
footer .footer-bottom .social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
footer .footer-bottom .social-icons a {
  transition: all 0.2s ease;
  opacity: 0.7;
}
footer .footer-bottom .social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
footer .footer-bottom .copyright {
  color: var(--text-description);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  opacity: 0.65;
}
@media screen and (min-width: 767px) {
  footer .footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    border-top: none;
    padding: 0;
  }
  footer .footer-bottom .social-icons {
    margin-bottom: 0;
  }
}

/* ================= Congratulations ==================== */
  .congrats-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
  }
.congrats-overlay .congrats-popup {
  background-color: var(--components-bg);
  max-width: 440px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
@media screen and (max-width: 440px) {
  .congrats-overlay .congrats-popup {
    width: 90%;
  }
}
:dir(rtl) .congrats-overlay .congrats-popup {
  transform: translate(50%, -50%);
  left: -50%;
}
.congrats-overlay .congrats-popup .content {
  display: flex;
  padding: 20px 32px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.congrats-overlay .congrats-popup .content .bg {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.congrats-overlay .congrats-popup .content .icon {
  z-index: 99;
}
.congrats-overlay .congrats-popup .content h3 {
  color: var(--text-primary);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
}
.congrats-overlay .congrats-popup .content p {
  color: var(--text-description);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}
.congrats-overlay .congrats-popup .content button {
  padding: 10px 19.81px;
  border-radius: 6px;
  background-color: var(--cta-button-bg);
  border: 2.589px solid var(--cta-button-border);
  color: var(--cta-button-text);
  font-size: 12px;
}
@media screen and (min-width: 767px) {
  .congrats-overlay .congrats-popup .content h3 {
    font-size: 32px;
  }
  .congrats-overlay .congrats-popup .content p {
    font-size: 18px;
  }
  .congrats-overlay .congrats-popup .content button {
    font-size: 14px;
    height: 45px;
    padding: 12px 19.81px;
  }
  .congrats-overlay .congrats-popup .content .icon svg {
    width: 72px;
    height: 72px;
  }
}
/* ================= Toast ==================== */
.toast {
  position: fixed;
  left: 1rem;
  top: 100vh;
  z-index: 30;
  padding: 16px 20px;
  max-width: 400px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(0%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2rem);
  border-radius: 12px;
}
.toast:lang(ar){
  right: 1rem;
  left: auto;
}
.toast.success {
  background: linear-gradient(138deg, rgba(52,156,100,1) 0%, rgba(50,187,113,1) 100%);
}

.toast p.message{
  color: white;
}
.toast .close-toast{
  background-color: transparent;
  border: none;
  outline: none;
}
.toast.active {
  animation-name: Toast;
  animation-duration: 0.9s;
  animation-iteration-count: 1;
}

@keyframes Toast {
  0% {
    transform: translateY(0%);
  }

  5% {
    transform: translateY(-110%);
  }

  95% {
    transform: translateY(-110%);
  }

  100% {
    transform: translateY(90%);
  }
}

/* ================= Loader ==================== */
.loader-spinner {
  border: 3px solid #f3f3f3; 
  border-top: 3px solid #7f7f7f00; 
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ================= Enhanced Animations ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
}

@keyframes ctaPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  }
}

@keyframes ctaGradient {
  0% {
    background-position: -120% 50%, 0 0;
  }
  100% {
    background-position: 120% 50%, 0 0;
  }
}

@keyframes topBarSlide {
  0% {
    transform: translateX(0);
    opacity: 0.6;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(240%);
    opacity: 0.6;
  }
}

@keyframes discountBadgePop {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-1px) scale(1.06); }
  70% { transform: translateY(0) scale(1.02); }
}

@keyframes discountSheen {
  0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  15% { opacity: 1; }
  55% { opacity: 1; }
  100% { transform: translateX(160%) skewX(-18deg); opacity: 0; }
}

@keyframes discountBadgeSheenBg {
  0% { background-position: -140% 50%; }
  100% { background-position: 140% 50%; }
}

@keyframes discountPricePop {
  0%, 100% { transform: translateY(0) scale(1); filter: none; }
  35% { transform: translateY(-1px) scale(1.03); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12)); }
  70% { transform: translateY(0) scale(1.01); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08)); }
}

/* Discount emphasis (badge + DISCOUNTED price). Uses :has() when available. */
@supports selector(:has(*)) {
  /* Badge only exists when discount exists (in your template) */
  .hero .product .product-details .product-info .title-wrapper .promo-badge {
    position: relative;
    overflow: hidden;
    /* Shine is baked into the background so it never covers text */
    background-image: linear-gradient(
      110deg,
      var(--promo) 0%,
      var(--promo) 40%,
      rgba(255, 255, 255, 0.38) 50%,
      var(--promo) 60%,
      var(--promo) 100%
    );
    background-size: 240% 100%;
    background-position: -140% 50%;
    animation: discountBadgePop 1.6s ease-in-out infinite, discountBadgeSheenBg 2.6s linear infinite;
  }

  /* Animate the discounted price only when an original price exists */
  .hero .product .product-details .product-info .product-price-wrapper:has(.crossed-price-wrapper) .price {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    will-change: transform, filter;
    animation: discountPricePop 1.8s ease-in-out infinite;
  }

  .hero .product .product-details .product-info .product-price-wrapper:has(.crossed-price-wrapper) .price::after {
    content: \"\";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--primary), 0 0 10px rgba(216, 184, 99, 0.3);
  }
  50% {
    box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(216, 184, 99, 0.4);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= Enhanced Utility Styles ==================== */

/* Smooth hover lift effect for cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Glass effect background */
.glass-effect {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Primary glow on hover */
.glow-hover {
  transition: box-shadow 0.3s ease;
}
.glow-hover:hover {
  box-shadow: 0 0 30px rgba(216, 184, 99, 0.3);
}

/* Enhanced focus states for accessibility */
input:focus, 
select:focus, 
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  opacity: 0.7;
}
::-webkit-scrollbar-thumb:hover {
  opacity: 1;
}

/* Enhanced selection */
::selection {
  background: var(--primary);
  color: var(--cta-button-text);
}

/* Better image rendering */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Prevent text selection on interactive elements */
button, 
.option-value, 
.slide-img {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Responsive improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enhanced mobile touch feedback */
@media (hover: none) {
  button:active,
  .option:active,
  .option-value:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* Better loading states */
.loading {
  position: relative;
  pointer-events: none;
}
.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

/* ================= Transparent Container Support ==================== */
/* These styles adapt when product-details has transparent background */

/* Clean card styling for inputs regardless of container bg */
.hero .product .product-details #order-form .inputs div.input-wrapper {
  background-color: var(--components-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Order summary adapts to container */
.hero .product .product-details .order-summary details {
  background-color: var(--components-bg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Clean section dividers */
.hero .product .product-details .product-info {
  position: relative;
}

/* Subtle section separator */
.hero .product .product-details #order-form {
  position: relative;
  padding-top: 24px;
}
.hero .product .product-details #order-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
  opacity: 0.5;
}

/* ================= React-Style Clean Components ==================== */

/* Clean typography hierarchy */
.hero .product .product-details .product-info .title-wrapper h1.title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

/* Modern price display */
.hero .product .product-details .product-info .product-price-wrapper {
  display: var(--price-section-display);
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.hero .product .product-details .product-info .product-price-wrapper.product-price-header-wrapper {
  display: var(--price-in-header-display);
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 0;
}

/* Clean badge styling */
.hero .product .product-details .product-info .title-wrapper .promo-badge {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ================= Modern Form Controls ==================== */

/* Pill-style input fields */
.hero .product .product-details #order-form .inputs div.input-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 
    0 0 0 4px rgba(140, 123, 111, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Input icon styling */
.hero .product .product-details #order-form .inputs div.input-wrapper .icon {
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Wrapper already clips corners; keep inner divider straight */
  border-radius: 0;
}

/* Clean select dropdowns */
.hero .product .product-details #order-form .inputs div.input-wrapper select {
  cursor: pointer;
  font-weight: 500;
}

/* Input theming */
.hero .product .product-details #order-form .inputs div.input-wrapper input,
.hero .product .product-details #order-form .inputs div.input-wrapper select {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-primary);
  background-color: transparent;
}

.hero .product .product-details #order-form .inputs div.input-wrapper input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.hero .product .product-details #order-form .inputs div.input-wrapper select:invalid {
  color: var(--text-secondary);
}

.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within {
  background-color: var(--components-bg);
}

.hero .product .product-details #order-form .inputs div.input-wrapper .icon img {
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within .icon img {
  opacity: 1;
  transform: scale(1.05);
}

/* Icon theming on focus */
.hero .product .product-details #order-form .inputs div.input-wrapper .icon {
  background-color: var(--components-bg);
  transition: background-color 0.2s ease;
}
.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within .icon {
  background-color: var(--primary);
}
.hero .product .product-details #order-form .inputs div.input-wrapper .icon img {
  filter: brightness(0) saturate(100%) invert(1);
  mix-blend-mode: difference;
}
.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within .icon img {
  filter: brightness(0) saturate(100%) invert(1);
  mix-blend-mode: difference;
}

/* Checkout form icons */
.hero .product .product-details.checkout #order-form .inputs .input-wrapper .icon {
  background-color: rgba(255, 255, 255, 0.02);
  transition: background-color 0.2s ease;
}
.hero .product .product-details.checkout #order-form .inputs .input-wrapper:focus-within .icon {
  background-color: var(--primary);
}
.hero .product .product-details.checkout #order-form .inputs .input-wrapper .icon img {
  filter: brightness(0) saturate(100%) invert(1);
  mix-blend-mode: difference;
}
.hero .product .product-details.checkout #order-form .inputs .input-wrapper:focus-within .icon img {
  filter: brightness(0) saturate(100%) invert(1);
  mix-blend-mode: difference;
}

.hero .product .product-details #order-form .inputs div.input-wrapper.select-wrapper::before {
  opacity: 0.6;
}

.hero .product .product-details #order-form .inputs div.input-wrapper:focus-within.select-wrapper::before {
  opacity: 1;
}

/* ================= Modern Button System ==================== */

/* Primary CTA - Clean and Bold */
.hero .product .product-details #order-form button#buy-btn,
section.bundle .special-offer .bundle-btn,
header .sticky-btn-container button#sticky-buy-btn {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background-image:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.22) 65%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(180deg, var(--cta-button-bg), var(--cta-button-bg));
  background-size: 220% 100%, 100% 100%;
  background-position: 0% 50%, 0 0;
  animation: ctaPulse 4s ease-in-out infinite, ctaGradient 2.8s linear infinite;
}

/* Button hover state - subtle lift */
.hero .product .product-details #order-form button#buy-btn:hover,
section.bundle .special-offer .bundle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Button active state - press effect */
.hero .product .product-details #order-form button#buy-btn:active,
section.bundle .special-offer .bundle-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ================= Clean Card Components ==================== */

/* Options/Offers - Card style */
#order-form .options .option {
  background-color: var(--components-bg);
  border-radius: var(--border-radius);
  border: 2px solid var(--border);
  padding: 16px 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#order-form .options .option:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

#order-form .options .option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, 
    rgba(140, 123, 111, 0.08), 
    rgba(140, 123, 111, 0.02));
  box-shadow: 
    0 0 0 4px rgba(140, 123, 111, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Radio button - Modern circular */
#order-form .options .option .name-wrapper .custom-radio {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: all 0.2s ease;
}

#order-form .options .option.selected .name-wrapper .custom-radio {
  border-color: var(--primary);
  background-color: var(--primary);
}

#order-form .options .option.selected .name-wrapper .custom-radio::before {
  width: 8px;
  height: 8px;
  background-color: white;
}

/* ================= Variant Chips ==================== */

/* Chip-style variant options */
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"] {
  min-width: auto;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--border);
  background-color: var(--components-bg);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"]:hover:not(.selected) {
  border-color: var(--primary);
  background-color: rgba(140, 123, 111, 0.05);
}

.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="1"].selected {
  background-color: var(--selected-variant-option);
  color: var(--selected-variant-option-text);
  border-color: var(--selected-variant-option);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Color swatches - Clean circles */
.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="2"] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="2"]:hover {
  transform: scale(1.1);
}

.hero .product .product-details .product-info .variants .variants-wrapper .option-values .option-value[data-type="2"].selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 123, 111, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ================= Modern Quantity Stepper ==================== */

.hero .product .product-details #order-form .quantity-controller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.hero .product .product-details #order-form .quantity-controller .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
}

.hero .product .product-details #order-form .quantity-controller .btns {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--components-bg);
  padding: 4px;
}

.hero .product .product-details #order-form .quantity-controller .btns button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--border-radius);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.hero .product .product-details #order-form .quantity-controller .btns button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.hero .product .product-details #order-form .quantity-controller .btns button:active {
  background-color: rgba(0, 0, 0, 0.1);
  transform: scale(0.95);
}

.hero .product .product-details #order-form .quantity-controller .btns span {
  min-width: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ================= Clean Order Summary ==================== */

.hero .product .product-details .order-summary {
  margin-top: 24px;
}

.hero .product .product-details .order-summary details {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero .product .product-details .order-summary details summary {
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.hero .product .product-details .order-summary details summary .title {
  font-size: 18px;
  font-weight: 700;
}

.hero .product .product-details .order-summary details summary svg {
  transition: transform 0.3s ease;
}

.hero .product .product-details .order-summary details .content {
  padding: 0 24px 24px;
}

.hero .product .product-details .order-summary details .content .content-row {
  padding: 16px;
  border-radius: var(--border-radius);
  margin-bottom: 8px;
  border: none;
  background-color: rgba(0, 0, 0, 0.02);
}

.hero .product .product-details .order-summary details .content .content-row:first-child {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
}

.hero .product .product-details .order-summary details .content .content-row.total {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  margin-top: 16px;
}

.hero .product .product-details .order-summary details .content .content-row.total .row-title,
.hero .product .product-details .order-summary details .content .content-row.total .row-price {
  color: white;
  font-weight: 700;
}

.hero .product .product-details .order-summary details .content .content-row .product-img {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius);
  object-fit: cover;
  border: 1px solid var(--border);
}

.hero .product .product-details .order-summary details .content .content-row .order-quantity span.quantity {
  background-color: var(--primary);
  padding: 4px 8px;
  border-radius: var(--border-radius);
  font-size: 13px;
}

/* ================= Clean Image Gallery ==================== */

.hero .product .product-imgs .main-img-container {
  border-radius: 16px;
  overflow: hidden;
}

.hero .product .product-imgs .slide-imgs {
  gap: 12px;
  padding: 4px;
  margin-top: 16px;
}

.hero .product .product-imgs .slide-imgs img.slide-img {
  border-radius: 12px;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.hero .product .product-imgs .slide-imgs img.slide-img:hover {
  opacity: 1;
  border-color: var(--border);
}

.hero .product .product-imgs .slide-imgs img.slide-img.selected {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(140, 123, 111, 0.2);
}

/* ================= Clean Bundle Section ==================== */

section.bundle {
  background-color: var(--components-bg);
  border-radius: 0;
  margin: 40px 0;
  padding: 48px 0;
}

section.bundle h2.title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 32px;
}

section.bundle .product-card {
  background-color: var(--components-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

section.bundle .product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

section.bundle .special-offer {
  border-radius: 20px;
  padding: 32px;
  border-width: 2px;
}

section.bundle .special-offer .img-wrapper {
  border-radius: 16px;
  border-width: 3px;
}

/* ================= Clean More Products ==================== */

section.more-products {
  padding: 48px 0;
}

section.more-products h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
}

section.more-products .list {
  gap: 24px;
  padding-bottom: 16px;
}

section.more-products .list .product-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--components-bg);
}

section.more-products .list .product-card .img-container {
  overflow: hidden;
}

section.more-products .list .product-card .info-container {
  padding: 24px 20px;
}

section.more-products .list .product-card .info-container .title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

section.more-products .list .product-card .info-container a {
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* ================= Clean Footer ==================== */

footer {
  background-color: var(--components-bg);
  border-top: 1px solid var(--border);
  padding-top: 0;
}

footer .footer-top {
  padding: 32px 0;
}

footer .footer-top .top-scroll-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

footer .footer-top .top-scroll-btn:hover {
  transform: translateY(-2px);
}

footer .devider {
  border-color: var(--border);
  opacity: 0.5;
}

footer .footer-bottom .social-icons a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

footer .footer-bottom .social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

footer .footer-bottom .social-icons a:hover img {
  filter: brightness(0) invert(1);
}

/* ================= Clean Popups ==================== */

.congrats-overlay .congrats-popup {
  border-radius: 24px;
  overflow: hidden;
}

.congrats-overlay .congrats-popup .content {
  padding: 40px 32px;
}

.congrats-overlay .congrats-popup .content h3 {
  font-size: clamp(24px, 5vw, 32px);
  margin-bottom: 12px;
}

.congrats-overlay .congrats-popup .content p {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.8;
  margin-bottom: 24px;
}

.congrats-overlay .congrats-popup .content button {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
}

/* ================= Responsive Refinements ==================== */

@media screen and (max-width: 768px) {
  .hero .product .product-details {
    padding: var(--product-details-padding);
  }
  
  .hero .product .product-details .product-info .title-wrapper h1.title {
    font-size: 24px;
  }
  
  .hero .product .product-details .product-info .product-price-wrapper .price {
    font-size: 32px;
  }
  
  #order-form .options .option {
    padding: 14px 16px;
  }
  
  .hero .product .product-details .order-summary details {
    padding: 16px;
  }
  
  .hero .product .product-details .order-summary details summary {
    padding: 0 0 16px;
  }
  
  .hero .product .product-details .order-summary details .content {
    padding: 0;
  }
}

/* ================= Light Theme Optimizations ==================== */

/* Detect light backgrounds and adjust shadows */
@media (prefers-color-scheme: light) {
  .hero .product .product-imgs .main-img-container {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }
  
  .hero .product .product-details .order-summary details {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
  
  #order-form .options .option {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}
