/* ==========================
   FONTS & ROOT VARIABLES
========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0d0d0d;
  --bg-soft: #1b2330;
  --card: #121214;
  --accent: #00d1ff;
  --brand: #294962;
  --brand-soft: #355a7a;
  --gold: goldenrod;
  --muted: #bfc4c9;
  --text-main: #ffffff;
}

/* ==========================
   GLOBAL RESET & BASE
========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  /* Refined gradient background */
  background:
    radial-gradient(circle at top left, #f2f2f2 0, #dcdcdc 40%, #294962 85%),
    radial-gradient(circle at bottom right, #1b2330, #0b1724);
}

/* Utility */
.text-center {
  text-align: center;
}

/* Main container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

/* ==========================
   NAVBAR
========================== */

/*.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brand);
  padding: 10px 18px;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 9999;
}*/

/* ============================================
   NAVBAR STYLES
   ============================================ */

.navbar {
  background: #294962;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #ffd9b2;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 25px;
}

.cart-icon-container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cart-icon {
  font-size: 22px;
  color: #ffffff;
  transition: color 0.3s;
}

.cart-icon:hover {
  color: #ffd9b2;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #e94560;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
}

.user-icon {
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s;
}

.user-icon:hover {
  color: #ffd9b2;
}

#hamburgerBtn {
  display: none;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: #1a2f3f;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 5px;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
}


.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   CART SLIDEOUT
   ============================================ */

.cart-slideout {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  z-index: 10001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-slideout.active {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-header {
  padding: 20px;
  background: #294962;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
  font-size: 20px;
}

#closeCartSlideout {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

#cartItemsContainer {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/*.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #294962;
}

.cart-item-details p {
  margin: 3px 0;
  font-size: 13px;
  color: #666;
}

.cart-item-price {
  font-weight: 700;
  color: #e94560;
  font-size: 16px !important;
}

.remove-item {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}*/


.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}

.cart-item-image {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.cart-item-image .tshirt-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9fa;
}

.cart-item-image .design-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  object-fit: contain;
  pointer-events: none;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #294962;
  font-weight: 600;
}

.cart-item-details p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
}

.cart-item-price {
  font-weight: 700 !important;
  color: #e94560 !important;
  font-size: 16px !important;
  margin-top: 8px !important;
}

.remove-item {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  height: fit-content;
}

.remove-item:hover {
  background: #c82333;
  transform: scale(1.05);
}

.cart-footer {
  padding: 20px;
  border-top: 2px solid #e0e0e0;
  background: #f8f9fa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

/* ==========================
   BUTTONS & CARDS
========================== */

.btn {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--gold);
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease, border 0.2s ease;
}

.btn:hover {
  background: #ffd9b2;
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0,209,255,0.4);
}

/* Hero buttons variations */
.btnh.ghost,
.btnf.ghost {
  display: inline-block;
  background: #ffd9b2;
  color: var(--brand);
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
  border: 2px solid var(--brand);
  height: 45px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btnh.ghost:hover,
.btnf.ghost:hover {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--gold);
}

/* Primary hero CTA */
.btna {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--gold);
  height: 45px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btna:hover {
  background: #ffd9b2;
  color: var(--brand);
  border-color: var(--brand);
}

/* Generic ghost alternative */
.btn-ghost {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  padding: 0.45rem 20px;
}

.btn-ghost:hover {
  background: #ffd9b2;
  color: #292929;
}

/* Success page button */
.btnsuc {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--gold);
  padding: 10px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  margin: 0 auto;
}

.btnsuc:hover {
  background: #ffd9b2;
  color: #292929;
  border: 2px solid var(--brand);
}

.btn-group { 
  justify-content:center; 
  margin-top:18px; 
  display:flex;
  gap:20px
}

