/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

/* ============================================
   STORE PAGE
   ============================================ */
body.page-template-page-store .fusion-tb-header {
  position: fixed;
  top: 0;
  width: 100% !important;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.95),
    rgba(10,10,10,1)
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78,205,196,0.2);
  transition: none;
}

body.page-template-page-store #header-logo {
  opacity: 1 !important;
}

body.page-id-100507 {
  overflow-x: hidden !important;
}


.store-hero {
  padding: 80px 24px 32px;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.1));
  position: relative;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.store-hero::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: rgba(78,205,196,0.1);
  border-radius: 50%;
  filter: blur(120px);
  transform: translateX(-50%);
  z-index: -2;
}

.store-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 20%;
  width: 400px;
  height: 400px;
  background: rgba(251,191,36,0.1);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

/* BADGE */
.store-hero-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  margin-bottom: 42px;
  border-radius: 22px;
  border: 1px solid rgba(251,191,36,0.35);
  background: rgba(251,191,36,0.05);
  backdrop-filter: blur(12px);
  font-family: 'Cinzel', serif;
  font-size: 16px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fbbf24;
  box-shadow: 0 0 35px rgba(251,191,36,0.08);
}

/* HEADING */
.store-hero h1{
  margin: 0 0 32px;
  font-family: 'Cinzel', serif;
  font-size: clamp(38px, 4vw, 70px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;

  background: linear-gradient(
    to bottom,
    #ffe27a 0%,
    #fbbf24 40%,
    #d4a145 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.store-hero p{
  max-width: 900px;
  margin: 0 auto;
  
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

/* TABLET */
@media (max-width: 1023px){

  .store-hero{
    padding: 120px 24px 90px;
	width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .store-hero-badge{
    padding: 16px 32px;
    font-size: 14px;
  }

  .store-hero p{
    max-width: 760px;
  }
}

/* ============================================
   MOBILE CENTERING — STORE PAGE
   ============================================ */
@media (max-width: 768px) {
  body.page-id-100507,
  body.page-id-100507 #boxed-wrapper,
  body.page-id-100507 #wrapper,
  body.page-id-100507 #main,
  body.page-id-100507 #main .fusion-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  body.page-id-100507 {
    overflow-x: hidden !important;
  }
	
	.store-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
	
  .store-hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 100px 20px 60px;
    box-sizing: border-box;
    text-align: center;
  }
	
  .store-hero h1,
  .store-hero p,
  .store-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .category-filters {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    margin: 0 auto;
  }
	.products-section {
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .products-grid {
    width: 100%;
    box-sizing: border-box;
    padding: 32px 16px !important;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .product-info {
    padding: 16px;
  }
  .product-name {
    font-size: 15px;
  }
  .product-price {
    font-size: 18px;
  }
  .product-modal-overlay {
    padding: 8px;
    align-items: flex-end;
  }
  .product-modal {
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    padding: 24px 16px;
    box-sizing: border-box;
    width: 100%;
  }
  .modal-product-name {
    font-size: 22px;
  }
  .modal-price {
    font-size: 22px;
  }
  .toast-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    text-align: center;
    font-size: 14px;
  }
}
@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
    padding: 24px 12px;
  }
}

.category-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  background: #050505;
}

.category-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Cinzel', serif;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-btn.active {
  background: linear-gradient(to right, #4ecdc4, #3da9a0);
  color: white;
  box-shadow: 0 0 20px rgba(78,205,196,0.4);
  border: none;
}

.category-btn:not(.active) {
  border: 1px solid rgba(78,205,196,0.3);
  color: #4ecdc4;
  background: transparent;
}

.category-btn:not(.active):hover {
  border-color: rgba(78,205,196,0.6);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px 24px;
  background: none !important;
  position: relative;
}

.product-card {
  background: #050505;
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s ease;
}

.product-card:hover {
  border-color: rgba(251,191,36,0.6);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(251,191,36,0.3);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.1);
}

/* Out of Stock Overlay */
.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.out-of-stock-badge {
  padding: 8px 16px;
  background: #d4183d;
  color: white;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
}

/* Low Stock Badge */
.low-stock-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: rgba(251,191,36,0.9);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: #0a0a0a;
}

/* Product Info */
.product-info {
  padding: 24px;
}

.product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ecdc4;
  margin-bottom: 8px;
}

.product-name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: white;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: #fbbf24;
}

.product-description {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 16px;
  /* Truncate to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  color: white;
}

.view-details-link {
  font-size: 14px;
  color: #4ecdc4;
  transition: color 0.3s ease;
}

.product-card:hover .view-details-link {
  color: #fbbf24;
}

/* Responsive */
@media (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
	justify-content: center;
    gap: 24px;
  }
}

@media (max-width: 479px) {
  .products-grid {
    grid-template-columns: 1fr;
	justify-content: center;
	justify-items: center;
  }
}

/* Modal Overlay */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Modal Container */
.product-modal {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(to bottom right, #0f0f0f, #0a0a0a);
  border: 2px solid rgba(78,205,196,0.4);
  border-radius: 24px;
  box-shadow: 0 0 50px rgba(78,205,196,0.4);
  padding: 32px;
}

/* Close Button */
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(78,205,196,0.4);
  border-radius: 50%;
  color: #4ecdc4;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(78,205,196,0.2);
}

