/** Shopify CDN: Minification failed

Line 2231:0 All "@import" rules must come first

**/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url('curser.png'), auto;
}

body.dark-theme {
  background: #ffffff;
  background-color:rgb(255, 255, 255); /* fallback */
  color: #f8f8ff;
}

body.dark-theme a,
body.dark-theme button,
body.dark-theme .product-card {
  cursor: url('curser.png'), auto ;
}


/* Background Video */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.15;
  pointer-events: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid #222;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.navbar-left, .navbar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.navbar-left {
  flex: 1;
  justify-content: flex-start;
}

.navbar-right {
  flex: 1;
  justify-content: flex-end;
}

.navbar-center-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}

.navbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-logo {
  height: 40px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.nav-logo:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #ff4444);
}

.nav-link {
  color: #f8f8ff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #b22222;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover {
  color: #b22222;
  text-shadow: 0 0 5px #b22222;
}

.nav-link:hover::after {
  width: 100%;
}
@media (max-width: 768px) {
  .navbar-left,
  .navbar-right {
    display: none;
  }

  .navbar-hamburger {
    display: block;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1002;
  }

  .navbar-hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 1rem;
    z-index: 999;
    gap: 1rem;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu .nav-link {
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    padding: 1rem;
  }
}

/* DESKTOP ONLY */
@media (min-width: 769px) {
  .navbar-hamburger,
  .mobile-menu {
    display: none;
  }
}

/* Hamburger Icon */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

.navbar-hamburger div {
  width: 25px;
  height: 3px;
  background-color: #f8f8ff;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;
  right: 0;
  width: 80%;
  background-color: #111;
  padding: 1rem;
  z-index: 999;
  box-shadow: -2px 0 10px rgba(0,0,0,0.5);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .nav-link {
  padding: 0.8rem 0;
  text-align: center;
  border-bottom: 1px solid #333;
}

/* Responsive Behavior */
@media screen and (max-width: 768px) {
  .navbar-left,
  .navbar-right {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }
}



/* Sound Toggle Button */
#toggle-sound {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  color: #f8f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  padding: 0;
}

#toggle-sound:hover {
  transform: scale(1.1);
  filter: brightness(1.5);
}

#toggle-sound .volume-icon {
  width: 100%;
  height: 100%;
}

#toggle-sound.muted #volume-on {
  display: none;
}

#toggle-sound.muted #volume-off {
  display: block;
}

#toggle-sound:not(.muted) #volume-on {
  display: block;
}

#toggle-sound:not(.muted) #volume-off {
  display: none;
}


/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  text-align: top;
  background: transparent;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

.logo-placeholder {
  font-size: 4.5rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  color: #f8f8ff;
  text-shadow: 0 0 20px #b22222, 0 0 40px #b22222;
  margin-bottom: 0.5rem;
  animation: fadeInScale 1.5s ease-out forwards;
}

.tagline {
  font-size: 1.25rem;
  color: #b22222;
  margin: 1rem 0 2rem;
  letter-spacing: 0.12em;
  animation: fadeIn 2s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.btn.enter-store {
  padding: 0.9rem 2.5rem;
  background-color: transparent;
  color: #f8f8ff;
  border: 2px solid #b22222;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
  animation: fadeIn 2s ease-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

.btn.enter-store:hover {
  background-color: #b22222;
  color: #0a0a0a;
  text-shadow: none;
  box-shadow: 0 0 20px #b22222;
  transform: translateY(-3px);
}

/* Hero Sections for internal pages (Shop, Lore, Profile, Cart, Checkout, Customer Profile, Contact, Order Detail) */
.shop-hero, .lore-hero, .profile-hero, .cart-hero, .checkout-hero, .customer-profile-hero, .contact-hero, .order-detail-hero {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

.shop-hero h1, .lore-hero h1, .profile-hero h1, .cart-hero h1, .checkout-hero h1, .customer-profile-hero h1, .contact-hero h1, .order-detail-hero h1 {
  font-size: 4rem;
  color:rgb(255, 255, 255);
  text-shadow: 0 0 15px #b22222;
  margin-bottom: 0.5rem;
  animation: fadeInScale 1.5s ease-out forwards;
}

.shop-hero p, .lore-hero p, .profile-hero p, .cart-hero p, .checkout-hero p, .customer-profile-hero p, .contact-hero p, .order-detail-hero p {
  font-size: 1.2rem;
  color: #b22222;
  letter-spacing: 0.1em;
  animation: fadeIn 2s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}


/* Featured Products Section */
.featured-products {
  max-width: 1200px; /* Allow wider container for multiple items per row */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  justify-content: center; /* Centers items horizontally within the flex container */
  gap: 1rem;
  padding: 2rem 2rem 3rem;
  background-color: white;
  border-top: 0px solid white;
  border-bottom: 1px solid white;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.7);
}

.product-card {
  background-color: white;
  border: 1px solid #222;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer; /* Keep cursor pointer for the whole card */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(201, 201, 201, 0.4);
  /* Flexible sizing for product cards to adapt to row layout */
  flex: 0 0 calc(33.33% - 2.5rem); /* Default: 3 columns per row on wider screens */
  min-width: 250px; /* Ensure cards don't get too small */
  max-width: 350px; /* Prevent cards from getting too large */
}

/* Responsive adjustments for product cards to manage columns/rows */
@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(50% - 2.5rem); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(90% - 2.5rem); /* 1 column on smaller screens, allowing side padding */
        max-width: 350px; /* Keep max-width for single column too */
    }
}