/* Card base */
.card {
  background: radial-gradient(#f8f8f8, var(--brand-soft));
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 2px solid var(--gold);
  box-shadow: 3px 3px 5px black;
  transition: 0.2s ease;
}


.cardd {
    /* background: radial-gradient(#f8f8f8, var(--brand-soft)); */
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    /* border: 2px solid var(--gold); */
    box-shadow: 3px 3px 5px black;
    transition: 0.2s ease;
    /* max-width: 1260px; */
    margin-top: 30px;
}

.card:hover {
  box-shadow: 5px 5px 12px black;
}

/* Success/Cancel card */
.card-success {
  background: radial-gradient(#f8f8f8, var(--brand));
  padding: 16px 20px 24px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 10px black;
  margin: 30px auto;
  max-width: 520px;
}

/* ==========================
   HERO SECTION (HOME)
========================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

/* Left hero copy */
.hero-copy h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero-copy p {
  font-size: 1rem;
  max-width: 480px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

/* Right hero – swiper card */
.hero-right {
  display: flex;
  max-width: 400px;
  min-width: 220px;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #ffffff, var(--brand));
  box-shadow: 3px 3px 5px black;
  border-radius: 15px;
  border: 2px solid var(--gold);
  margin-top: 30px;
  margin-left: 75px;
  cursor: pointer;
}

/* Swiper images */
.swiper img {
  max-width: 375px;
  max-height: 550px;
  min-width: 130px;
  min-height: 250px;
  width: 95%;
  height: 95%;
  margin-top: 20px;
  margin-left: 10px;
  margin-bottom: 50px;
}

.swiper-slide h4 {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Swiper arrows & bullets */
.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #fff;
}

.swiper .swiper-pagination-bullet-active {
  background: #fff;
}

/* ==========================
   PRODUCT GRID
========================== */

.featured-products {
    background: radial-gradient(#f8f8f8, var(--brand-soft));
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    box-shadow: 3px 3px 5px black;
    transition: 0.2s ease;
    max-width: 1270px;
    margin: 55px auto 50px;
}
.featured-products h2 {
  text-align: center;
}

.products-grid {
  display: flex;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--gold);
  padding: 18px 10px 14px;
  box-shadow: 3px 3px 5px black;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  background: radial-gradient(#ffffff, #d7dde7);
  min-height: 350px;
}

.product img {
  width: 100%;
  max-width: 200px;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product h4 {
  margin: 8px 0 4px;
  color: #490307;
  text-align: center;
  font-size: 16px;
}

.product p {
  margin: 4px 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.product .product-type {
  color: #999;
  font-size: 12px;
  font-style: italic;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Product badges */
.product {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e94560;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-price {
  color: #e94560 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin: 8px 0 !important;
}

.product-description {
  color: #666 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 5px 0 !important;
  text-align: center !important;
  min-height: 40px !important;
}

.product .btn {
  margin-top: 10px !important;
  width: auto !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 50px 0 20px;
}

.pagination-btn {
	background: none;
	border: none;
  cursor: pointer;
}

.pagination-btn i {
  height: 20px;
  font-size: 2.5rem;
}

/* ==========================
   DESIGN PAGE
========================== */

.design-layout {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  margin-top: 25px;
}

/* Canvas */
/*.design-canvas {
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.25));
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255,255,255,0.2);
  overflow: hidden;
  box-shadow: 4px 4px 17px rgba(0,0,0,0.4);
}*/

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 49%, rgba(255,255,255,0.03) 50%),
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.03) 50%);
  background-size: 24px 24px;
  opacity: 0.18;
  pointer-events: none;
}

.tshirt-base {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/*.design-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}*/

.design-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;    /* keeps design small & consistent */
  height: auto;
  max-width: 60%;  /* prevents image from ever covering entire shirt */
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: 2;
}


/* Controls */
.design-controls {
  display: grid;
  gap: 12px;
  min-width: 260px;
  max-width: 700px;
  padding: 10px;
  background: radial-gradient(#f5f5f5, #c2ccd8);
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}


.design-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.design-row label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
}

.design-controls select,
.design-controls input[type="range"] {
  width: 100%;
  padding: 7px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
}

/* Move design buttons */
.btns {
  display: inline-block;
  background: #ffd9b2;
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid var(--brand);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btns:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--gold);
}

/* Color swatches */
.color-swatches {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.color-swatch:hover {
  transform: scale(1.06);
}

.color-swatch.selected {
  border-color: #fff;
}

.color-swatch .check {
  display: none;
  font-size: 18px;
  font-weight: 700;
}

/* dynamic check color via JS by adding .light or .dark */
.color-swatch.light .check {
  color: #000;
}
.color-swatch.dark .check {
  color: #fff;
}

.color-swatch.selected .check {
  display: block;
}

/* ==========================
   MODAL (Preview)
========================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  padding: 20px;
  box-sizing: border-box;
}

.modal-boxx {
  position: relative;
  background: #dcdcdc;
  border-radius: 12px;
  padding: 18px;
  max-width: 620px;
  width: 94%;
  border: 2px solid var(--gold);
  opacity: 0.98;
  color: var(--brand);
}

.modal-boxx h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 12px;
}

.close-btnn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  color: var(--gold);
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.modal-content {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

#modal-canvas {
  flex: 1;
  max-width: 300px;
  position: relative;
}

.product-info {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-details {
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9rem;
}

/* ==========================
   CART & USER PANELS
========================== */

.cart-panel,
.user-panel {
  display: none;
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  max-width: 90%;
  height: 100%;
  background: #dcdcdc;
  color: var(--brand);
  box-shadow: -6px 0 12px rgba(0,0,0,0.4);
  padding: 20px;
  z-index: 99999;
  transition: right 0.25s ease;
}

.cart-panel.open,
.user-panel.open {
  display: block;
  right: 0;
}

.close-cart {
  background: none;
  border: none;
  color: var(--brand);
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 10px;
}

.cart-panel h3,
.user-panel h3,
.user-panel h2 {
  margin-top: 30px;
}

/* Cart items */
.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* ==========================
   ACCOUNT PAGE
========================== */

.account {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 15px;
}

.auth-container {
  max-width: 420px;
  width: 100%;
  background: #dcdcdc;
  border-radius: 17px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
  padding: 20px;
}

/* Toggle capsule */
.button-box {
  width: 220px;
  margin: 0 auto 10px auto;
  position: relative;
  border-radius: 30px;
  background: #f1f1f1;
  display: flex;
  overflow: hidden;
}

.toggle-btn {
  flex: 1;
  padding: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  font-weight: 600;
  z-index: 1;
  font-size: 0.9rem;
}

/* sliding indicator */
.btnw {
  position: absolute;
  width: 110px;
  height: 100%;
  background: linear-gradient(45deg, #6c5ce7, #0984e3);
  border-radius: 30px;
  transition: 0.3s ease;
  left: 0;
}

/* forms wrapper */
#forms-section {
  position: relative;
  height: 300px;
  overflow: hidden;
}

#forms-section form {
  position: absolute;
  width: 100%;
  left: 0;
  top: 30px;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease;
  z-index: 1;
}

#forms-section form.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

#forms-section h1 {
  font-size: 1.4rem;
  color: #294962;
  margin-bottom: 10px;
  text-align: center;
  margin-top: -25px;
}

#forms-section input {
  width: 90%;
  padding: 10px;
  margin: 8px auto;
  border: 1px solid #999;
  border-radius: 5px;
  outline: none;
  display: block;
  font-family: inherit;
}

.btnb {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--gold);
  padding: 10px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  width: 160px;
  margin: 12px auto 0 auto;
  display: block;
}