/* Modal Grid */
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Image Gallery */
.modal-main-image {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(78,205,196,0.3);
  margin-bottom: 16px;
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumbnail {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(78,205,196,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(251,191,36,0.5);
}

.thumbnail:hover {
  border-color: rgba(78,205,196,0.6);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.modal-category {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ecdc4;
  margin-bottom: 8px;
}

.modal-product-name {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  color: white;
  margin-bottom: 16px;
}

.modal-price-stock {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-price {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  color: #fbbf24;
}

.modal-stock-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.modal-stock-badge.in-stock {
  background: rgba(78,205,196,0.2);
  border: 1px solid rgba(78,205,196,0.4);
  color: #4ecdc4;
}

.modal-stock-badge.out-of-stock {
  background: rgba(212,24,61,0.2);
  border: 1px solid rgba(212,24,61,0.4);
  color: #d4183d;
}

.modal-description {
  color: #e0e0e0;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Product Details Box */
.modal-details-box {
  padding: 24px;
  background: linear-gradient(to bottom right, rgba(45,27,78,0.4), rgba(26,18,53,0.6));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(78,205,196,0.3);
  border-radius: 16px;
  margin-bottom: 32px;
}

.modal-details-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: #4ecdc4;
  margin-bottom: 16px;
}

.modal-details-box ul {
  list-style: none;
  padding: 0;
}

.modal-details-box li {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
  color: #e0e0e0;
}

.modal-details-box li::before {
  content: "✦";
  color: #fbbf24;
  font-size: 20px;
  margin-top: 4px;
}

/* Add to Cart Button */
.add-to-cart-btn {
  width: 100%;
  padding: 20px 40px;
  background: linear-gradient(to right, #fbbf24, #d4a145);
  border: none;
  border-radius: 12px;
  color: #0a0a0a;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(251,191,36,0.4);
}

.add-to-cart-btn svg {
	width. 25px;
	height: 25px;
}

.add-to-cart-btn:hover {
  background: linear-gradient(to right, #d4a145, #fbbf24);
  transform: scale(1.05);
}

/* Pre-order Section */
.out-of-stock-notice {
  padding: 24px;
  background: rgba(212,24,61,0.1);
  border: 1px solid rgba(212,24,61,0.3);
  border-radius: 12px;
  margin-bottom: 16px;
}

.out-of-stock-notice h4 {
  font-family: 'Cinzel', serif;
  color: #d4183d;
  font-size: 18px;
  margin-bottom: 8px;
}

.out-of-stock-notice p {
  color: #9ca3af;
  font-size: 14px;
}

.pre-order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pre-order-form input {
  padding: 16px 24px;
  background: rgba(10,10,10,0.6);
  border: 1px solid rgba(78,205,196,0.3) !important;
  border-radius: 12px;
  color: white;
  font-size: 16px;
}

.pre-order-form input:focus {
  outline: none;
  border-color: #4ecdc4 !important;
}

.pre-order-form input::placeholder {
  color: rgba(156,163,175,0.6);
}

.pre-order-form button {
  padding: 16px 40px;
  background: linear-gradient(to right, #4ecdc4, #3da9a0);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(78,205,196,0.4);
}

.pre-order-form button:hover {
  background: linear-gradient(to right, #3da9a0, #4ecdc4);
  transform: scale(1.05);
}

.pre-order-success {
  padding: 24px;
  background: rgba(78,205,196,0.2);
  border: 1px solid rgba(78,205,196,0.4);
  border-radius: 12px;
  color: #4ecdc4;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-product-name {
    font-size: 28px;
  }
}

.toast-notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  padding: 16px 24px;
  background: linear-gradient(to right, #4ecdc4, #3da9a0);
  color: white;
  font-family: 'Cinzel', serif;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(78,205,196,0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   CART PAGE
============================================================ */

body.page-template-page-cart .fusion-tb-header,
body.woocommerce-cart .fusion-tb-header {
    position: fixed;
    top: 0;
    width: 100% !important;
    z-index: 50;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.95),
        rgba(10,10,10,1)
    );
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(78,205,196,0.2);
    transition: none;
}

body.page-template-page-cart #header-logo,
body.woocommerce-cart #header-logo {
    opacity: 1 !important;
}

body.page-id-100509 {
    overflow-x: hidden !important;
}

.cart-hero {
    position: relative;
    min-height: 100vh;
    padding: 128px 24px 64px;
    background: #0a0a0a;
}

.cart-hero .hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f0f0f, #0a0a0a, #050505);
}

.cart-hero .hero-glows {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cart-hero .glow-teal {
    position: absolute;
    top: 20% !important;
    left: 20% !important;
    width: 600px;
    height: 600px;
    background: rgba(78,205,196,0.1);
    border-radius: 50%;
    filter: blur(130px);
}

.cart-hero .glow-gold {
    position: absolute;
    top: 40% !important;
    right: 30% !important;
    width: 500px;
    height: 500px;
    background: rgba(251,191,36,0.08);
    border-radius: 50%;
    filter: blur(120px);
}

.cart-hero .hero-container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
}

/* ─── PAGE HEADER ─── */
.cart-hero .page-header {
    margin-bottom: 48px;
}

/* SCOPED: .page-title conflicts with checkout */
.cart-hero .page-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fbbf24, #fcd34d, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(251,191,36,0.3));
}

.cart-hero .item-count {
    color: #9ca3af;
    font-size: 18px;
}

/* ─── CART GRID ─── */
.cart-hero .cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.cart-hero .cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ─── CART ITEM CARD ─── */
.cart-hero .cart-item {
    background: linear-gradient(to bottom right, #0f0f0f, #0a0a0a);
    border: 1px solid rgba(78,205,196,0.2);
    border-radius: 16px;
    padding: 24px;
    transition: border-color 0.3s ease;
}

.cart-hero .cart-item:hover {
    border-color: rgba(78,205,196,0.4);
}

.cart-hero .item-content {
    display: flex;
    gap: 24px;
}

.cart-hero .item-image-wrapper {
    flex-shrink: 0;
    width: 96px;
    height: 128px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(78,205,196,0.2);
}

/* SCOPED: .item-image conflicts with checkout + order confirmation */
.cart-hero .item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SCOPED: .item-details conflicts with order confirmation */
.cart-hero .item-details {
    flex: 1;
    min-width: 0;
}

/* SCOPED: .item-name conflicts with order confirmation */
.cart-hero .item-name {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: white;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SCOPED: .item-author conflicts with order confirmation */
.cart-hero .item-author {
    color: #4ecdc4;
    font-size: 14px;
    margin-bottom: 8px;
}

.cart-hero .item-type {
    color: #9ca3af;
    font-size: 14px;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.cart-hero .quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-hero .quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid rgba(78,205,196,0.3);
    border-radius: 8px;
    overflow: hidden;
}

.cart-hero .qty-btn {
    padding: 8px 12px;
    background: #0a0a0a;
    border: none;
    color: #4ecdc4;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cart-hero .qty-btn:hover {
    background: rgba(78,205,196,0.1);
}

.cart-hero .qty-btn .icon {
    width: 16px;
    height: 16px;
}

.cart-hero .qty-value {
    padding: 8px 16px;
    background: #0a0a0a;
    color: white;
    font-family: 'Cinzel', serif;
}

.cart-hero .remove-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cart-hero .remove-btn:hover {
    color: #ef4444;
}

.cart-hero .item-price-wrapper {
    text-align: right;
}

/* SCOPED: .item-price conflicts with account + checkout */
.cart-hero .item-price {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #fbbf24;
    margin-bottom: 4px;
}

.cart-hero .price-note {
    font-size: 14px;
    color: #6b7280;
}

.cart-hero .continue-shopping {
    margin-top: 32px;
}

.cart-hero .continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-hero .continue-link:hover {
    color: #fbbf24;
}

.cart-hero .continue-link .icon {
    width: 20px;
    height: 20px;
}

/* ─── ORDER SUMMARY ─── */
.cart-hero .order-summary-section {
    position: relative;
}

.cart-hero .order-summary-sticky {
    position: sticky;
    top: 96px;
}

.cart-hero .order-summary-card {
    background: linear-gradient(to bottom right, #0f0f0f, #0a0a0a);
    border: 1px solid rgba(78,205,196,0.3);
    border-radius: 16px;
    padding: 24px;
}

/* SCOPED: .summary-title conflicts with checkout */
.cart-hero .summary-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #fbbf24;
    margin-bottom: 24px;
}

.cart-hero .coupon-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(78,205,196,0.2);
}

.cart-hero .coupon-label {
    display: block;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.cart-hero .coupon-input-wrapper {
    display: flex;
    gap: 8px;
}

.cart-hero .coupon-input {
    flex: 1;
    padding: 12px 16px;
    background: #0a0a0a;
    border: 1px solid rgba(78,205,196,0.3) !important;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.cart-hero .coupon-input:focus {
    outline: none;
    border-color: #4ecdc4 !important;
}

.cart-hero .coupon-apply-btn {
    padding: 12px 16px;
    background: rgba(78,205,196,0.2);
    border: 1px solid rgba(78,205,196,0.4);
    border-radius: 8px;
    color: #4ecdc4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-hero .coupon-apply-btn:hover {
    background: rgba(78,205,196,0.3);
}

.cart-hero .coupon-success {
    margin-top: 8px;
    font-size: 14px;
    color: #10b981;
}

.cart-hero .price-breakdown {
    margin-bottom: 24px;
}

.cart-hero .price-row {
    display: flex;
    justify-content: space-between;
    color: #d1d5db;
    margin-bottom: 12px;
}

.cart-hero .discount-row {
    color: #10b981;
}

.cart-hero .shipping-note {
    font-size: 12px;
    color: #4ecdc4;
    margin-top: -8px;
    margin-bottom: 12px;
}

/* SCOPED: .total-row conflicts with checkout + order confirmation */
.cart-hero .total-row {
    padding-top: 12px;
    border-top: 1px solid rgba(78,205,196,0.2);
    margin-top: 12px;
}

.cart-hero .total-label {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: white;
}

.cart-hero .total-price {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #fbbf24;
}

.cart-hero .checkout-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(to right, #fbbf24, #d4a145);
    border: none;
    border-radius: 12px;
    color: #0a0a0a;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(251,191,36,0.4);
}

.cart-hero .checkout-btn:hover {
    background: linear-gradient(to right, #d4a145, #fbbf24);
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(251,191,36,0.6);
}

.cart-hero .security-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(78,205,196,0.2);
}

/* SCOPED: .security-badge conflicts with checkout */
.cart-hero .security-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #9ca3af;
}

.cart-hero .security-icon {
    width: 20px;
    height: 20px;
    color: #4ecdc4;
}

/* ─── EMPTY CART ─── */
.cart-hero .empty-cart-state {
    text-align: center;
    padding: 80px 24px;
}

.cart-hero .empty-cart-icon {
    margin-bottom: 32px;
}

.cart-hero .empty-cart-icon .icon {
    width: 128px;
    height: 128px;
    margin: 0 auto;
    color: #4b5563;
    stroke-width: 1;
}

.cart-hero .empty-cart-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.cart-hero .empty-cart-text {
    color: #6b7280;
    margin-bottom: 32px;
    font-size: 18px;
}

.cart-hero .shop-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: linear-gradient(to right, #fbbf24, #d4a145);
    border-radius: 12px;
    text-decoration: none;
    color: #0a0a0a;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(251,191,36,0.4);
}

.cart-hero .shop-now-btn:hover {
    background: linear-gradient(to right, #d4a145, #fbbf24);
    transform: scale(1.05);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
    .cart-hero .order-summary-sticky {
        position: static;
    }
}

@media (max-width: 767px) {

    body.page-template-page-cart,
    body.woocommerce-cart {
        overflow-x: hidden;
    }

    body.page-template-page-cart #main,
    body.page-template-page-cart .fusion-row,
    body.woocommerce-cart #main,
    body.woocommerce-cart .fusion-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .cart-hero {
        width: 100% !important;
        min-height: 100dvh;
        margin: 0 !important;
        left: auto !important;
        padding: 90px 16px 60px;
        box-sizing: border-box;
    }

    .cart-hero .page-header {
        text-align: left;
        margin-bottom: 24px;
    }

    .cart-hero .page-title { font-size: 26px; }
    .cart-hero .item-count { font-size: 14px; }

    .cart-hero .cart-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-hero .cart-item {
        padding: 16px;
        box-sizing: border-box;
        width: 100%;
    }

    .cart-hero .item-content {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 16px;
    }

    .cart-hero .item-image-wrapper {
        flex-shrink: 0;
        width: 96px;
        height: 128px;
    }

    .cart-hero .item-details {
        flex: 1;
        min-width: 0;
        text-align: left;
    }

    .cart-hero .item-name {
        font-size: 16px;
        white-space: normal;
        margin-bottom: 4px;
    }

    .cart-hero .item-author,
    .cart-hero .item-type { font-size: 13px; }

    .cart-hero .quantity-controls {
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: nowrap;
        margin-top: 12px;
    }

    .cart-hero .quantity-input {
        width: auto;
        min-width: 90px;
    }

    .cart-hero .qty-btn {
        padding: 8px 8px;
    }

    .cart-hero .qty-value {
        padding: 8px 10px;
    }

    .cart-hero .remove-btn {
        font-size: 12px;
        white-space: nowrap;
    }

    .cart-hero .item-price-wrapper {
        flex-shrink: 0;
        text-align: right;
        padding-top: 0;
    }

    .cart-hero .item-price {
        font-size: 20px;
        color: #fbbf24;
        margin-bottom: 4px;
    }

    .cart-hero .price-note { font-size: 12px; }

    .cart-hero .continue-shopping { text-align: left; margin-top: 20px; }
    .cart-hero .continue-link { justify-content: flex-start; }

    .cart-hero .order-summary-sticky { position: static; }

    .cart-hero .order-summary-card {
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
    }

    .cart-hero .coupon-label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .cart-hero .coupon-section {
        padding-bottom: 20px;
    }

    .cart-hero .coupon-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .cart-hero .coupon-input-wrapper .coupon-input {
        width: 100% !important;
        padding: 14px 16px !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
    }

    .cart-hero .checkout-btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 16px;
        box-sizing: border-box;
    }

    .cart-hero .empty-cart-state {
        padding: 60px 20px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .cart-hero .empty-cart-icon .icon {
        width: 88px;
        height: 88px;
    }

    .cart-hero .empty-cart-title { font-size: 22px; }
    .cart-hero .empty-cart-text { font-size: 15px; margin-bottom: 24px; }

    .cart-hero .shop-now-btn {
        display: inline-flex;
        width: auto;
        padding: 16px 28px;
        font-size: 15px;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .cart-hero {
        padding: 80px 12px 40px;
    }

    .cart-hero .page-title {
        font-size: 22px;
    }

    .cart-hero .item-name {
        font-size: 15px;
    }

    .cart-hero .coupon-input-wrapper {
        flex-direction: column;
    }

    .cart-hero .coupon-apply-btn {
        width: 100%;
    }

    .cart-hero .shop-now-btn {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        padding: 14px 20px;
    }
}

@media (min-width: 1200px) {
    .cart-hero .cart-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .cart-hero .cart-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .cart-hero .cart-grid {
        grid-template-columns: 1fr;
    }

    .cart-hero .order-summary-sticky {
        position: static;
    }
}


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


body.page-template-page-account .fusion-tb-header .fusion-account-header,
body.woocommerce-account .fusion-tb-header .fusion-account-header {
 position: fixed;
  top: 0;
  width: 100% !important;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.95),
    rgba(10,10,10,1)
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78,205,196,0.2);
  transition: none;
}

body.page-template-page-account #header-logo,
body.woocommerce-account #header-logo {
  opacity: 1 !important;
}

/* Account Hero Section */
.account-hero {
  position: relative;
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Ambient Glow */
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: #4ecdc4;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
}

/* Hero Title */
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3.75rem;
  margin-bottom: 16px;
  line-height: 1;
}

.account-hero .hero-title::before,
.account-hero .hero-title::after {
  display: none !important;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(to right, #fbbf24, #fcd34d, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin: 0 auto;
}

/* Tabs Container */
.account-tabs-container {
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

/* Tabs Wrapper */
.account-tabs {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.account-tabs::-webkit-scrollbar {
  display: none;
}

.account-tabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tab Button */
.tab-button {
  padding-bottom: 16px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: rgba(255, 255, 255, 1);
}

.tab-button.active {
  color: #4ecdc4;
  border-bottom-color: #4ecdc4;
}

/* Tab Content Container */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* Tab Content Inner Wrapper */
.tab-content-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tab Content Wide Container */
.tab-content-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Account Card */
.account-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(78, 205, 196, 0.05), transparent);
  border-radius: 8px;
  pointer-events: none;
}

/* Card Glow Alternative (Gold) */
.card-glow-alt {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(251, 191, 36, 0.05), transparent);
  border-radius: 8px;
  pointer-events: none;
}

/* Card Title */
.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 24px;
  position: relative;
  color: white;
}

/* Form Styling */
.profile-form {
  position: relative;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 12px 16px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #4ecdc4;
}

.form-input.disabled {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
  width: 100%;
  background: linear-gradient(to right, #4ecdc4, #3da9a0);
  color: white;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* Order Card */
.order-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

/* Order Glow Effect */
.order-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.05), transparent);
  border-radius: 8px;
  pointer-events: none;
}

/* Order Header */
.order-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
}

/* Order Info */
.order-number {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: white;
}

.order-date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Order Meta */
.order-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

/* Order Status Badge */
.order-status {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.order-status.delivered {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.order-status.processing {
  background: rgba(234, 179, 8, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Order Total */
.order-total {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

/* Order Items */
.order-items {
  position: relative;
  margin-bottom: 16px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.item-name {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.item-quantity {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.item-price {
  color: rgba(255, 255, 255, 0.7);
}

#account-page-wrapper .item-quantity {
    width: 36px;
    height: 36px;
    font-size: 9px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: pre-line;
}

/* Order Details Link */
.order-details-link {
  position: relative;
  color: #4ecdc4;
  font-size: 0.875rem;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.order-details-link:hover {
  text-decoration: underline;
}

/* Addresses Grid */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px;
  margin-bottom: 24px;
}

/* Address Card */
.address-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
}

/* Address Glow Effect */
.address-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(78, 205, 196, 0.05), transparent);
  border-radius: 8px;
  pointer-events: none;
}

/* Address Header */
.address-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

/* Address Type */
.address-type {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: white;
}

/* Default Badge */
.default-badge {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(78, 205, 196, 0.2);
  color: #4ecdc4;
  font-size: 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

/* Edit Button */
.edit-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

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

.edit-icon {
  width: 20px;
  height: 20px;
}

/* Address Details */
.address-details {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  position: relative;
}

.address-details p {
  margin-bottom: 4px;
}

/* Secondary Button */
.btn-secondary {
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* Checkbox Label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
}

/* Custom Checkbox */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.custom-checkbox:checked {
  background-color: #4ecdc4;
  border-color: #4ecdc4;
}

.custom-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a0e27;
  font-size: 14px;
  font-weight: bold;
}

/* Signout Description */
.signout-description {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  position: relative;
}

/* SignOut Button */
.logout-btn {
  padding: 8px 16px;
  background: linear-gradient(to right, #fbbf24, #d4a145);
  border: none;
  border-radius: 12px;
  color: #0a0a0a;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(251,191,36,0.4);
}

.logout-btn:hover {
  background: linear-gradient(to right, #d4a145, #fbbf24);
  transform: scale(1.05);
  color: #0a0a0a;
  box-shadow: 0 0 40px rgba(251,191,36,0.6);
}

/* Danger Card */
.danger-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

/* Danger Title */
.danger-title {
  color: #f87171;
}

/* Danger Description */
.danger-description {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  position: relative;
}

/* Danger Button */
.btn-danger {
  padding: 12px 24px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
}

/* Address Modal Overlay */
#address-modal {
  backdrop-filter: blur(8px);
}

/* Modal Close Button */
#address-modal .modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(78,205,196,0.4);
  border-radius: 50%;
  color: #4ecdc4;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#address-modal .modal-close-btn:hover {
  background: rgba(78,205,196,0.2);
}

.delete-address-btn {
  background: none;
  border: none;
  color: rgba(239,68,68,0.6);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.delete-address-btn:hover {
  color: #f87171;
}

/* ============================================================
   ACCOUNT PAGE — MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {

  #account-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
	
 body.woocommerce-account #main.clearfix,
  body.woocommerce-account #main,
  body.page-template-page-account #main.clearfix,
  body.page-template-page-account #main {
    padding: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 30px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ============================================
      HERO
     ============================================ */

  .account-hero {
    padding: 48px 20px 32px !important;
    max-width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.1 !important;
    word-break: break-word !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  /* ============================================
      TAB NAVIGATION
     ============================================ */

  .account-tabs-container {
    padding: 0 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .account-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;       
    overflow-x: auto !important;        
    -webkit-overflow-scrolling: touch !important;
    gap: 0 !important;
    padding: 0 16px !important;
    scrollbar-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .account-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tab-button {
    flex-shrink: 0 !important;     
    padding: 12px 16px 14px !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
  }

  /* ============================================
      TAB CONTENT
     ============================================ */

  .tab-content-inner,
  .tab-content-wide {
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  /* ============================================
      CARDS
     ============================================ */

  .account-card,
  .order-card,
  .address-card {
    padding: 20px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .card-title {
    font-size: 1.25rem !important;
  }

  /* ============================================
      FORMS & INPUTS
     ============================================ */

  .form-input {
    font-size: 16px !important;         
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-primary,
  .btn-secondary,
  .btn-danger {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ============================================
      ADDRESSES GRID — stack on mobile
     ============================================ */

  .addresses-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* ============================================
      ORDER HEADER — stack neatly
     ============================================ */

  .order-header {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .order-meta {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* ============================================
      ADDRESS MODAL — full screen friendly
     ============================================ */

  #address-modal {
    padding: 16px !important;
    align-items: flex-end !important;     /* slides up from bottom */
  }

  #address-modal > div {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh !important;
    padding: 24px 20px !important;
  }

  /* ============================================
      SIGN OUT / DANGER ZONE
     ============================================ */

  .logout-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

/* ── iPhone SE (< 375px) ── */
@media (max-width: 374px) {

  .hero-title {
    font-size: 1.875rem !important;
  }

  .tab-button {
    padding: 12px 12px 14px !important;
    font-size: 0.6875rem !important;
  }

  .account-card,
  .order-card,
  .address-card {
    padding: 16px 12px !important;
  }
}


/* ============================================================
   LOGIN PAGE
   ============================================================ */

body.page-template-page-login .fusion-tb-header,
body.woocommerce-login .fusion-tb-header {
 position: fixed;
  top: 0;
  width: 100% !important;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.95),
    rgba(10,10,10,1)
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78,205,196,0.2);
  transition: none;
}

body.page-template-page-login #header-logo,
body.woocommerce-login #header-logo {
  opacity: 1 !important;
}

/* Font Families */
.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================
    PAGE HERO SECTION
   ============================================ */

/* Login Hero Section */
.login-hero {
  position: relative;
  text-align: center;
  padding: 40px 24px 32px;
  max-width: 448px;
  margin: 0 auto;
}

/* Ambient Glow */
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: #4ecdc4;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
}

/* Hero Icon Wrapper */
.hero-icon-wrapper {
  margin-bottom: 24px;
  display: inline-block;
}

/* Hero Icon */
.hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(to bottom right, rgba(78, 205, 196, 0.2), rgba(251, 191, 36, 0.2));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(78, 205, 196, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(78, 205, 196, 0.4);
}

.icon-svg {
  width: 40px;
  height: 40px;
  color: #4ecdc4;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
}

/* Hero Title */
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.login-hero .hero-title::before,
.login-hero .hero-title::after {
  display: none !important;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(to right, #fbbf24, #fcd34d, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
    LOGIN/SIGNUP CARD
   ============================================ */

/* Auth Card */
.auth-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  max-width: 448px;
  margin: 0 auto;
}

/* Card Glow Background */
.card-glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(78, 205, 196, 0.05), transparent);
  pointer-events: none !important;
  z-index: -1;
}

/* Auth Tabs Container */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Auth Tab Button */
.auth-tab {
  flex: 1;
  padding: 16px;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab:hover {
  color: rgba(255, 255, 255, 1);
}

.auth-tab.active {
  color: #4ecdc4;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: #4ecdc4;
}

/* ============================================
    LOGIN FORM
   ============================================ */

/* Auth Form Container */
.auth-form-container {
  display: none;
  padding: 32px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.auth-form-container.active {
  display: block;
}

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

/* Form Group */
.form-group {
  margin-bottom: 24px;
}

/* Form Label */
.form-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

/* Form Input */
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 12px 16px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  outline: none;
  border-color: #4ecdc4;
}

/* Form Options Row */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Remember Me Label */
.remember-me-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Custom Checkbox */
.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.3s ease;
}

.custom-checkbox:checked {
  background-color: #4ecdc4;
  border-color: #4ecdc4;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

/* Forgot Password Link */
.forgot-password-link {
  font-size: 0.875rem;
  color: #4ecdc4;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.forgot-password-link:hover {
  text-decoration: underline;
}

/* Primary Button (Gold) */
.btn-primary {
  width: 100%;
  background: linear-gradient(to right, #fbbf24, #d4a145);
  color: #0a0a0a;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(to right, #d4a145, #fbbf24);
  transform: scale(1.05);
}

/* Form Divider */
.form-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.divider-text {
  padding: 0 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
    SIGNUP FORM
   ============================================ */

/* Terms Label */
.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.terms-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Terms Link */
.terms-link {
  color: #4ecdc4;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.terms-link:hover {
  text-decoration: underline;
}


/* ============================================================
   LOGIN PAGE — MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 767px) {

  #login-page-wrapper,
  .login-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .login-page-content {
    min-height: calc(100vh - 100px) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 32px 0 !important; 
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .login-page-content > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .login-hero {
    padding: 24px 20px 20px !important;
    max-width: 100% !important;
  }

  .hero-title {
    font-size: 1.875rem !important;
  }

  .hero-subtitle {
    font-size: 0.9375rem !important;
  }

  .hero-icon {
    width: 64px !important;
    height: 64px !important;
  }

  .icon-svg {
    width: 30px !important;
    height: 30px !important;
  }

  .auth-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 10px !important;    
    border-left: none !important;
    border-right: none !important;
    box-sizing: border-box !important;
  }

  
  .auth-form-container {
    padding: 24px 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
	
  .form-input {
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .social-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .social-button {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 8px !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .social-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  .social-text {
    font-size: 0.875rem !important;
  }

  /* ── Submit button ── */
  .btn-primary {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ── iPhone SE and very small screens ── */
@media (max-width: 374px) {

  .auth-form-container {
    padding: 20px 14px !important;
  }

  .social-button {
    padding: 10px 6px !important;
    gap: 6px !important;
  }

  .social-text {
    font-size: 0.8125rem !important;
  }

  .hero-title {
    font-size: 1.625rem !important;
  }
}



/* ============================================================
  CHECKOUT PAGE
============================================================ */
body.page-template-page-checkout .fusion-tb-header,
body.woocommerce-checkout .fusion-tb-header {
    position: fixed;
    top: 0;
    width: 100% !important;
    z-index: 50;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.95),
        rgba(10, 10, 10, 1)
    );
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    transition: none;
}

body.page-template-page-checkout #header-logo,
body.woocommerce-checkout #header-logo {
    opacity: 1 !important;
}

body.page-template-page-checkout,
body.woocommerce-checkout {
    overflow-x: hidden;
}

body.page-template-page-checkout #main,
body.page-template-page-checkout .fusion-row,
body.woocommerce-checkout #main,
body.woocommerce-checkout .fusion-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.checkout-page {
    min-height: 100vh;
    background-color: #0a0e27;
    color: #e5e7eb;
    position: relative;
    font-family: 'Cormorant Garamond', serif;
    width: 100%;
    box-sizing: border-box;
}

.checkout-page .container {
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* ─── PAGE TITLE ─── */
.checkout-page .page-title-section {
    min-height: 30vh;
    padding: 80px 24px 10px !important;
    gap: 10px !important;
    text-align: center;
}

/* SCOPED: .page-title conflicts with cart */
.checkout-page .page-title {
    font-family: 'Cinzel', serif;
    font-size: 60px;
    font-weight: 500;
    background: linear-gradient(to right, #fbbf24, #fcd34d, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 20px rgba(251,191,36,0.3));
}

.checkout-page .page-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #9ca3af;
    margin: 0;
    letter-spacing: 1px;
}

/* ─── PROGRESS STEPS ─── */
.checkout-page .progress-section {
    padding: 20px 0 15px;
}

.checkout-page .progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* SCOPED: .step conflicts with order confirmation */
.checkout-page .step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0;
}

.checkout-page .step.active {
    background: transparent;
    border: none;
}

.checkout-page .step-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 10px;
    color: #9ca3af;
    flex-shrink: 0;
}

.checkout-page .step.active .step-number {
    background: #4ecdc4;
    color: #0a0e27;
}

/* SCOPED: .step-label conflicts with order confirmation */
.checkout-page .step-label {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 12px;
    color: #9ca3af;
    letter-spacing: 0.03em;
}

.checkout-page .step.active .step-label {
    color: #4ecdc4;
}

.checkout-page .step-connector {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 16px;
    flex-shrink: 0;
}

/* ─── ERROR BANNER ─── */
.checkout-page .osm-error-banner {
    margin: 0 0 24px;
    padding: 14px 20px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.4);
    border-radius: 8px;
    color: #f87171;
    font-size: 15px;
    line-height: 1.5;
}

.checkout-page .field-error {
    display: block;
    font-size: 12px;
    color: #f87171;
    min-height: 16px;
    margin-top: 3px;
}

.checkout-page .checkout-content {
    padding: 16px 0 80px !important;
}

.checkout-page .checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start !important;
    margin-top: 0 !important;
}

.checkout-page .form-section {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

/* SCOPED: .section-title conflicts with order confirmation */
.checkout-page .section-title {
    font-family: 'Cinzel', serif;
    font-size: 22px !important;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 24px;
    letter-spacing: 1px;
    text-align: left !important;
    -webkit-text-fill-color: #e5e7eb !important;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
}

.checkout-page .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px !important;
}

/* SCOPED: .form-group conflicts with account */
.checkout-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.checkout-page .form-group.full-width {
    grid-column: 1 / -1;
    margin: 5px 0 5px !important;
}

/* SCOPED: .form-group label conflicts with account */
.checkout-page .form-group label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.02em;
}

.checkout-page .required {
    color: #fbbf24;
    margin-left: 2px;
}

.checkout-page .optional {
    color: #6b7280;
    font-weight: 400;
    font-size: 12px;
}

.checkout-page .form-group input[type="text"],
.checkout-page .form-group input[type="email"],
.checkout-page .form-group input[type="tel"],
.checkout-page .form-group input[type="password"] {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e5e7eb;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    height: 56px;
}

.checkout-page .form-group input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
    background: rgba(78, 205, 196, 0.03);
}

.checkout-page .form-group input.input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.checkout-page .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
}

/* ─── SELECT ─── */
.checkout-page .select-wrapper {
    position: relative;
}

.checkout-page .select-wrapper select {
    width: 100%;
    padding: 16px 40px 16px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e5e7eb;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    height: 56px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.checkout-page .select-wrapper select:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.checkout-page .select-wrapper select option {
    background: #151933;
    color: #e5e7eb;
}

.checkout-page .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    color: #ffffff !important;
    pointer-events: none;
    display: flex;
    align-items: center;
    border-left: none !important;
}

.checkout-page .select-wrapper select:focus ~ .select-arrow {
    color: #4ecdc4 !important;
    background: none !important;
}

/* ─── CHECKBOX ─── */
.checkout-page .checkbox-row {
    margin-top: 15px;
    margin-bottom: 8px;
}

/* SCOPED: .checkbox-label conflicts with account */
.checkout-page .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: #e5e7eb;
    user-select: none;
}

.checkout-page .checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkout-page .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkout-page .checkmark::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid transparent;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: all 0.3s ease;
}