.product-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(178, 34, 34, 0.6);
}

.product-card img {
  width: 100%;
  height: auto; /* Changed from fixed height to auto to maintain aspect ratio */
  object-fit: cover;
  border-bottom: 1px solid #333;
  transition: opacity 0.3s ease;
  display: block;
  border-radius: 4px;
  z-index: 1;
  position: relative;
}

/* .product-card img.secondary {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%; 
  height: auto; 
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
} 

.product-card:hover img:not(.secondary) {
  opacity: 0;
}

.product-card:hover img.secondary:first-of-type {
  opacity: 1;
  pointer-events: auto;
} */

.product-card h3 {
  color: #f8f8ff;
  font-size: 1.1rem;
  margin-top: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
  position: relative;
}

/* Product Modal */
.product-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Allows scrolling if content exceeds viewport */
  background-color: rgba(0, 0, 0, 0.8); /* Darker overlay */
  backdrop-filter: blur(8px); /* Blur effect */
  -webkit-backdrop-filter: blur(8px);
  display: flex; /* Use flexbox to center content when active */
  justify-content: center;
  align-items: center;
  padding: 20px; /* Padding around the modal content */
}

.product-modal.active {
  display: flex; /* Show when active */
}

.modal-content {
  background-color: #1a1a1a;
  border: 1px solid #b22222;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 30px rgba(178, 34, 34, 0.8);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInModal 0.3s ease-out;
  box-sizing: border-box;
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #f8f8ff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  color: #ff4444;
  transform: scale(1.2);
}

.modal-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  width: 100%;
}

#modalTitle {
  font-size: 2.2rem;
  color: #f8f8ff;
  text-shadow: 0 0 8px #ff4444;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

#modalMainImg {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.modal-thumb-item {
  width: 18vw;
  max-width: 60px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.modal-thumb-item:hover,
.modal-thumb-item.thumb-active {
  border-color: #b22222;
  transform: scale(1.1);
}

.product-description {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-height: 150px;
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #111;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.product-description::-webkit-scrollbar {
  width: 8px;
}

.product-description::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}

.product-description::-webkit-scrollbar-thumb {
  background: #b22222;
  border-radius: 10px;
  border: 2px solid #222;
}

.product-description::-webkit-scrollbar-thumb:hover {
  background: #ff4444;
}

.variant-selectors {
  margin-bottom: 1.5rem;
  width: 100%;
}