.btnb:hover {
  background: #ffd9b2;
  color: #292929;
  border-color: var(--brand);
}

.forgot-password {
  text-align: center;
  margin-top: 8px;
}

.forgot-password a {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: red;
}

/* ==========================
   CHECKOUT PAGE
========================== */

.checkContain {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

/* cart summary card */
.cardcheck {
  width: 470px;
  max-width: 100%;
  background: #294962;
  border-radius: 10px;
  border: 2px solid var(--gold);
  color: #fff;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.cardcheck h3 {
  margin-top: 10px;
}

#checkoutCartItems {
  padding: 12px;
  max-height: 230px;
  overflow-y: auto;
}

/* shipping + payment card */
.card-pay {
  background: #294962;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 2px solid var(--gold);
  box-shadow: 3px 3px 5px black;
  min-width: 280px;
  width: 450px;
  max-width: 100%;
  color: #fff;
}

.check-wrap {
  font-size: 0.9rem;
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 12px;
}

.check-wrap label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.check-wrap input,
.check-wrap select {
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #d4d4d4;
  font-family: inherit;
}

.pay-email {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
  font-size: 0.9rem;
}

.pay-email input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  cursor: pointer;
  margin-left: 100px;
}

/* Pay button */
.btn-pay {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--gold);
  padding: 10px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  width: 180px;
}