.checkout-page .checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: #4ecdc4;
    border-color: #4ecdc4;
}

.checkout-page .checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    border-color: #0a0e27;
}

.checkout-page .checkbox-label input[type="checkbox"]:focus-visible ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
}

/* ─── PAYMENT ─── */
.checkout-page #payment-section .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    -webkit-text-fill-color: #e5e7eb;
}

.checkout-page .payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.checkout-page .payment-type-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.checkout-page .payment-type-badge svg {
    color: rgba(255, 255, 255, 0.4);
}

.checkout-page .place-order-btn {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(90deg, #f5a623, #f0b429, #f5a623);
    color: #0a0a0a;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(245, 166, 35, 0.3);
    text-decoration: none;
    text-transform: uppercase;
}

.checkout-page .place-order-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #d4911e, #f5a623, #d4911e);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.4);
}

.checkout-page .place-order-btn:active:not(:disabled) {
    transform: translateY(0);
}

.checkout-page .place-order-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.checkout-page .place-order-btn .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(10, 10, 10, 0.3);
    border-top-color: #0a0a0a;
    border-radius: 50%;
    animation: osm-spin 0.7s linear infinite;
}

.checkout-page .place-order-btn.loading .btn-spinner { display: block; }
.checkout-page .place-order-btn.loading svg:first-child { display: none; }