.variant-selectors label {
  display: block;
  font-size: 0.9rem;
  color: #f8f8ff;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

.option-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.variant-option-button {
  padding: 0.7rem 1.1rem;
  background-color: #333;
  color: #f8f8ff;
  border: 1px solid #444;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.variant-option-button:hover:not(:disabled) {
  background-color: #b22222;
  border-color: #ff4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(178, 34, 34, 0.4);
}

.variant-option-button.active {
  background-color: #ff4444;
  border-color: #f8f8ff;
  color: #0a0a0a;
  box-shadow: 0 0 15px rgba(255, 68, 68, 1), inset 0 0 8px rgba(255, 68, 68, 0.7);
  transform: scale(1.05);
  font-weight: bold;
}

.variant-option-button.disabled {
  background-color: #222;
  color: #666;
  border-color: #333;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.quantity-selector label {
  font-size: 1rem;
  color: #f8f8ff;
  white-space: nowrap;
  margin-bottom: 0;
}

.quantity-selector .decrease-qty-btn,
.quantity-selector .increase-qty-btn {
  background-color: #333;
  color: #f8f8ff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.quantity-selector .decrease-qty-btn:hover,
.quantity-selector .increase-qty-btn:hover {
  background-color: #b22222;
  box-shadow: 0 4px 8px rgba(178, 34, 34, 0.4);
}

.quantity-input-page {
  width: 60px;
  padding: 0.5rem;
  background-color: #0a0a0a;
  border: 1px solid #444;
  color: #f8f8ff;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quantity-input-page::-webkit-outer-spin-button,
.quantity-input-page::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input-page[type="number"] {
  -moz-appearance: textfield;
}

#modalPrice {
  font-size: 1.8rem;
  color: #00ff00;
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}

#modalPrice .product-compare-price {
  font-size: 1.2rem;
  color: #888;
  text-decoration: line-through;
  margin-left: 1rem;
}


/* Add to Cart Button in Modal */
.btn.add-to-cart-page {
  display: block;
  width: 100%;
  padding: 1.2rem;
  background-color: #b22222;
  color: #f8f8ff;
  border: none;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn.add-to-cart-page:hover:not(:disabled) {
  background-color: #ff4444;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(178, 34, 34, 0.7);
}

.btn.add-to-cart-page:disabled {
  background-color: #555;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}


.product-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  margin-top: 1rem;
  margin-right: 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.new-arrival-badge {
  background-color: #00ff00;
  color: #0a0a0a;
}

.limited-edition-badge {
  background-color: #b22222;
  color: #f8f8ff;
}


/* Footer */
footer {
  background-color: #0a0a0a;
  padding: 2rem;
  text-align: center;
  color: #444;
  font-size: 0.9rem;
  border-top: 1px solid #1c1c1c;
}

/* Sakura Canvas Background */
#background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#sakura {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}


/* Lore Page Specific Styling */
.main-content-section {
  max-width: 900px;
  margin-top: 0;
  margin: 4rem auto;
  padding: 3rem 4rem;
  background-color: rgba(26, 26, 26, 0.95);
  border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

.content-block {
  margin-bottom: 3rem;
  border-bottom: 1px dashed #444;
  padding-bottom: 2rem;
}

.content-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.main-content-section h2 {
  font-size: 2.2rem;
  color: #ff4444;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px rgba(178, 34, 34, 0.7);
}

.main-content-section p {
  font-size: 1.1rem;
  color: #f8f8ff;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

/* Profile (Elyas/Amani) Page Specific Styling */
.profile-bio {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px dashed #666;
}

.profile-bio:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.profile-detail {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 2rem;
}

.profile-detail.reverse-layout {
  flex-direction: row-reverse;
}

.profile-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #b22222;
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.7);
  flex-shrink: 0;
}

.profile-detail p {
  flex-grow: 1;
  text-align: left;
}


/* Cart Page Specific Styling */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cart-item {
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  border: 1px solid #222;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  position: relative;
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 1.5rem;
  border: 1px solid #333;
}

.cart-item .item-details {
  flex-grow: 1;
  text-align: left;
}

.cart-item h3 {
  font-size: 1.2rem;
  color: #f8f8ff;
  margin-bottom: 0.5rem;
}

.cart-item p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 0.5rem;
  right: 0.8rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.remove-item-btn:hover {
  color: #b22222;
  transform: scale(1.1);
}

/* Cart Quantity Adjuster Styling (Re-added and ensured proper styling) */
.cart-quantity-selector {
    display: flex; /* Make it a flex container to align buttons and input */
    align-items: center; /* Vertically center items */
    gap: 0.5rem; /* Space between buttons and input */
    margin-top: 0.5rem; /* Space below price/details in cart item */
}

.cart-quantity-selector button {
    background-color: #2a2a2a;
    color: #f8f8ff;
    border: 1px solid #555;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; /* Ensure button content is centered */
    justify-content: center;
    align-items: center;
}

.cart-quantity-selector button:hover {
    background-color: #b22222;
    border-color: #ff4444;
    color: #0a0a0a;
}

.cart-item-quantity {
    width: 60px; /* Adjust width as needed for the number input */
    padding: 0.4rem 0.2rem;
    background-color: #0a0a0a;
    border: 1px solid #444;
    color: #f8f8ff;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Ensure it behaves as a block element within flex */
}

.cart-item-quantity:focus {
    border-color: #00ff00;
    box-shadow: 0 0 8px rgba(0,255,0,0.5);
    outline: none;
}

/* Hide default spinner arrows for number input */
.cart-item-quantity::-webkit-outer-spin-button,
.cart-item-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cart-item-quantity[type="number"] {
    -moz-appearance: textfield;
}


.cart-summary-block {
  text-align: right;
  padding-top: 2rem;
  border-top: 1px dashed #444;
}

.cart-summary-block p {
  font-size: 1.1rem;
  color: #f8f8ff;
  margin-bottom: 0.8rem;
}

.cart-summary-block h3 {
  font-size: 1.8rem;
  color: #00ff00;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.checkout-btn, .continue-shopping-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

.checkout-btn {
  background-color: #b22222;
  color: #f8f8ff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.checkout-btn:hover {
  background-color: #ff4444;
  transform: translateY(-2px);
}

.continue-shopping-btn {
  background-color: transparent;
  color: #b22222;
  border: 2px solid #b22222;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.continue-shopping-btn:hover {
  background-color: #b22222;
  color: #0a0a0a;
}

/* Checkout Page Specific Styling */
.checkout-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 3rem 4rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 4rem auto;
}

.checkout-form-container, .order-summary-container {
    flex: 1;
}

.checkout-form-container h2, .order-summary-container h2 {
    font-size: 2rem;
    color: #ff4444;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(178, 34, 34, 0.7);
    text-align: left;
}

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form label {
    display: block;
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: 0.03em;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    background-color: #0a0a0a;
    border: 1px solid #444;
    color: #f8f8ff;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkout-form input[type="text"]:focus,
.checkout-form input[type="email"]:focus {
    border-color: #b22222;
    box-shadow: 0 0 8px rgba(178, 34, 34, 0.5);
    outline: none;
}

.checkout-form .form-group-inline {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-form .form-group-inline .form-group {
    flex: 1;
    margin-bottom: 0;
}

.small-text {
    font-size: 0.8em;
    color: #888;
    text-transform: none;
    letter-spacing: normal;
}

.place-order-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background-color: #00ff00;
    color: #0a0a0a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0,255,0,0.3);
}

.place-order-btn:hover {
    background-color: #33ff33;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,255,0,0.5);
}

.order-items {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    background-color: #1a1a1a;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.order-item { /* This is for checkout summary */
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem; /* Slightly more padding for the whole item */
    border-bottom: 1px dashed #333; /* Slightly darker dash */
    background-color: #1a1a1a; /* Background for individual item */
    border-radius: 5px; /* Rounded corners */
    margin-bottom: 0.5rem; /* Space between items */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Subtle shadow for definition */
}

.order-item:last-child {
    border-bottom: none;
}

.order-item img { /* This styling applies to checkout order items */
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #444;
    flex-shrink: 0;
}

.order-item .item-details {
    flex-grow: 1;
    text-align: left;
}

.order-item h3 {
    font-size: 1.1rem;
    color: #f8f8ff;
    margin-bottom: 0.3rem;
    word-wrap: break-word; /* Ensures long words break */
    white-space: normal; /* Ensures text wraps normally */
}

.order-item p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: normal;
}

.item-total {
    font-size: 1.25rem; /* Slightly larger total */
    color: #00ff00;
    font-weight: bold;
    flex-shrink: 0;
    text-align: right;
    min-width: 80px; /* Ensure space for the total price */
}

.order-summary-totals p, .order-summary-totals h3 {
    text-align: right;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #f8f8ff;
}

.order-summary-totals h3 {
    font-size: 1.8rem;
    color: #00ff00;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #b22222;
}

/* Customer Profile Page Specific Styling */
/* Reusing .customer-profile-hero from above */
.customer-profile-hero {
  /* Inherits height and flex properties from .shop-hero etc. */
  height: 60vh; /* Consistent hero height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

.customer-profile-hero h1 {
  font-size: 4rem;
  color: #f8f8ff;
  text-shadow: 0 0 15px #b22222;
  margin-bottom: 0.5rem;
  animation: fadeInScale 1.5s ease-out forwards;
}

.customer-profile-hero p {
  font-size: 1.2rem;
  color: #b22222;
  letter-spacing: 0.1em;
  animation: fadeIn 2s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

/* Reusing .main-content-section and .checkout-layout as base */
#customer-profile-content {
    /* Already has max-width, margin auto, padding, background, border, box-shadow */
    /* checkout-layout provides display: flex; gap: 3rem; align-items: flex-start; */
}

.profile-details-container,
.order-history-container {
    flex: 1; /* Both take equal width in a flex layout */
    background-color: #1a1a1a; /* Dark background for containers */
    border: 1px solid #222; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 2rem; /* Inner padding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Soft shadow for depth */
}

.profile-details-container h2,
.order-history-container h2 {
    font-size: 2rem;
    color: #ff4444; /* Red accent for headings */
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(178, 34, 34, 0.7);
    text-align: left; /* Align headings left */
    border-bottom: 1px dashed #333; /* Separator line */
    padding-bottom: 0.8rem;
}

.profile-details-container .form-group {
    margin-bottom: 1.5rem;
}

.profile-details-container label {
    display: block;
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: 0.03em;
}

.profile-details-container input[type="text"],
.profile-details-container input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    background-color: #0a0a0a;
    border: 1px solid #444;
    color: #f8f8ff;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default; /* Indicate readonly or non-editable fields */
}

.profile-details-container input[readonly] {
    background-color: #111; /* Slightly different background for readonly fields */
    border-color: #333;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3); /* Inner shadow for depth */
}

.profile-details-container .no-orders-message {
    font-style: italic;
    color: #888;
    text-align: left; /* Keep this left-aligned as it's part of form group context */
    margin-top: 1rem;
}

.edit-profile-btn {
  padding: 0.8rem 2rem;
  background-color: #b22222;
  color: #f8f8ff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-top: 2rem;
  display: block; /* Make it a block element to take full width */
  width: 100%; /* Take full width of its container */
  max-width: 250px; /* Constrain width for aesthetics */
  margin-left: auto; /* Center the button if narrower than container */
  margin-right: auto; /* Center the button if narrower than container */
}

.edit-profile-btn:hover {
  background-color: #ff4444;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(178, 34, 34, 0.7);
}

.order-list {
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  background-color: #0a0a0a; /* Darker background for the list */
  margin-bottom: 1.5rem;
  max-height: 400px; /* Set max height for scrollability */
  overflow-y: auto; /* Enable scrolling for order list */
  box-shadow: inset 0 0 8px rgba(0,0,0,0.5); /* Inner shadow for depth */
}

/* Custom scrollbar for Webkit browsers (Chrome, Safari) - same as product-description */
.order-list::-webkit-scrollbar {
  width: 8px;
}

.order-list::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}

.order-list::-webkit-scrollbar-thumb {
  background: #b22222;
  border-radius: 10px;
  border: 2px solid #222;
}

.order-list::-webkit-scrollbar-thumb:hover {
  background: #ff4444;
}


.order-item-history {
  padding: 1rem 0;
  border-bottom: 1px dashed #222; /* Dotted separator between orders */
  margin-bottom: 1rem;
}

.order-item-history:last-child {
  border-bottom: none; /* No border after the last item */
  margin-bottom: 0;
}

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

.order-header h3 {
  font-size: 1.2rem;
  color: #ff4444;
  margin: 0;
  letter-spacing: 0.05em;
}

.order-header span {
  font-size: 0.9rem;
  color: #888;
}

.order-items-list {
  list-style: none;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

.order-items-list li {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding-top: 0.5rem;
  border-top: 1px dotted #333;
}

.order-footer p {
  font-size: 1.1rem;
  color: #00ff00;
  font-weight: bold;
  margin: 0;
}

.order-footer .btn.view-details-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background-color: #b22222;
  color: #f8f8ff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.order-footer .btn.view-details-btn:hover {
  background-color: #ff4444;
  transform: translateY(-1px);
}

.no-orders-message {
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 2rem;
}


/* Contact Page Specific Styling */
.contact-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 3rem 4rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 4rem auto;
}

