/* WooCommerce Simple Styles for Bags&Go */
:root {
  --woo-bg: #f8f9fa;
  --woo-card: #ffffff;
  --woo-border: #e9ecef;
  --woo-primary: #FF914D;
  --woo-primary-hover: #ff7a3d;
  --woo-text: #212529;
}

/* ==========================================================================
   CLEAN CHECKOUT - No Header/Footer for Maximum Conversion
   ========================================================================== */

.checkout-clean {
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.checkout-wrapper {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Checkout Header - Logo + Title */
.checkout-header {
  text-align: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 36px;
}

.checkout-logo {
  display: inline-block;
  margin-bottom: 20px;
	width:60%;
}

.checkout-logo img {
  width: auto;
  height: 32px;
  display: block;
}

.checkout-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Checkout Main Content */
.checkout-main {
  padding-bottom: 48px;
}

/* Checkout Footer - Legal Links */
.checkout-footer {
  border-top: 1px solid #e9ecef;
  padding: 24px 0 40px;
  margin-top: 32px;
}

.checkout-legal {
  text-align: center;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.secure-badge {
  color: #28a745;
  font-weight: 600;
}

.legal-sep {
  color: #ddd;
}

.checkout-legal a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.checkout-legal a:hover {
  color: #1746ff;
  text-decoration: underline;
}

/* ==========================================================================
   CLEAN LOGIN - No Header/Footer (Same style as Checkout)
   ========================================================================== */

.login-clean {
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.login-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Login Header - Logo + Title */
.login-header {
  text-align: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 36px;
}

.login-logo {
  display: inline-block;
  margin-bottom: 20px;
  width: 200px;
}

.login-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Login Main Content */
.login-main {
  padding-bottom: 48px;
}

/* Two Column Layout for Login/Register */
.login-clean .col2-set {
  align-items: start;
}

.login-clean .col-1,
.login-clean .col-2 {
  width: 100%;
}

/* Login Form Styles */
.login-clean .woocommerce-form-login,
.login-clean .woocommerce-form-register {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  height: 100%;
}

.login-clean .woocommerce-form-login h2,
.login-clean .woocommerce-form-register h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 28px;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #e9ecef;
}

.login-clean .woocommerce-form__label-for-checkbox {
  font-size: 14px;
  color: #666;
}

.login-clean .woocommerce-Button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: var(--woo-primary);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-clean .woocommerce-Button:hover {
  background: var(--woo-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
}

/* Login Submit Button - Same style as register button */
.login-clean .woocommerce-form-login__submit,
.login-clean .woocommerce-button.button.woocommerce-form-login__submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: var(--woo-primary);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: normal;
}

.login-clean .woocommerce-form-login__submit:hover,
.login-clean .woocommerce-button.button.woocommerce-form-login__submit:hover {
  background: var(--woo-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
  color: white;
}

.login-clean .woocommerce-form-row {
  margin-bottom: 16px;
}

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

.login-clean .woocommerce-Input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.login-clean .woocommerce-Input:focus {
  outline: none;
  border-color: var(--woo-primary);
  box-shadow: 0 0 0 3px rgba(255, 145, 77, 0.1);
}

.login-clean .woocommerce-LostPassword {
  text-align: center;
  margin-top: 16px;
}

.login-clean .woocommerce-LostPassword a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.login-clean .woocommerce-LostPassword a:hover {
  color: var(--woo-primary);
  text-decoration: underline;
}

/* Checkout-specific WooCommerce overrides */
.checkout-clean .woocommerce-checkout .woocommerce {
  max-width: 100%;
}

.checkout-clean #customer_details, 
.checkout-clean .woocommerce-checkout-review-order,
.checkout-clean #order_review {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-clean h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.checkout-clean .woocommerce-form-coupon-toggle {
  margin-bottom: 20px;
}

.checkout-clean #place_order {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  background: #1746ff;
  color: white;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.checkout-clean #place_order:hover {
  background: #0d35d1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 70, 255, 0.3);
}

/* Empty Cart Message */
.checkout-empty-cart {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-cart-icon {
  margin-bottom: 32px;
  color: #d0d0d0;
}

.empty-cart-icon svg {
  width: 80px;
  height: 80px;
}

.empty-cart-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.3;
}

span.woocommerce-Price-amount.amount {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

.empty-cart-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 32px;
}

.checkout-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #1746ff;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.checkout-cta-button:hover {
  background: #0d35d1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 70, 255, 0.3);
}

.checkout-cta-button svg {
  transition: transform 0.2s ease;
}

.checkout-cta-button:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
  /* Login page - Stack columns on tablet */
  .login-clean .col2-set {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .login-wrapper {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .checkout-header {
    padding: 32px 0 24px;
  }
  
  .checkout-title {
    font-size: 20px;
  }

  .login-header {
    padding: 32px 0 24px;
  }

  .login-title {
    font-size: 22px;
  }

  .login-logo {
    width: 160px;
  }

  .login-clean .woocommerce-form-login,
  .login-clean .woocommerce-form-register {
    padding: 28px;
  }

  .login-clean .woocommerce-form-login h2,
  .login-clean .woocommerce-form-register h2 {
    font-size: 20px;
  }
  
  .checkout-wrapper {
    padding: 0 16px;
  }
  
  .checkout-empty-cart {
    padding: 60px 20px;
  }
  
  .empty-cart-title {
    font-size: 22px;
  }
  
  .empty-cart-text {
    font-size: 15px;
  }

  /* My Account Hero Responsive */
  .myaccount-hero {
    min-height: 35vh;
  }

  .myaccount-hero .hero-content {
    padding: 40px 16px;
  }

  .myaccount-title {
    font-size: 2rem;
  }

  .myaccount-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .myaccount-hero {
    min-height: 30vh;
  }

  .myaccount-title {
    font-size: 1.75rem;
  }

  .myaccount-subtitle {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   MY ACCOUNT HERO (when logged in)
   ========================================================================== */

.myaccount-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF914D 0%, #6366F1 100%);
  color: white;
  overflow: hidden;
}

.myaccount-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.myaccount-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.myaccount-hero .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 60px 20px;
}

.myaccount-hero-inner {
  text-align: center;
}

.myaccount-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.myaccount-title .user-name {
  color: white;
  position: relative;
}

.myaccount-title .user-name::after {
  content: '👋';
  margin-left: 12px;
  display: inline-block;
  animation: wave 2s infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

.myaccount-subtitle {
  font-size: 1.125rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 400;
}

/* Adjust My Account page when hero is present */
.woo-page.myaccount-logged .woo-content {
  padding-top: 60px;
}

/* ==========================================================================
   REGULAR WOOCOMMERCE PAGES (Shop, Cart, Account)
   ========================================================================== */

/* Simple content section */
.woo-content { 
  padding: 60px 0 80px; 
  background: var(--woo-bg);
}

.woo-content .luggage-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Checkout layout - LINEAR (1 column) for better UX */
.woocommerce-checkout .woocommerce {
  display: block;
  max-width: 100%;
}

/* All checkout sections have consistent card style */
.woocommerce-checkout #customer_details, 
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #order_review { 
  background: var(--woo-card); 
  padding: 28px; 
  border: 1px solid var(--woo-border); 
  border-radius: 12px; 
  margin-bottom: 24px; 
}

/* Section headings */
.woocommerce-checkout h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1746ff;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e9ecef;
}

/* Form fields */
.woocommerce form .form-row label { 
  font-weight: 600; 
  color: #333; 
}

.woocommerce form .input-text, 
.select2-container .select2-selection--single { 
  border-radius: 8px; 
  border: 1px solid var(--woo-border); 
  padding: 10px 12px; 
}

.woocommerce form .input-text:focus { 
  outline: none; 
  border-color: var(--woo-primary); 
  box-shadow: 0 0 0 3px rgba(255,145,77,0.2); 
}

/* Buttons */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button { 
  background: var(--woo-primary); 
  color: #fff; 
  border-radius: 8px; 
  padding: 12px 18px; 
  border: none; 
  transition: transform .15s ease, box-shadow .2s ease; 
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 6px 18px rgba(255,145,77,.35); 
}

/* Notices */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error { 
  border-radius: 10px !important; 
}

/* Cart */
.woocommerce-cart .cart_totals { 
  background: var(--woo-card); 
  padding: 24px; 
  border: 1px solid var(--woo-border); 
  border-radius: 12px; 
}

/* Account */
.woocommerce-account .woocommerce-MyAccount-navigation { 
  background: var(--woo-card); 
  border: 1px solid var(--woo-border); 
  border-radius: 12px; 
  padding: 16px; 
}

.woocommerce-account .woocommerce-MyAccount-content { 
  background: var(--woo-card); 
  border: 1px solid var(--woo-border); 
  border-radius: 12px; 
  padding: 24px; 
}

/* Tables */
.woocommerce table.shop_table { 
  border-radius: 12px; 
  overflow: hidden; 
}

.woocommerce table.shop_table th, 
.woocommerce table.shop_table td { 
  border-color: var(--woo-border); 
}

/* Coupon field */
.woocommerce form.checkout_coupon { 
  background: var(--woo-card); 
  border: 1px solid var(--woo-border); 
  border-radius: 12px; 
  padding: 16px; 
}

/* Payment methods */
.woocommerce-checkout #payment { 
  background: transparent; 
  border: none; 
}