@keyframes osm-spin {
    to { transform: rotate(360deg); }
}

/* ─── ORDER SUMMARY SIDEBAR ─── */
.checkout-page .order-summary-wrapper {
    position: sticky;
}

.checkout-page .order-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
}

/* SCOPED: .summary-title conflicts with cart */
.checkout-page .summary-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 500;
    color: #e5e7eb;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.04em;
}

/* SCOPED: .order-items conflicts with account */
.checkout-page .order-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* SCOPED: .order-item conflicts with account + order confirmation */
.checkout-page .order-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 14px;
    align-items: start;
}

/* SCOPED: .item-image conflicts with order confirmation + cart */
.checkout-page .item-image {
    position: relative;
    width: 70px;
    height: 95px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.05);
}

.checkout-page .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SCOPED: .item-quantity conflicts with account */
.checkout-page .item-quantity {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #4ecdc4;
    color: #0a0e27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    z-index: 1;
}

.checkout-page .item-details {
    overflow: hidden;
    padding-top: 2px;
}

.checkout-page .item-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0 0 4px;
    line-height: 1.35;
}

.checkout-page .item-meta {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 6px;
    font-style: italic;
}

.checkout-page .item-qty-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* SCOPED: .item-price conflicts with account + cart */
.checkout-page .item-price {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 14px;
    color: #fbbf24;
    white-space: nowrap;
    padding-top: 2px;
}