.contact-form-container, .contact-info-container {
    flex: 1;
}

.contact-form-container h2, .contact-info-container h2 {
    font-size: 2rem;
    color: #ff4444;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(178, 34, 34, 0.7);
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: 0.03em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #0a0a0a;
    border: 1px solid #444;
    color: #f8f8ff;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #b22222;
    box-shadow: 0 0 8px rgba(178, 34, 34, 0.5);
    outline: none;
}

.send-message-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background-color: #00ff00;
    color: #0a0a0a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0,255,0,0.3);
}

.send-message-btn:hover {
    background-color: #33ff33;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,255,0,0.5);
}

.contact-info-container {
    padding-left: 2rem;
    border-left: 1px solid #333;
}

.contact-detail {
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-detail h3 {
    font-size: 1.1rem;
    color: #f8f8ff;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-detail p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222;
    color: #f8f8ff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #444;
}

.social-icon:hover {
    background-color: #b22222;
    color: #0a0a0a;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.7);
}

/* Order Detail Page Specific Styling */
.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 3rem 4rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 4rem auto;
}

@media (min-width: 768px) {
  .order-detail-layout {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "summary summary"
      "shipping billing"
      "items items"
      "totals totals"
      "actions actions";
    }

    .order-summary-block { grid-area: summary; }
    .shipping-billing-info { grid-area: shipping; display: contents; }
    .shipping-info { }
    .billing-info { }
    .ordered-items-container { grid-area: items; }
    .order-totals-summary { grid-area: totals; text-align: right; }
    .order-actions { grid-area: actions; display: flex; justify-content: center; gap: 1rem; }
}