.btn-pay:hover {
  background: #ffd9b2;
  color: #294962;
  border-color: #294962;
}

.btnn-pay {
	margin-left: 35px;
	margin-top: 10px;
	margin-left: 120px;
	margin-bottom: 20px;
}

/* ==========================
   FORGOT PASSWORD
========================== */

.forgot-cont {
  width: 550px;
  max-width: 100%;
  height: auto;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(#dcdcdc, var(--brand));
  border-radius: 15px;
  border: 2px solid var(--gold);
  padding: 18px;
}

.forgot-cont h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contain-pass {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}

.contain-pass input {
  margin-top: 8px;
  width: 260px;
  max-width: 90%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #999;
  font-family: inherit;
}

.forgot-msg {
  margin-top: 10px;
  color: red;
}

/* ==========================
   RESET PASSWORD
========================== */

.forgot-contt {
  width: 550px;
  max-width: 100%;
  height: auto;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(#ffffff, var(--brand));
  border-radius: 15px;
  border: 2px solid var(--gold);
  padding: 18px;
}

.forgot-contt h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contain-passd input {
  display: block;
  margin: 10px auto;
  width: 240px;
  max-width: 90%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #999;
  font-family: inherit;
}

.res-pass-btn {
  margin-top: 10px;
}

/* ==========================
   ORDERS PAGE
========================== */

#ordersList .card {
  background: radial-gradient(#ffffff, #d5dde8);
  color: #111827;
}

#ordersMessage {
  font-size: 0.95rem;
}

/* ==========================
   ABOUT PAGE (BASIC)
========================== */

.about-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 1rem;
}

.about-hero-text h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-hero-text p {
  font-size: 1rem;
}

.about-hero-image img {
  width: 80%;
  border-radius: 1rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  object-fit: cover;
}

/* ==========================
   FOOTER
========================== */

footer {
  background-color: var(--brand);
  color: #fff;
  padding: 30px 18px 16px;
  text-align: center;
  border-top: 3px solid var(--gold);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto 16px;
  max-width: 1100px;
}

/* Logo section */
.logo-section {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.business-name {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
  margin-top: 8px;
}

/* Links section */
.links-section {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.links-section h4 {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 4px;
}

.links-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-section ul li {
  margin: 6px 0;
}

.links-section ul li a {
  text-decoration: none;
  color: #aaa;
  transition: color 0.2s ease;
}

.links-section ul li a:hover {
  color: #f39c12;
}

/* Contact section */
.contact-section {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.contact-section h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

/* Social section */
.social-media-section {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.social-media-section h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--gold);
}

.social-icons {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.social-icons li a {
  text-decoration: none;
  font-size: 1.2em;
  color: #fff;
  transition: color 0.2s ease, transform 0.15s ease;
}

.social-icons li a:hover {
  color: #f39c12;
  transform: translateY(-1px);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: var(--gold);
  font-size: 12px;
  padding: 8px 0;
}

/* ==========================
   RESPONSIVE MEDIA QUERIES
========================== */

@media (max-width: 900px) {

  /* Navbar mobile */
  .nav-menu {
    display: none;
  }
  
  #hamburgerBtn {
    display: block;
  }

  /* Hero stacks */
  .hero-grid {
    grid-template-columns: 1fr;
  }

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
}

  .hero-right {
    margin: 20px auto 0 auto;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  /* Design modal mobile tweak */
  .modal-content {
    flex-direction: column;
    align-items: center;
  }

  .product-info {
    align-items: center;
    text-align: center;
  }

  .products {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
  }  

  .btn-group { 
    display: grid;
  }  

  .btnn-pay {
    margin-left: 35px;
    margin-top: 10px;
  }

  /* Checkout grid */
  .checkContain {
    flex-direction: column;
  }

  .cardcheck,
  .card-pay {
    width: 100%;
  }

  .check-wrap {
    grid-template-columns: 1fr;
    margin-left: -7px;
  }

  .pay-email input[type="checkbox"] {
    margin-left: 20px;
    margin-top: 10px;
  }

  /* Account container */
  .auth-container {
    max-width: 360px;
    margin: 20px auto;
  }

  /* Forgot/reset */
  .forgot-cont,
  .forgot-contt {
    width: 320px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  #hamburgerBtn {
    display: block;
  }

  .cart-slideout {
    width: 100%;
    right: -100%;
  }

  .btn-group { 
    display: grid;
  }    
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 1.7rem;
  }

.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }  

  .btn-group { 
    display: grid;
  }    

}