.checkout-page .pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-page .pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #9ca3af;
}

/* SCOPED: .total-row conflicts with order confirmation + cart */
.checkout-page .total-row {
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    color: #e5e7eb;
}

/* SCOPED: .total-amount conflicts with order confirmation */
.checkout-page .total-amount {
    color: #fbbf24;
}

/* SCOPED: .security-badge conflicts with cart */
.checkout-page .security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    background: rgba(78, 205, 196, 0.07);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    color: #4ecdc4;
    font-weight: 500;
}

.checkout-page .security-badge svg { flex-shrink: 0; }

/* SCOPED: .btn-secondary conflicts with account */
.checkout-page .btn-secondary {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .checkout-page .progress-steps {
        flex-direction: row !important;
        gap: 0 !important;
        align-items: center !important;
        max-width: 500px;
    }

    .checkout-page .step-connector {
        width: 30px !important;
        height: 1px !important;
        margin: 0 12px !important;
    }

    .checkout-page .container {
        padding: 0 16px !important;
    }

    .checkout-page .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-page .order-summary-wrapper {
        position: static;
        order: -1;
    }

    .checkout-page .page-title-section {
        min-height: unset;
        padding: 40px 24px 10px !important;
        gap: 10px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .checkout-page .page-title {
        font-size: 48px;
    }

    .checkout-page .page-subtitle {
        font-size: 16px;
    }
}





/* ============================================================
    ORDER CONFIRMATION PAGE
============================================================ */
body.page-template-page-order-confirmation .fusion-tb-header,
body.woocommerce-order-confirmation .fusion-tb-header {
    position: fixed;
    top: 0;
    width: 100% !important;
    z-index: 50;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.95),
        rgba(10, 10, 10, 1)
    );
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    transition: none;
}