.woocommerce-checkout #payment ul.payment_methods { 
  background: var(--woo-card); 
  border: 1px solid var(--woo-border); 
  border-radius: 12px; 
  padding: 16px; 
}

.woocommerce-checkout #payment .place-order { 
  padding-top: 16px; 
}

/* ==========================================================================
   CLEAN MY ACCOUNT - Same Style as Checkout
   ========================================================================== */

.myaccount-clean {
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.myaccount-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* MyAccount Header - Logo + Title */
.myaccount-header {
  text-align: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 36px;
  position: relative;
}

.myaccount-logo {
  display: inline-block;
  margin-bottom: 20px;
  width: 60%;
}

.myaccount-logo img {
  width: auto;
  height: 32px;
  display: block;
}

.myaccount-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

/* MyAccount Main Content */
.myaccount-main {
  padding-bottom: 60px;
}

/* Override default MyAccount styles when in clean mode */
.myaccount-clean .woocommerce-MyAccount-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.myaccount-clean .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  background: transparent;
  border: none;
  padding: 0;
}

/* Dashboard specific styles for clean mode */
.myaccount-clean .bagsgo-myaccount-dashboard {
  background: transparent;
  padding: 0;
}

.myaccount-clean .dashboard-header {
  margin-bottom: 40px;
}