/* ============================================
   CART NOTIFICATION ANIMATIONS
   ============================================ */

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

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

.cart-notification {
  animation: slideInRight 0.3s ease;
}


/* ============================================
   ACCOUNT PAGES
   ============================================ */

.account-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.account-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 450px;
  overflow: hidden;
}

.account-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  background: #f8f9fa;
}

.tab-btn {
  flex: 1;
  padding: 18px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.tab-btn:hover {
  background: rgba(41, 73, 98, 0.05);
}

.tab-btn.active {
  color: #294962;
  background: white;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e94560;
}

.account-form {
  padding: 40px 35px;
  display: none;
}

.account-form.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.account-form h2 {
  margin: 0 0 10px 0;
  color: #294962;
  font-size: 28px;
}

.account-form > p {
  margin-bottom: 30px;
  color: #666;
  font-size: 14px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #294962;
  box-shadow: 0 0 0 3px rgba(41, 73, 98, 0.1);
}

.account-form .btn {
  width: 100%;
  margin-top: 10px;
}

.account-form a {
  color: #294962;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.account-form a:hover {
  color: #e94560;
}

/* User Dropdown Menu */
.user-dropdown-menu {
  position: fixed;
  top: 70px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 10000;
  min-width: 280px;
  padding: 20px;
  animation: slideInRight 0.3s ease;
}

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

.menu-header {
  text-align: center;
  padding-bottom: 15px;
}

.menu-header p {
  margin: 0;
}

.menu-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 15px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: #294962;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 500;
}

.menu-item:hover {
  background: #f8f9fa;
  transform: translateX(3px);
}

.menu-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.menu-item-danger {
  color: #dc3545;
}

.menu-item-danger:hover {
  background: #fff5f5;
}

/* Welcome Banner */
.welcome-banner {
  background: linear-gradient(135deg, #294962 0%, #1a2f3f 100%);
  color: white;
  padding: 15px 30px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .account-card {
    /*margin: 20px;*/
  }
  
  .account-form {
    padding: 30px 25px;
  }
  
  .user-dropdown-menu {
    right: 10px;
    left: 10px;
    min-width: auto;
  }
}



/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 300px;
  animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-left: 4px solid #294962;
}

.toast.success {
  border-left-color: #28a745;
}

.toast.success .toast-icon {
  background: #28a745;
}

.toast.error {
  border-left-color: #dc3545;
}

.toast.error .toast-icon {
  background: #dc3545;
}

.toast.warning {
  border-left-color: #ffc107;
}

.toast.warning .toast-icon {
  background: #ffc107;
}

.toast.info {
  border-left-color: #17a2b8;
}

.toast.info .toast-icon {
  background: #17a2b8;
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 15px;
  color: #333;
  margin: 0 0 4px 0;
}