body.page-template-page-order-confirmation #header-logo,
body.woocommerce-order-confirmation #header-logo {
    opacity: 1 !important;
}

body.page-template-page-order-confirmation,
body.woocommerce-order-confirmation {
    overflow-x: hidden;
}

body.page-template-page-order-confirmation #main,
body.page-template-page-order-confirmation .fusion-row,
body.woocommerce-order-confirmation #main,
body.woocommerce-order-confirmation .fusion-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.order-confirmation-page {
    min-height: 100vh;
    background-color: #0a0e27;
    color: #e5e7eb;
    position: relative;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    box-sizing: border-box;
}

.order-confirmation-page .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.order-confirmation-page .confirmation-content {
    min-height: 30vh;
    padding: 60px 0 34px;
    text-align: center;
}

.order-confirmation-page .success-section {
    text-align: center;
    padding-top: 30px !important;
    margin-bottom: 48px;
    position: relative;
}

.order-confirmation-page .success-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 16px !important;
    overflow: visible !important;
}

.order-confirmation-page .icon-glow {
    position: absolute;
    inset: -12px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.6) 40%, transparent 80%);
    border-radius: 50%;
    filter: blur(12px);
    opacity: 1;
}

.order-confirmation-page .icon-circle {
    position: relative;
    width: 96px;
    height: 96px;
    background: linear-gradient(to bottom right, #4ecdc4, #3da9a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-confirmation-page .icon-circle svg {
    color: #0a0e27;
}

.order-confirmation-page .confirmation-title {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    font-weight: 600;
    background: linear-gradient(to right, #fbbf24, #fcd34d, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
    margin-bottom: 16px;
}

.order-confirmation-page .confirmation-message {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.order-confirmation-page .email-notice {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.order-confirmation-page .email-highlight {
    color: #4ecdc4;
}

/* ─── ORDER DETAILS CARD ─── */
.order-confirmation-page .order-details-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.order-confirmation-page .order-details-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(78, 205, 196, 0.05), transparent);
    border-radius: 12px;
    pointer-events: none;
}

/* SCOPED: .order-header conflicts with account */
.order-confirmation-page .order-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* SCOPED: .order-number conflicts with account */
.order-confirmation-page .order-number,
.order-confirmation-page .order-date {
    display: flex;
    flex-direction: column;
}

.order-confirmation-page .order-number {
    text-align: left;
}

/* SCOPED: .order-date conflicts with account */
.order-confirmation-page .order-date {
    text-align: right;
}

.order-confirmation-page .order-number .label,
.order-confirmation-page .order-date .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding-bottom: 0;
    margin-bottom: 0;
}

.order-confirmation-page .order-number .value {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: #e5e7eb;
}

.order-confirmation-page .order-date .value {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* ─── ORDER ITEMS SECTION ─── */
.order-confirmation-page .order-items-section {
    margin-bottom: 32px;
    position: relative;
}

/* SCOPED: .section-title conflicts with checkout */
.order-confirmation-page .order-items-section .section-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: #e5e7eb !important;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: none;
    -webkit-text-fill-color: #e5e7eb !important;
}

.order-confirmation-page .order-items-section .items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* SCOPED: .order-item conflicts with account + checkout */
.order-confirmation-page .order-items-section .order-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    align-items: stretch;
}