.order-summary-block,
.shipping-info,
.billing-info,
.ordered-items-container,
.order-totals-summary,
.order-actions {
    background-color: #1a1a1a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.order-summary-block h2,
.shipping-info h2,
.billing-info h2,
.ordered-items-container h2 {
    font-size: 1.8rem;
    color: #ff4444;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(178, 34, 34, 0.5);
    border-bottom: 1px dashed #333;
    padding-bottom: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #ccc;
    border-bottom: 1px dotted #222;
    padding-bottom: 0.3rem;
}

.summary-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-item h3 {
    font-size: 1rem;
    color: #f8f8ff;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    margin: 0;
    font-weight: normal;
}

.summary-item p {
    font-size: 1rem;
    color: #ccc;
    text-align: right;
    margin: 0;
}

.shipping-info p, .billing-info p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.ordered-items-container {
  max-height: 400px;
  overflow-y: auto;
}

.order-items-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ordered-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-bottom: 1px dashed #333;
    background-color: #111;
    border-radius: 5px;
}

.ordered-item:last-child {
    border-bottom: none;
}

.ordered-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #444;
    flex-shrink: 0;
}

.ordered-item .item-details {
    flex-grow: 1;
    text-align: left;
}

.ordered-item h3 {
    font-size: 1.05rem;
    color: #f8f8ff;
    margin-bottom: 0.2rem;
    text-transform: capitalize;
}