.toast-message {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.toast-close {
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  flex-shrink: 0;
}

.toast-close:hover {
  background: #f0f0f0;
  color: #333;
}

.toast.removing {
  animation: slideOutRight 0.3s ease forwards;
}

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

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

@media (max-width: 768px) {
  .toast-container {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .toast {
    min-width: auto;
  }
}

/* Confirmation Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.modal {
  background: white;
  border-radius: 16px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
}

.modal-icon.success {
  background: #28a745;
}

.modal-icon.error {
  background: #dc3545;
}

.modal-icon.warning {
  background: #ffc107;
}

.modal-icon.info {
  background: #17a2b8;
}

.modal-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.modal-message {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn-primary {
  background: #294962;
  color: white;
}

.modal-btn-primary:hover {
  background: #1a2f3f;
  transform: translateY(-2px);
}

.modal-btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.modal-btn-secondary:hover {
  background: #d0d0d0;
}

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

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

/* ============================================
   CHECKOUT ORDER SUMMARY
   ============================================ */

.order-items {
  margin-bottom: 30px;
}

.order-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 15px;
  background: white;
  transition: all 0.3s;
}

.order-item:hover {
  border-color: #294962;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.order-item-image {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.order-item-image .tshirt-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9fa;
}

.order-item-image .design-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  height: 55%;
  object-fit: contain;
  pointer-events: none;
}

.order-item-details {
  flex: 1;
  min-width: 0;
}

.order-item-details h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #294962;
  font-weight: 600;
}

.order-item-details p {
  margin: 6px 0;
  font-size: 14px;
  color: #666;
}

.order-item-price {
  font-size: 20px;
  font-weight: 700;
  color: #e94560;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.order-totals {
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  color: #333;
}

.total-row:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.total-final {
  margin-top: 10px;
  padding-top: 20px !important;
  border-top: 3px solid #294962 !important;
  font-size: 20px;
  color: #294962;
}

@media (max-width: 768px) {
  .order-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .order-item-image {
    width: 150px;
    height: 150px;
  }
  
  .order-item-price {
    margin-top: 10px;
  }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */

/* ============================================
   CHECKOUT PAGE - IMPROVED COMPACT STYLING
   ============================================ */

.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 80vh;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.checkout-form-section,
.checkout-summary-section {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  height: fit-content;
}

.checkout-form-section h2,
.checkout-summary-section h2 {
  color: #294962;
  margin: 0 0 25px 0;
  font-size: 22px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-summary-section {
  position: sticky;
  top: 20px;
}

/* Form Styling - Compact & Consistent */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #294962;
  box-shadow: 0 0 0 3px rgba(41, 73, 98, 0.1);
}

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

/* Shipping Options - Compact Radio Buttons */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.shipping-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
  min-height: 55px;
}

.shipping-option:hover {
  border-color: #294962;
  background: #f8f9fa;
  transform: translateX(3px);
}

.shipping-option.selected {
  border-color: #294962;
  background: #e8f4f8;
  box-shadow: 0 2px 10px rgba(41, 73, 98, 0.15);
}

.shipping-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0 12px 0 0;
  cursor: pointer;
  accent-color: #294962;
  flex-shrink: 0;
}

.shipping-option-details {
  flex: 1;
  min-width: 0;
}

.shipping-option-name {
  font-weight: 600;
  font-size: 14px;
  color: #294962;
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.shipping-option-description {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

.shipping-option-price {
  font-weight: 700;
  font-size: 16px;
  color: #e94560;
  margin-left: 15px;
  flex-shrink: 0;
}

/* Order Summary Styling */
.order-items {
  margin-bottom: 25px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Custom scrollbar for order items */
.order-items::-webkit-scrollbar {
  width: 6px;
}

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

.order-items::-webkit-scrollbar-thumb {
  background: #294962;
  border-radius: 10px;
}

.order-item {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 12px;
  background: white;
  transition: all 0.3s;
}

.order-item:hover {
  border-color: #294962;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.order-item-image {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.order-item-image .tshirt-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9fa;
}

.order-item-image .design-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  object-fit: contain;
  pointer-events: none;
}

.order-item-details {
  flex: 1;
  min-width: 0;
}

.order-item-details h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #294962;
  font-weight: 600;
}

.order-item-details p {
  margin: 3px 0;
  font-size: 13px;
  color: #666;
}

.order-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #e94560;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.order-totals {
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
}