/* SCOPED: .item-image conflicts with checkout + cart */
.order-confirmation-page .order-item .item-image {
    width: 64px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.order-confirmation-page .order-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SCOPED: .item-details conflicts with cart */
.order-confirmation-page .order-item .item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start !important;
    gap: 0px;
}

/* SCOPED: .item-name conflicts with cart */
.order-confirmation-page .item-name {
    font-size: 15px;
    font-weight: 600;
    color: #e5e7eb !important;
    margin: 0;
    text-align: left;
}

/* SCOPED: .item-author conflicts with cart */
.order-confirmation-page .item-author {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-style: italic;
}

.order-confirmation-page .order-item .item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
}

.order-confirmation-page .order-item .item-meta span.quantity {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-width: unset !important;
    height: auto !important;
    display: inline !important;
}

.order-confirmation-page .item-meta .price,
.order-confirmation-page .item-meta .price .woocommerce-Price-amount,
.order-confirmation-page .item-meta .price bdi {
    font-size: 18px;
    font-weight: 600;
    color: #fbbf24 !important;
    -webkit-text-fill-color: #fbbf24 !important;
    background: none;
}

/* ─── PRICING ROWS ─── */
.order-confirmation-page .order-summary {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    position: relative;
}

.order-confirmation-page .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.order-confirmation-page .summary-row span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.order-confirmation-page .summary-row .woocommerce-Price-amount,
.order-confirmation-page .summary-row .woocommerce-Price-amount bdi {
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
}

/* SCOPED: .total-row conflicts with checkout + cart */
.order-confirmation-page .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 12px;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.order-confirmation-page .total-row span:first-child {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* SCOPED: .total-amount conflicts with checkout */
.order-confirmation-page .total-amount {
    color: #fbbf24;
    font-size: 20px;
}

/* ─── WHAT'S NEXT CARD ─── */
.order-confirmation-page .whats-next-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 32px;
    margin-bottom: 24px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.order-confirmation-page .whats-next-card .section-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: #e5e7eb !important;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: none;
    -webkit-text-fill-color: #e5e7eb !important;
}

.order-confirmation-page .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px !important;
    position: relative;
}

/* SCOPED: .step conflicts with checkout */
.order-confirmation-page .steps-grid .step {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
	align-items: center !important;
    gap: 0;
}