/* Logout link in clean mode */
.myaccount-clean .logout-link {
  position: absolute;
  top: 40px;
  right: 20px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.myaccount-clean .logout-link:hover {
  background: #f8f9fa;
  color: #333;
}

/* Breadcrumbs in clean mode */
.myaccount-clean .myaccount-breadcrumbs {
  margin-bottom: 30px;
}

.myaccount-clean .breadcrumb-list {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ==========================================================================
   CLEAN CART - Same Style as Checkout
   ========================================================================== */

.cart-clean {
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.cart-wrapper {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cart Header - Logo + Title */
.cart-header {
  text-align: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 36px;
}

.cart-logo {
  display: inline-block;
  margin-bottom: 20px;
  width: 60%;
}

.cart-logo img {
  width: auto;
  height: 32px;
  display: block;
}

.cart-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Cart Main Content */
.cart-main {
  padding-bottom: 48px;
}

/* Empty Cart Styles */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty .empty-cart-icon {
  margin-bottom: 32px;
  color: #d0d0d0;
}

.cart-empty .empty-cart-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.3;
}

.cart-empty .empty-cart-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 40px;
}

/* Service Options Grid */
.cart-service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cart-service-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px 20px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
}

.cart-service-card:hover {
  border-color: #1746ff;
  box-shadow: 0 8px 25px rgba(23, 70, 255, 0.15);
  transform: translateY(-2px);
  color: #333;
}

.cart-service-card .service-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.cart-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.cart-service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 16px;
}

.cart-service-card .service-price {
  font-size: 16px;
  font-weight: 600;
  color: #1746ff;
  display: block;
}

/* CTA Buttons */
.cart-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cart-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.cart-cta-button.primary {
  background: #1746ff;
  color: white;
}

.cart-cta-button.primary:hover {
  background: #0d35d1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 70, 255, 0.3);
  color: white;
}

.cart-cta-button.secondary {
  background: transparent;
  color: #1746ff;
  border-color: #1746ff;
}

.cart-cta-button.secondary:hover {
  background: #1746ff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 70, 255, 0.3);
}

.cart-cta-button svg {
  width: 20px;
  height: 20px;
}

/* Cart Footer */
.cart-footer {
  border-top: 1px solid #e9ecef;
  padding: 24px 0 40px;
  margin-top: 32px;
  text-align: center;
}

.cart-footer-text {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.cart-footer-text a {
  color: #1746ff;
  text-decoration: none;
}

.cart-footer-text a:hover {
  text-decoration: underline;
}

/* Cart Content (when cart has items) */
.cart-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .cart-wrapper {
    padding: 0 15px;
  }
  
  .cart-service-options {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cart-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cart-cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