.total-row:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.total-final {
  margin-top: 8px;
  padding-top: 15px !important;
  border-top: 3px solid #294962 !important;
  font-size: 18px;
  font-weight: 700;
  color: #294962;
}

/* Button Styling */
.btn-large {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary.btn-large {
  background: #294962;
  color: white;
  font-weight: 600;
}

.btn-primary.btn-large:hover {
  background: #1a2f3f;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(41, 73, 98, 0.3);
}

.btn-primary.btn-large:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Payment Modal */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.payment-modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid #e0e0e0;
  background: #294962;
  color: white;
  border-radius: 16px 16px 0 0;
}

.payment-modal-header h2 {
  margin: 0;
  font-size: 20px;
  border: none;
  padding: 0;
  color: white;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

#paymentForm {
  padding: 25px;
}

#payment-element {
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .checkout-content {
    grid-template-columns: 1fr;
  }
  
  .checkout-summary-section {
    position: static;
  }
  
  .order-items {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .checkout-container {
    padding: 20px 15px;
  }
  
  .checkout-form-section,
  .checkout-summary-section {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .shipping-option {
    flex-wrap: wrap;
  }
  
  .shipping-option-price {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    text-align: right;
  }
  
  .order-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .order-item-image {
    width: 120px;
    height: 120px;
  }
}

/* Additional Compact Adjustments */
.checkout-form-section form {
  max-width: 100%;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

/* Make everything more compact */
.checkout-form-section h2 i,
.checkout-summary-section h2 i {
  font-size: 20px;
}

/* Equal height boxes */
.checkout-form-section {
  display: flex;
  flex-direction: column;
}

.checkout-form-section form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.checkout-form-section form .btn-large {
  margin-top: auto;
}


/* ============================================
   DESIGN CONTROLS - COMPACT STYLING
   ============================================ */

/*.design-controls {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}*/

.design-controls h3 {
  font-size: 16px;
  color: #294962;
  margin: 0 0 15px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.control-group {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.control-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.control-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.control-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.control-buttons.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.control-btn {
  padding: 10px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  color: #294962;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.control-btn:hover {
  border-color: #294962;
  background: #f8f9fa;
  transform: translateY(-2px);
}

.control-btn:active {
  transform: translateY(0);
}

.control-btn i {
  font-size: 16px;
}

.control-btn-reset {
  background: #fff5f5;
  border-color: #dc3545;
  color: #dc3545;
  grid-column: 1 / -1;
}

.control-btn-reset:hover {
  background: #dc3545;
  color: white;
}

/* Price Display in Design */
.design-price-display {
  background: linear-gradient(135deg, #294962 0%, #1a2f3f 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  margin-top: 15px;
}

.design-price-display .price-label {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.design-price-display .price-amount {
  font-size: 28px;
  font-weight: 700;
}

/* Add to Cart Button in Design */
#add-to-cart-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
}

/* Compact Mobile Design Controls */
@media (max-width: 768px) {
  .design-controls {
    padding: 15px;
  }

  .control-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .control-btn {
    padding: 8px;
    font-size: 12px;
  }

  .control-btn i {
    font-size: 14px;
  }
}

/*.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 80vh;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: start;
}

.checkout-form-section {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.checkout-form-section h2 {
  color: #294962;
  margin-bottom: 25px;
  font-size: 24px;
}

.checkout-summary-section {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 20px;
}

.checkout-summary-section h2 {
  color: #294962;
  margin-bottom: 25px;
  font-size: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-large {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  margin-top: 20px;
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.payment-modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid #e0e0e0;
  background: #294962;
  color: white;
  border-radius: 16px 16px 0 0;
}

.payment-modal-header h2 {
  margin: 0;
  font-size: 22px;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s;
}

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

#paymentForm {
  padding: 30px;
}

#payment-element {
  margin-bottom: 25px;
}

@media (max-width: 1024px) {
  .checkout-content {
    grid-template-columns: 1fr;
  }
  
  .checkout-summary-section {
    position: static;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}*/