.order-confirmation-page .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.order-confirmation-page .email-icon {
    background: linear-gradient(to bottom right, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
    border: 1px solid rgba(78, 205, 196, 0.3);
}
.order-confirmation-page .email-icon svg { color: #4ecdc4; }

.order-confirmation-page .processing-icon {
    background: linear-gradient(to bottom right, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.order-confirmation-page .processing-icon svg { color: #fbbf24; }

.order-confirmation-page .delivery-icon {
    background: linear-gradient(to bottom right, rgba(167, 139, 250, 0.2), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(167, 139, 250, 0.3);
}
.order-confirmation-page .delivery-icon svg { color: #a78bfa; }

/* SCOPED: .step-title conflicts with checkout */
.order-confirmation-page .step-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.3;
}

.order-confirmation-page .step:nth-child(1) .step-title { color: #4ecdc4; }
.order-confirmation-page .step:nth-child(2) .step-title { color: #fbbf24; }
.order-confirmation-page .step:nth-child(3) .step-title { color: #a78bfa; }

.order-confirmation-page .step-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5;
}

/* ─── CONTINUE SHOPPING BUTTON ─── */
.order-confirmation-page .action-button {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

/* SCOPED: .btn-primary conflicts with account */
.order-confirmation-page .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 40px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to right, #fbbf24, #d4a145);
    color: #0a0a0a;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.order-confirmation-page .btn-primary:hover {
    background: linear-gradient(to right, #d4a145, #fbbf24);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
    color: #0a0a0a;
    text-decoration: none;
}

/* ─── SUPPORT NOTE ─── */
.order-confirmation-page .support-note {
    text-align: center;
    padding-bottom: 48px;
}

.order-confirmation-page .support-note p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.order-confirmation-page .support-note a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.order-confirmation-page .support-note a:hover {
    color: #fbbf24;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .order-confirmation-page .confirmation-title {
        font-size: 32px;
    }

    .order-confirmation-page .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .order-confirmation-page .order-date {
        text-align: left;
    }

    .order-confirmation-page .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .order-confirmation-page .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .order-confirmation-page .confirmation-title {
        font-size: 24px;
    }

    .order-confirmation-page .order-details-card,
    .order-confirmation-page .whats-next-card {
        padding: 24px;
    }
}


/* ═══════════════════════════════════════════════
   MANUSCRIPT SUBMISSION FORM — AVADA
   Structure:
   .msf-container  → outer column (centers content)
   .msf-card       → nested column (glass card)
   .msf-title      → heading inside code block
   .manuscript-submission-form → the <form> tag
═══════════════════════════════════════════════ */


/* ── 1. OUTER COLUMN: center and constrain width ── */
.msf-container {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}


/* ── 2. NESTED COLUMN: the glass card ── */
.msf-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 40px !important;
}


/* ── 3. TITLE inside the card ── */
.msf-card .msf-title {
  font-family: 'Cinzel', serif !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  color: #e5e7eb !important;
  margin: 0 0 28px 0 !important;
  padding: 0 !important;
  letter-spacing: 1px !important;
  text-align: left !important;
  -webkit-text-fill-color: #e5e7eb !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  text-transform: capitalize !important;
}


/* ── 4. FORM: remove any default browser/Avada/GF spacing ── */
.manuscript-submission-form {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}


/* ── 5. FIELD GRID LAYOUT ── */
.manuscript-submission-form .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Full-width fields */
.manuscript-submission-form .gfield--width-full,
.manuscript-submission-form .gfield--type-name,
.manuscript-submission-form .gfield--type-post_content,
.manuscript-submission-form .gfield--type-fileupload,
.manuscript-submission-form .gfield--type-consent {
  grid-column: 1 / -1 !important;
}

/* Half-width fields (Phone + Email side by side) */
.manuscript-submission-form .gfield--width-half {
  grid-column: span 1 !important;
}

/* Field spacing */
.manuscript-submission-form .gfield {
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}


/* ── 6. LABELS ── */
.manuscript-submission-form .gfield_label,
.manuscript-submission-form .gform-field-label {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Sub-labels: First / Last */
.manuscript-submission-form .gform-field-label--type-sub {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  margin-top: 4px !important;
}

/* Required asterisk → gold */
.manuscript-submission-form .gfield_required,
.manuscript-submission-form .gfield_required span {
  color: #fbbf24 !important;
  margin-left: 2px !important;
}


/* ── 7. TEXT / EMAIL / TEL INPUTS ── */
.manuscript-submission-form input[type="text"],
.manuscript-submission-form input[type="email"],
.manuscript-submission-form input[type="tel"] {
  width: 100% !important;
  height: 56px !important;
  padding: 12px 16px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #e5e7eb !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 17px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.manuscript-submission-form input[type="text"]:focus,
.manuscript-submission-form input[type="email"]:focus,
.manuscript-submission-form input[type="tel"]:focus {
  border-color: #4ecdc4 !important;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1) !important;
  background: rgba(78, 205, 196, 0.03) !important;
}

.manuscript-submission-form input[type="text"]::placeholder,
.manuscript-submission-form input[type="email"]::placeholder,
.manuscript-submission-form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
  font-style: italic !important;
}


/* ── 8. TEXTAREA (Author Bio) ── */
.manuscript-submission-form textarea {
  width: 100% !important;
  min-height: 160px !important;
  padding: 14px 16px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #e5e7eb !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 17px !important;
  box-sizing: border-box !important;
  resize: vertical !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.manuscript-submission-form textarea:focus {
  border-color: #4ecdc4 !important;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1) !important;
  background: rgba(78, 205, 196, 0.03) !important;
}

.manuscript-submission-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
  font-style: italic !important;
}


/* ── 9. FILE UPLOAD FIELDS ── */
.manuscript-submission-form input[type="file"] {
  width: 100% !important;
  padding: 14px 16px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #9ca3af !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.manuscript-submission-form input[type="file"]:hover {
  border-color: #4ecdc4 !important;
  background: rgba(78, 205, 196, 0.03) !important;
}

/* File size / description text */
.manuscript-submission-form .gform_fileupload_rules,
.manuscript-submission-form .gfield_description {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 12px !important;
  color: #6b7280 !important;
  margin-top: 5px !important;
}


/* ── 10. CONSENT CHECKBOX ── */
.manuscript-submission-form fieldset.gfield--type-consent {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}

.manuscript-submission-form fieldset.gfield--type-consent legend {
  display: none !important;
}

.manuscript-submission-form .ginput_container_consent {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.manuscript-submission-form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #4ecdc4 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.manuscript-submission-form .gfield_consent_label {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  color: #9ca3af !important;
  cursor: pointer !important;
  margin: 0 !important;
}


/* ── 11. NAME FIELDSET ── */
.manuscript-submission-form fieldset.gfield--type-name {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}

.manuscript-submission-form .ginput_container--name {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 20px !important;
}


/* ── 12. SUBMIT BUTTON ── */
.manuscript-submission-form .gform_footer {
  margin-top: 8px !important;
  padding: 0 !important;
}

.manuscript-submission-form .gform_button {
  width: 100% !important;
  padding: 20px 40px !important;
  background: linear-gradient(to right, #fbbf24, #d4a145) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #0a0a0a !important;
  font-family: 'Cinzel', serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4) !important;
}

.manuscript-submission-form .gform_button:hover {
  background: linear-gradient(to right, #d4a145, #fbbf24) !important;
  transform: scale(1.02) !important;
}


/* ── 13. VALIDATION ERRORS ── */
.manuscript-submission-form .gfield_error input,
.manuscript-submission-form .gfield_error textarea {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1) !important;
}

.manuscript-submission-form .validation_message,
.manuscript-submission-form .gfield_validation_message {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 13px !important;
  color: #f87171 !important;
  margin-top: 5px !important;
}

.manuscript-submission-form .gform_submission_error {
  font-family: 'Cinzel', serif !important;
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.08) !important;
  border: 1px solid rgba(248, 113, 113, 0.2) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  margin-bottom: 20px !important;
}


/* ── 14. RESPONSIVE ── */

/* ── Mobile: card breathing room from screen edges ── */
@media (max-width: 768px) {
  .msf-container {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
}

@media (max-width: 768px) {
  .msf-card {
    padding: 24px 20px !important;
  }

  .manuscript-submission-form .gform_fields {
    grid-template-columns: 1fr !important;
  }

  .manuscript-submission-form .gfield--width-half {
    grid-column: 1 / -1 !important;
  }

  .manuscript-submission-form .ginput_container--name {
    grid-template-columns: 1fr !important;
  }
}

.manuscript-submission-form input[type="file"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
  pointer-events: none !important;
}
 
/* ── The container that wraps the file input ── */
.manuscript-submission-form .ginput_container_fileupload {
  position: relative !important;
}
 
/* ── Custom upload area ── */
.manuscript-submission-form .ginput_container_fileupload::before {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 64px !important;
  background: rgba(78, 205, 196, 0.06) !important;
  border: 1.5px dashed rgba(78, 205, 196, 0.35) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}
 
/* ── "Choose File" label overlay ── */
.manuscript-submission-form .ginput_container_fileupload::after {
  content: '↑  Choose File' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #4ecdc4 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  pointer-events: none !important;
}
 
/* ── Hover state ── */
.manuscript-submission-form .ginput_container_fileupload:hover::before {
  background: rgba(78, 205, 196, 0.1) !important;
  border-color: rgba(78, 205, 196, 0.6) !important;
  box-shadow: 0 0 16px rgba(78, 205, 196, 0.12) !important;
}
 
.manuscript-submission-form .ginput_container_fileupload:hover::after {
  color: #6eddd6 !important;
}
 
/* ── Make the container itself clickable ── */
.manuscript-submission-form .ginput_container_fileupload {
  cursor: pointer !important;
}
 
/* ── Restore the real input to be clickable over the styled area ── */
.manuscript-submission-form .ginput_container_fileupload input[type="file"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 64px !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  pointer-events: all !important;
}
 
/* ── File size rule text ── */
.manuscript-submission-form .gform_fileupload_rules {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 12px !important;
  color: #4b5563 !important;
  margin-top: 6px !important;
  display: block !important;
}
 
/* ── Page count description (1 page max / 2-3 pages) ── */
.manuscript-submission-form .gfield_description {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 12px !important;
  color: #6b7280 !important;
  margin-top: 3px !important;
  font-style: italic !important;
}
 
/* ── When a file is selected: green tint ── */
.manuscript-submission-form .ginput_container_fileupload:has(input[type="file"]:not([value=""]))::before {
  background: rgba(78, 205, 196, 0.12) !important;
  border-color: #4ecdc4 !important;
  border-style: solid !important;
}

/* Hide Gravity Forms' own title */
.manuscript-submission-form .gform_title,
.manuscript-submission-form + .gform_title,
#gform_wrapper_1 .gform_title,
#gform_1 .gform_title {
  display: none !important;
}

.msf-file-chosen {
  margin-top: 8px;
  padding: 8px 14px;
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #4ecdc4;
  word-break: break-all;
}

.msf-file-chosen span {
  color: #6b7280;
  margin-left: 8px;
  font-size: 12px;
}