.ordered-item p {
    font-size: 0.85rem;
    color: #bbb;
    margin: 0;
}

.ordered-item .item-total {
    font-size: 1.1rem;
    color: #00ff00;
    font-weight: bold;
    flex-shrink: 0;
}

.order-totals-summary p {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: #f8f8ff;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px dotted #222;
}

.order-totals-summary p:last-of-type {
    border-bottom: none;
}

.order-totals-summary h3 {
    display: flex;
    justify-content: space-between;
    font-size: 1.8rem;
    color: #00ff00;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 2px solid #b22222;
}

.print-receipt-btn, .back-to-profile-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.print-receipt-btn {
    background-color: #b22222;
    color: #f8f8ff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.print-receipt-btn:hover {
    background-color: #ff4444;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.7);
}

.back-to-profile-btn {
    background-color: transparent;
    color: #b22222;
    border: 2px solid #b22222;
}

.back-to-profile-btn:hover {
    background-color: #b22222;
    color: #0a0a0a;
}



/* Responsive Adjustments */
@media (max-width: 992px) {
    .checkout-layout, .contact-layout, .order-detail-layout, #customer-profile-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem;
    }
    .checkout-form-container, .order-summary-container,
    .profile-details-container, .order-history-container,
    .contact-form-container, .contact-info-container,
    .order-summary-block, .shipping-info, .billing-info,
    .ordered-items-container, .order-totals-summary, .order-actions {
        width: 100%;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    .contact-info-container {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #333;
        padding-top: 2rem;
        margin-top: 2rem;
    }
    .social-links {
        justify-content: center;
    }
    .shipping-billing-info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .shipping-info, .billing-info {
        width: 100%;
    }
    .order-totals-summary {
        text-align: left;
    }
    .order-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    .profile-details-container .no-orders-message {
      text-align: center; /* Center on mobile for better flow */
    }
    .edit-profile-btn {
      max-width: 100%; /* Full width on mobile */
    }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
    height: auto;
    position: relative;
  }

  .navbar-left, .navbar-right {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
    gap: 0.8rem;
  }

  .navbar-center-wrapper {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .navbar-center {
    gap: 0.5rem;
  }

  .nav-logo {
    height: 30px;
  }

  .hero {
    padding-top: 55px; /* Adjust for smaller navbar */
    height: 80vh; /* Make hero section shorter on mobile */
  }

  .logo-placeholder {
    font-size: 3.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .btn.enter-store {
    font-size: 0.9rem;
    padding: 0.7rem 1.8rem;
  }

  .shop-hero, .lore-hero, .profile-hero, .cart-hero, .checkout-hero, .customer-profile-hero, .contact-hero, .order-detail-hero {
    height: 40vh;
    padding-top: 70px; /* Adjust for smaller navbar */
  }

  .shop-hero h1, .lore-hero h1, .profile-hero h1, .cart-hero h1, .checkout-hero h1, .customer-profile-hero h1, .contact-hero h1, .order-detail-hero h1 {
    font-size: 2.5rem;
  }

  .shop-hero p, .lore-hero p, .profile-hero p, .cart-hero p, .checkout-hero p, .customer-profile-hero p, .contact-hero p, .order-detail-hero p {
    font-size: 1rem;
  }

  .featured-products {
    /* Adjustments for single column on smaller screens, if needed for visual preference */
    /* On small screens, this will naturally stack due to flex properties below */
  }

  .product-card img {
    height: 200px;
  }

  /* Product Modal Mobile Adjustments */
  .product-modal .modal-content {
    flex-direction: column; /* Always column for modal content */
    padding: 1.5rem; /* Reduced padding on smaller screens */
    width: 95%; /* Take more width on very small screens */
    max-width: 500px; /* Limit max width for a single column modal */
  }

  .modal-details {
    padding-left: 0;
    padding-top: 1rem; /* Add some top padding on mobile */
  }

  #modalTitle {
    font-size: 1.8rem; /* Smaller title on mobile */
  }

  
  
  .variant-selectors label {
    font-size: 0.85rem; /* Smaller label for variants */
  }

  .variant-option-button {
    padding: 0.6rem 1rem; /* Smaller padding for variant buttons */
    font-size: 0.85rem; /* Smaller font for variant buttons */
  }

  .quantity-selector label {
    font-size: 0.9rem; /* Smaller quantity label */
  }

  .quantity-input-page {
    width: 50px; /* Smaller quantity input */
    font-size: 0.9rem;
  }

  #modalPrice {
    font-size: 1.5rem; /* Smaller price on mobile */
  }

  .btn.add-to-cart-page {
    font-size: 1.1rem; /* Smaller add to cart button text */
    padding: 1rem; /* Smaller padding for add to cart button */
  }


  .main-content-section {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }

  .main-content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .main-content-section p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .content-block {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .profile-detail {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .profile-detail.reverse-layout {
    flex-direction: column;
  }

  .checkout-form .form-group-inline {
      flex-direction: column;
      gap: 0;
  }
  .checkout-form .form-group-inline .form-group {
      margin-bottom: 1.5rem;
  }
  .checkout-form-container h2, .order-summary-container h2,
  .profile-details-container h2, .order-history-container h2,
  .contact-form-container h2, .contact-info-container h2,
  .order-summary-block h2, .shipping-info h2, .billing-info h2, .ordered-items-container h2 {
      text-align: center;
  }
  .order-summary-totals p, .order-totals-summary p, .order-summary-totals h3, .order-totals-summary h3 {
      text-align: center;
  }
  .order-actions {
      flex-direction: column;
  }
  .print-receipt-btn, .back-to-profile-btn {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-placeholder {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .navbar-left, .navbar-right {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .main-content-section h2 {
    font-size: 1.5rem;
  }

  .main-content-section p {
    font-size: 0.9rem;
  }

  .checkout-btn, .continue-shopping-btn, .print-receipt-btn, .back-to-profile-btn {
    font-size: 1rem;
    padding: 0.8rem;
  }
}


    .product-price-container {
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
  }
  
  .product-price-detail {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #b5837b !important;
    margin: 0 !important;
    text-align: center !important;
  }
  
  .product-price-detail::before {
    content: "Price: ";
    font-weight: 500;
    font-size: 1rem;
    color: #ccc;
    margin-right: 0.4rem;
  }
  
  .product-compare-price {
    font-size: 1.3rem !important;
    color: #888 !important;
    text-decoration: line-through !important;
    margin-left: 1rem !important;
    text-align: center !important;
  }
  
  .product-compare-price::before {
    content: "Was: ";
    font-weight: 500;
    font-size: 1rem;
    color: #bbb;
    margin-right: 0.3rem;
  }
  
  .product-description-detail {
    max-height: 300px ; /* increased height */
    overflow-x: auto !important;
    overflow-y: auto !important;
    white-space: normal !important;
    padding: 1rem !important;
    border: 1px solid #444 !important;
    border-radius: 8px !important;
    background-color: #111 !important;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.8) !important;
  
    color: #b5837b !important; /* darker peach for better readability */
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  }
  .product-description-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
  }
  
  .product-description-detail table th,
  .product-description-detail table td {
    color: #b5837b !important; /* match text color */
    padding: 0.7rem 1rem;
    border: 1px solid #555;
    text-align: center;
    background-color: #222;
  }
  
  .product-description-detail table th {
    background-color: #2a2a2a;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
  
  .product-description-detail table tr:nth-child(even) td {
    background-color: #1c1c1c;
  }
  
  .product-description-detail table tr:hover td {
    background-color: #333;
    color: #ff6f61;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  /* ===== Luxury Gothic Font Imports ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

body,
p,
span,
a,
li,
button {
    font-family: "Inter", sans-serif !important;
    color: #eaeaea;
}

/* Headings - Modern High Fashion Gothic */
h1, h2, h3, .product-title, .section-title {
    font-family: "Playfair Display", serif !important;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.5px;
}

/* ===== Backgrounds ===== */
body,
.header,
.footer,
.main-content,
.section,
.modal,
.drawer {
    background-color: #0a0a0a !important;
    color: #e0e0e0;
}

/* ===== Primary Gold Buttons ===== */
button,
.btn,
.button,
.add-to-cart,
.checkout-btn {
    background: #111;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 12px 20px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

button:hover,
.btn:hover,
.button:hover,
.add-to-cart:hover,
.checkout-btn:hover {
    background: #d4af37;
    color: #0a0a0a;
    box-shadow: 0 0 12px #d4af37;
}

/* ===== Product Cards / Containers ===== */
.product-card,
.card,
.collection-item,
.modal-content,
.drawer-content {
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 15px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.product-card:hover,
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* ===== Pricing ===== */
.price {
    color: #d4af37 !important;
    font-weight: 600;
}

.sale-badge,
.low-stock,
.limited,
.badge-sale {
    background: #8b0000;
    color: #d4af37;
    padding: 4px 8px;
    border: 1px solid #d4af37;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== Links ===== */
a,
.nav-link {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover,
.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #d4af37;
}

/* ===== Form Inputs / Fields ===== */
input,
textarea,
select {
    background: #0f0f0f;
    border: 1px solid #444;
    color: #eaeaea;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 8px #d4af37;
}

