/*
 * Rashova Diamonds - Custom UI Stylesheet
 * Brand Theme: Simple & Elegant Minimalist Luxury
 */

:root {
  --rd-gold: #ab8e64;
  --rd-gold-hover: #917551;
  --rd-gold-light: rgba(171, 142, 100, 0.05);
  --rd-gold-border: rgba(171, 142, 100, 0.18);
  --rd-bg-light: #faf9f6;
  --rd-charcoal: #1c1a17;
  --rd-body-text: #4e4842;
  --rd-border-fine: #e8e5de;
  --rd-white: #ffffff;
  
  /* Status Colors */
  --status-processing-bg: #faf6f0;
  --status-processing-text: #b08643;
  --status-completed-bg: #f1f7f4;
  --status-completed-text: #4e7a62;
  --status-delivered-bg: #f1f7f4;
  --status-delivered-text: #4e7a62;
  --status-cancelled-bg: #faf3f3;
  --status-cancelled-text: #9e4f4f;
}

/* Force luxury font and clean line height inside the dashboard */
.rashova-dashboard,
.rashova-dashboard h2,
.rashova-dashboard h3,
.rashova-dashboard th,
.rashova-dashboard td,
.rashova-dashboard label,
.rashova-dashboard input,
.rashova-dashboard textarea,
.rashova-dashboard button,
.rashova-dashboard select {
  font-family: 'Funnel Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

/* ==========================================================================
   1. Clean & Spacious User Dashboard
   ========================================================================== */
.rashova-dashboard {
  background-color: transparent !important;
  padding: 50px 20px;
  margin: 0 auto;
  max-width: 1200px !important;
}

.dashboard-header-elegant {
  margin-bottom: 40px;
  text-align: left;
  border-bottom: 1px solid var(--rd-border-fine);
  padding-bottom: 25px;
}

.dashboard-header-elegant h2 {
  font-weight: 300 !important;
  color: var(--rd-charcoal);
  font-size: 30px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.2 !important;
}

.dashboard-subtitle-elegant {
  font-size: 14px;
  color: var(--rd-body-text);
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.05em;
}

/* Dashboard Grid Layout */
.dashboard-layout-elegant {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}

.dashboard-column-profile,
.dashboard-column-orders {
  width: 100%;
}

/* Cards Base Structure */
.rashova-info-form,
.orders-card-elegant {
  background: transparent !important;
  border: 1px solid rgba(171, 142, 100, 0.15);
  border-top: 3px solid var(--rd-gold); /* Gold top highlight line */
  border-radius: 8px;
  padding: 35px;
  box-shadow: none !important;
}

.rashova-info-form h3,
.orders-card-elegant h3 {
  font-weight: 400 !important;
  color: var(--rd-charcoal);
  font-size: 16px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
  border-bottom: 1px solid var(--rd-border-fine);
  padding-bottom: 15px;
}

/* Elegant Form Input Styling */
.form-group-elegant {
  margin-bottom: 25px;
}

.form-group-elegant label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8c867e;
  margin-bottom: 10px;
}

.rashova-info-form input[type="text"],
.rashova-info-form textarea {
  font-size: 14px;
  color: var(--rd-body-text);
  background-color: #faf9f6;
  border: none;
  border-bottom: 1px solid var(--rd-border-fine);
  border-radius: 0px;
  padding: 12px 10px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rashova-info-form input[type="text"]:focus,
.rashova-info-form textarea:focus {
  outline: none;
  background-color: var(--rd-white);
  border-bottom: 2px solid var(--rd-gold);
  box-shadow: none;
}

.rashova-info-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Premium Inverted-Hover Button Style (Cartier Style) */
.button-elegant {
  display: inline-block;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: var(--rd-charcoal);
  color: var(--rd-white);
  border: 1px solid var(--rd-charcoal);
  border-radius: 4px;
  padding: 14px 28px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-elegant:hover {
  background-color: transparent;
  color: var(--rd-charcoal);
  border-color: var(--rd-charcoal);
}

.button-elegant:active {
  transform: scale(0.98);
}

/* Form notices */
.rashova-dashboard .notice-success,
.rashova-dashboard .notice-error {
  padding: 12px 20px;
  border-radius: 4px;
  margin-bottom: 25px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.rashova-dashboard .notice-success {
  background-color: #f1f7f4;
  border-left: 4px solid var(--status-completed-text);
  color: var(--status-completed-text);
}

.rashova-dashboard .notice-error {
  background-color: #faf3f3;
  border-left: 4px solid var(--status-cancelled-text);
  color: var(--status-cancelled-text);
}

/* ==========================================================================
   2. Custom Orders Grid & Table
   ========================================================================== */
.orders-table-container {
  overflow-x: auto;
  width: 100%;
}

.orders-table-elegant {
  width: 100%;
  border-collapse: collapse;
}

.orders-table-elegant th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c867e;
  border-bottom: 2px solid var(--rd-border-fine);
  padding: 15px 12px;
  text-align: left;
}

.orders-table-elegant td {
  font-size: 14px;
  color: var(--rd-body-text);
  border-bottom: 1px solid var(--rd-border-fine);
  padding: 20px 12px;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.orders-table-elegant tr:last-child td {
  border-bottom: none;
}

.orders-table-elegant tr:hover td {
  background-color: rgba(171, 142, 100, 0.015) !important;
}

/* Thumbnail and product links */
.product-cell-elegant {
  min-width: 220px;
}

.product-info-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-thumbnail-elegant {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
  border-radius: 50% !important; /* Circular luxury style */
  border: 1px solid var(--rd-gold-border);
  background-color: var(--rd-bg-light);
  transition: transform 0.3s ease;
}

.product-info-wrapper:hover .order-thumbnail-elegant {
  transform: scale(1.08);
}

.product-link-elegant {
  font-weight: 500;
  color: var(--rd-charcoal);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.product-info-wrapper:hover .product-link-elegant {
  color: var(--rd-gold);
  transform: translateX(3px);
}

/* Date cells */
.date-cell-elegant {
  color: #7c766e;
  font-size: 13px;
  white-space: nowrap;
}

/* Status Badges */
.status-badge-elegant {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}

.status-badge-elegant.status-processing {
  background-color: var(--status-processing-bg);
  color: var(--status-processing-text);
}

.status-badge-elegant.status-completed,
.status-badge-elegant.status-delivered {
  background-color: var(--status-delivered-bg);
  color: var(--status-delivered-text);
}

.status-badge-elegant.status-cancelled {
  background-color: var(--status-cancelled-bg);
  color: var(--status-cancelled-text);
}

/* Minimalist Manufacturing Timeline Progress */
.timeline-progress-elegant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 110px;
  height: 3px;
  background-color: var(--rd-border-fine);
  margin-top: 12px;
  position: relative;
  border-radius: 2px;
}

.timeline-step {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--rd-border-fine);
  transition: all 0.3s ease;
  z-index: 1;
}

/* Timeline highlighting based on status */
.timeline-progress-elegant.status-processing {
  background: linear-gradient(to right, var(--rd-gold) 0%, var(--rd-gold) 15%, var(--rd-border-fine) 15%, var(--rd-border-fine) 100%);
}

.timeline-progress-elegant.status-processing .step-processing {
  background-color: var(--rd-gold);
  box-shadow: 0 0 0 4px rgba(171, 142, 100, 0.15);
}

.timeline-progress-elegant.status-completed {
  background: linear-gradient(to right, var(--rd-gold) 0%, var(--rd-gold) 50%, var(--rd-border-fine) 50%, var(--rd-border-fine) 100%);
}

.timeline-progress-elegant.status-completed .step-processing,
.timeline-progress-elegant.status-completed .step-completed {
  background-color: var(--rd-gold);
}

.timeline-progress-elegant.status-completed .step-completed {
  box-shadow: 0 0 0 4px rgba(171, 142, 100, 0.15);
}

.timeline-progress-elegant.status-delivered {
  background-color: var(--status-completed-text);
}

.timeline-progress-elegant.status-delivered .timeline-step {
  background-color: var(--status-completed-text);
}

.timeline-progress-elegant.status-delivered .step-delivered {
  box-shadow: 0 0 0 4px rgba(78, 122, 98, 0.15);
}

/* HIDE timelines completely for Cancelled orders to prevent clutter */
.timeline-progress-elegant.status-cancelled {
  display: none !important;
}

/* Action Buttons */
.actions-cell-elegant {
  white-space: nowrap;
}

.actions-wrapper-elegant {
  display: flex;
  gap: 8px;
}

.button-action-elegant {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--rd-gold-border);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--rd-gold);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-action-elegant:hover {
  background-color: var(--rd-gold);
  border-color: var(--rd-gold);
  color: var(--rd-white);
}

.button-action-elegant.button-cancel {
  border-color: rgba(158, 79, 79, 0.2);
  color: var(--status-cancelled-text);
}

.button-action-elegant.button-cancel:hover {
  background-color: var(--status-cancelled-text);
  border-color: var(--status-cancelled-text);
  color: var(--rd-white);
}

.no-orders-wrapper {
  text-align: center;
  padding: 40px 0;
}

.no-orders-elegant {
  font-style: italic;
  color: #8c867e;
  margin-bottom: 25px;
}

.start-shopping-btn {
  display: inline-block;
  width: auto;
}

/* ==========================================================================
   3. Responsive Grid and Mobile Dashboard Card Support
   ========================================================================== */
@media (max-width: 991px) {
  .dashboard-layout-elegant {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .rashova-dashboard {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .dashboard-header-elegant {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 35px;
  }
  
  .dashboard-header-elegant h2 {
    font-size: 24px !important;
  }
  
  .orders-card-elegant,
  .rashova-info-form {
    padding: 25px;
  }
  
  .orders-table-elegant, 
  .orders-table-elegant thead, 
  .orders-table-elegant tbody, 
  .orders-table-elegant th, 
  .orders-table-elegant td, 
  .orders-table-elegant tr {
    display: block;
  }
  
  .orders-table-elegant thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  .orders-table-elegant tr {
    border: 1px solid rgba(171, 142, 100, 0.15);
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: transparent !important;
    padding: 20px;
    box-shadow: none !important;
    transition: transform 0.2s ease;
  }
  
  .orders-table-elegant tr:hover {
    transform: translateY(-2px);
  }
  
  .orders-table-elegant tr:hover td {
    background-color: transparent;
  }
  
  .orders-table-elegant td {
    border-bottom: 1px solid #f5f4f0;
    position: relative;
    padding: 14px 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .orders-table-elegant td:last-child {
    border-bottom: 0;
    padding-bottom: 0 !important;
  }
  
  .orders-table-elegant td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #8c867e;
    letter-spacing: 0.05em;
    text-align: left;
  }
  
  .product-cell-elegant {
    border-bottom: 2px solid var(--rd-border-fine) !important;
    padding-top: 0 !important;
    margin-bottom: 12px;
  }
  
  .product-cell-elegant::before {
    display: none;
  }
  
  .orders-table-elegant .product-info-wrapper {
    width: 100%;
    justify-content: flex-start;
  }
  
  .timeline-progress-elegant {
    margin-top: 0;
  }
  
  .status-cell-elegant {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .actions-cell-elegant {
    border-top: 1px solid var(--rd-border-fine);
    padding-top: 18px !important;
    display: block !important;
  }
  
  .actions-cell-elegant::before {
    display: none;
  }
  
  .actions-wrapper-elegant {
    width: 100%;
    display: flex;
    gap: 10px;
  }
  
  .actions-wrapper-elegant form {
    flex: 1;
  }
  
  .actions-wrapper-elegant .button-action-elegant {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    display: block;
    padding: 10px;
  }
}

/* ==========================================================================
   4. Elegant CTA Buttons & Product Page Elements
   ========================================================================== */
/* Product Code REF badge */
.product-code-wrapper-elegant {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8c867e;
  border-bottom: 1px solid var(--rd-border-fine);
  padding-bottom: 6px;
  margin-bottom: 25px;
}

.product-code-label {
  color: var(--rd-gold);
  font-weight: 600;
}

.product-code-value {
  color: var(--rd-charcoal);
}

/* Order Now CTA Form and Button */
.order-now-form-elegant {
  margin-top: 0px !important;
}

.order-now-button-elegant {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: var(--rd-gold) !important;
  color: var(--rd-white) !important;
  border: 1px solid var(--rd-gold) !important;
  border-radius: 4px !important;
  padding: 16px 24px !important;
  cursor: pointer !important;
  width: 100% !important;
  max-width: 340px !important;
  box-shadow: 0 4px 15px rgba(171, 142, 100, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.order-now-button-elegant span {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.order-now-button-elegant:hover {
  background-color: transparent !important;
  color: var(--rd-gold) !important;
  border-color: var(--rd-gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(171, 142, 100, 0.15) !important;
}

.order-now-button-elegant:active {
  transform: translateY(-0.5px);
}

.order-now-bag-icon {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
  flex-shrink: 0;
  margin: 0;
  transition: transform 0.3s ease;
}

.order-now-button-elegant:hover .order-now-bag-icon {
  transform: scale(1.1) translateY(-1px);
}

/* Non-logged in client CTA */
.login-to-order-cta {
  background-color: rgba(171, 142, 100, 0.03);
  border: 1px dashed var(--rd-gold-border);
  border-radius: 6px;
  padding: 25px;
  margin-top: 25px;
  max-width: 400px;
  text-align: left;
}

.login-cta-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--rd-body-text);
  margin: 0 0 15px 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.login-cta-button {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--rd-charcoal);
  color: var(--rd-white);
  border: 1px solid var(--rd-charcoal);
  border-radius: 4px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-cta-button:hover {
  background-color: transparent;
  color: var(--rd-charcoal);
}

/* Elegant Order Notice */
.order-notice-elegant {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: 6px;
  margin-top: 25px;
  max-width: 450px;
  font-family: inherit;
}

.order-notice-elegant.notice-success {
  background-color: #f1f7f4;
  border-left: 4px solid var(--status-completed-text);
  color: var(--status-completed-text);
}

.order-success-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--status-completed-text);
  color: var(--rd-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.order-success-content h4 {
  margin: 0 0 6px 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--rd-charcoal) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-success-content p {
  margin: 0 0 12px 0 !important;
  font-size: 13px !important;
  color: var(--rd-body-text) !important;
  line-height: 1.5 !important;
}

.order-success-dashboard-link {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--rd-gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.order-success-dashboard-link:hover {
  color: var(--rd-gold-hover);
}

/* WhatsApp Link CTA */
.whatsapp-button-elegant {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: transparent !important;
  color: var(--rd-gold) !important;
  border: 1px solid var(--rd-gold) !important;
  border-radius: 4px !important;
  padding: 16px 24px !important;
  width: 100% !important;
  max-width: 340px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(171, 142, 100, 0.02) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.whatsapp-button-elegant:hover {
  background-color: var(--rd-gold-light);
  color: var(--rd-gold-hover);
  border-color: var(--rd-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(171, 142, 100, 0.08);
}

.whatsapp-icon-elegant {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
  flex-shrink: 0;
  margin: 0;
  transition: transform 0.3s ease;
}

.whatsapp-button-elegant:hover .whatsapp-icon-elegant {
  transform: scale(1.1);
}

/* ==========================================================================
   5. Dynamic & Subtle Fade Up Animations
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   6. Product Detail Showcase & "Product Window"
   ========================================================================== */
.product-image-window {
  background-color: var(--rd-white);
  border: 1px solid rgba(171, 142, 100, 0.15);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(28, 26, 23, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-image-window:hover {
  border-color: rgba(171, 142, 100, 0.3);
  box-shadow: 0 15px 45px rgba(171, 142, 100, 0.05);
}

.product-image-window figure,
.product-image-window img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-image-window:hover img {
  transform: scale(1.04) !important;
}

/* Details Column layout */
.product-details-window {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-details-window h1 {
  font-family: 'Funnel Display', sans-serif !important;
  font-weight: 300 !important;
  font-size: 34px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: var(--rd-charcoal) !important;
  margin: 0 0 15px 0 !important;
  line-height: 1.2 !important;
}

.product-details-window p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: var(--rd-body-text) !important;
  margin: 0 0 20px 0 !important;
}

.product-purchasing-window {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  border-top: 1px solid var(--rd-border-fine);
  border-bottom: 1px solid var(--rd-border-fine);
  padding: 25px 0;
  margin-top: 25px;
}

.product-purchasing-window .order-now-form-elegant {
  margin-top: 0;
}

.product-purchasing-window .whatsapp-button-elegant {
  margin-top: 0;
}

/* Make sure social sharing wrapper matches luxury alignment */
.social-share-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.social-share-inline span {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c867e;
}

/* Responsive Product Columns */
@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column !important;
  }
  
  .wp-block-column {
    flex-basis: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .product-image-window {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .product-details-window h1 {
    font-size: 26px !important;
    text-align: center;
    width: 100%;
  }
  
  .product-code-wrapper-elegant {
    align-self: center;
  }
  
  .product-purchasing-window {
    align-items: center;
  }
  
  .social-share-inline {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   7. Frontend Product Submission Form UI
   ========================================================================== */
/* Dashboard CTA card */
.dashboard-cta-card-elegant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background-color: rgba(171, 142, 100, 0.03);
  border: 1px dashed var(--rd-gold-border);
  border-radius: 8px;
  padding: 30px 40px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.dashboard-cta-card-elegant:hover {
  background-color: rgba(171, 142, 100, 0.05);
  border-color: var(--rd-gold);
}

.cta-card-content {
  text-align: left;
}

.cta-card-content h3 {
  font-weight: 400 !important;
  color: var(--rd-charcoal);
  font-size: 18px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin: 0 0 8px 0 !important;
}

.cta-card-content p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--rd-body-text);
  font-weight: 300;
}

.cta-card-btn {
  width: auto !important;
  white-space: nowrap;
}

/* Submission Form Wrapper */
.rashova-add-product-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.rashova-add-product-form {
  background: var(--rd-white);
  border: 1px solid rgba(171, 142, 100, 0.15);
  border-top: 3px solid var(--rd-gold);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(28, 26, 23, 0.02);
  text-align: left;
}

.categories-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
  background-color: #faf9f6;
  border-radius: 4px;
  padding: 15px 20px;
  border: 1px solid var(--rd-border-fine);
}

.category-checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0 !important;
}

.category-checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--rd-gold);
  cursor: pointer;
  margin: 0;
}

.category-checkbox-item span {
  font-size: 13px;
  color: var(--rd-body-text);
  user-select: none;
}

.file-upload-wrapper-elegant {
  position: relative;
  background-color: #faf9f6;
  border: 1px dashed var(--rd-gold-border);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.file-upload-wrapper-elegant:hover {
  background-color: var(--rd-white);
  border-color: var(--rd-gold);
}

.file-upload-wrapper-elegant input[type="file"] {
  cursor: pointer;
  font-size: 13px;
  color: var(--rd-body-text);
}

/* Rich Text Editor Styling integration */
.rich-editor-wrapper-elegant {
  border: 1px solid var(--rd-border-fine);
  border-radius: 4px;
  overflow: hidden;
}

.wp-editor-container {
  border: none !important;
}

.quicktags-toolbar {
  border-bottom: 1px solid var(--rd-border-fine) !important;
  background-color: #faf9f6 !important;
}

.form-actions-elegant {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--rd-border-fine);
  padding-top: 30px;
  margin-top: 30px;
}

.submit-design-btn {
  width: auto !important;
  padding: 14px 40px !important;
}

.return-dashboard-btn {
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px;
}

/* Form notice boxes */
.notice-elegant-box {
  padding: 15px 25px;
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.5;
}

.notice-elegant-box.notice-success {
  background-color: #f1f7f4;
  border-left: 4px solid var(--status-completed-text);
  color: var(--status-completed-text);
}

.notice-elegant-box.notice-error {
  background-color: #faf3f3;
  border-left: 4px solid var(--status-cancelled-text);
  color: var(--status-cancelled-text);
}

/* Mobile Responsiveness for submission page */
@media (max-width: 768px) {
  .dashboard-cta-card-elegant {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 25px;
  }
  
  .cta-card-content {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .cta-card-btn {
    text-align: center;
    justify-content: center;
  }

  .rashova-add-product-form {
    padding: 25px 20px;
  }

  .form-actions-elegant {
    flex-direction: column;
    align-items: stretch;
  }
  
  .submit-design-btn {
    width: 100% !important;
    text-align: center;
  }

  .return-dashboard-btn {
    text-align: center;
  }
}

/* Wholesale Price Badge */
.product-price-wrapper-elegant {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--rd-charcoal);
  margin-bottom: 25px;
}

.product-price-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #8c867e;
  letter-spacing: 0.12em;
}

.product-price-value {
  color: var(--rd-gold);
  font-weight: 600;
}

/* Three columns layout for the uploader form */
.form-row-three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .form-row-three-cols {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
}

/* ==========================================================================
   8. Sourcing Guides & Hubs Page Layout
   ========================================================================== */
.pages-section-header {
  font-family: 'Funnel Display', sans-serif !important;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--rd-border-fine);
  padding-bottom: 15px;
  width: 100%;
}

.pages-section-header h1,
.pages-section-header h2 {
  font-family: 'Funnel Display', sans-serif !important;
  font-weight: 300 !important;
  color: var(--rd-gold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.pages-section-header h1 {
  font-size: 28px !important;
}

.pages-section-header h2 {
  font-size: 22px !important;
}

.section-tagline {
  font-family: 'Funnel Display', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: #8c867e !important;
  margin: 0 !important;
  text-transform: uppercase;
}

/* Sourcing Cards Layout */
.sourcing-hub-card-elegant,
.sourcing-guide-card-elegant {
  background-color: var(--rd-white) !important;
  border: 1px solid rgba(171, 142, 100, 0.15) !important;
  border-top: 3.5px solid var(--rd-gold) !important; /* Luxury signature top accent gold line */
  border-radius: 8px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(28, 26, 23, 0.015) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  box-sizing: border-box;
}

.sourcing-guide-card-elegant {
  padding: 24px !important;
}

.sourcing-hub-card-elegant:hover,
.sourcing-guide-card-elegant:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 40px rgba(171, 142, 100, 0.08) !important;
  border-color: rgba(171, 142, 100, 0.3) !important;
}

/* Image Showcase inside Sourcing Cards */
.sourcing-hub-card-elegant figure,
.sourcing-hub-card-elegant img,
.sourcing-guide-card-elegant figure,
.sourcing-guide-card-elegant img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sourcing-hub-card-elegant:hover img,
.sourcing-guide-card-elegant:hover img {
  transform: scale(1.03) !important;
}

/* Card Typography */
.sourcing-hub-card-elegant h2,
.sourcing-guide-card-elegant h3 {
  font-family: 'Funnel Display', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.sourcing-hub-card-elegant h2 {
  font-size: 18px !important;
}

.sourcing-guide-card-elegant h3 {
  font-size: 15px !important;
}

.sourcing-hub-card-elegant h2 a,
.sourcing-guide-card-elegant h3 a {
  color: var(--rd-charcoal) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: inline-block;
}

.sourcing-hub-card-elegant h2 a:hover,
.sourcing-guide-card-elegant h3 a:hover {
  color: var(--rd-gold) !important;
}

.sourcing-hub-card-elegant p,
.sourcing-guide-card-elegant p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--rd-body-text) !important;
  margin: 0 !important;
  font-weight: 300 !important;
}

/* Mobile Stacking for Sourcing Hubs Grid */
@media (max-width: 768px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* ==========================================================================
   9. Jewelry Pages Hero Carousel UI
   ========================================================================== */
.rashova-hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  background-color: var(--rd-charcoal);
  border: 1px solid rgba(171, 142, 100, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28, 26, 23, 0.04);
}

.rashova-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rashova-carousel-slide {
  position: relative;
  height: 100%;
  background-color: var(--rd-charcoal);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 50px 80px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.carousel-slide-left {
  flex: 0 0 52%;
  max-width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--rd-white);
  z-index: 2;
}

.carousel-slide-right {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.carousel-slide-image-frame {
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid rgba(171, 142, 100, 0.25);
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.carousel-slide-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rashova-carousel-slide:hover .carousel-slide-image-frame {
  border-color: var(--rd-gold);
}

.rashova-carousel-slide:hover .carousel-slide-image-frame img {
  transform: scale(1.04);
}

.carousel-slide-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rd-gold);
  margin-bottom: 12px;
}

.carousel-slide-title {
  font-family: 'Funnel Display', sans-serif !important;
  font-weight: 300 !important;
  font-size: 38px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: var(--rd-white) !important;
  margin: 0 0 15px 0 !important;
  line-height: 1.2 !important;
}

.carousel-slide-excerpt {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #e8e5de !important;
  margin: 0 0 25px 0 !important;
  font-weight: 300 !important;
}

.carousel-slide-btn {
  display: inline-block !important;
  width: auto !important;
  background-color: var(--rd-gold) !important;
  border-color: var(--rd-gold) !important;
  padding: 12px 28px !important;
  font-size: 11px !important;
}

.carousel-slide-btn:hover {
  background-color: transparent !important;
  color: var(--rd-white) !important;
  border-color: var(--rd-white) !important;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 26, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--rd-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0.7;
  transition: all 0.25s ease;
}

.carousel-arrow:hover {
  opacity: 1;
  background: var(--rd-gold);
  border-color: var(--rd-gold);
  transform: translateY(-50%) scale(1.05);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-indicator-dot.active {
  background-color: var(--rd-gold);
  transform: scale(1.2);
}

/* Mobile responsive carousel */
@media (max-width: 768px) {
  .rashova-hero-carousel-wrapper {
    height: auto;
    min-height: 540px;
  }
  
  .rashova-carousel-slide {
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: center;
    gap: 25px;
    padding: 40px 30px;
  }
  
  .carousel-slide-left {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  
  .carousel-slide-right {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-slide-image-frame {
    max-width: 290px;
    margin: 0 auto;
    aspect-ratio: 16/10;
  }
  
  .carousel-slide-title {
    font-size: 24px !important;
  }
  
  .carousel-slide-excerpt {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
  
  .carousel-arrow {
    display: none; /* Hide arrows on small screens */
  }
}

/* ==========================================================================
   10. Upgraded Sourcing Catalog Card UI
   ========================================================================== */
.card-image-wrapper {
  width: 100% !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  background-color: var(--rd-charcoal) !important;
  position: relative !important;
}

.card-image-wrapper figure,
.card-image-wrapper img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sourcing-hub-card-elegant:hover .card-image-wrapper img,
.sourcing-guide-card-elegant:hover .card-image-wrapper img {
  transform: scale(1.04) !important;
}

.card-meta-elegant {
  font-family: 'Funnel Display', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: var(--rd-gold) !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

.sourcing-hub-card-elegant h2,
.sourcing-guide-card-elegant h3 {
  margin-bottom: 12px !important;
}

.card-read-more-link {
  font-family: 'Funnel Display', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--rd-gold) !important;
  margin-top: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: color 0.2s ease, gap 0.2s ease !important;
}

.sourcing-hub-card-elegant:hover .card-read-more-link,
.sourcing-guide-card-elegant:hover .card-read-more-link {
  color: var(--rd-gold-hover) !important;
  gap: 8px !important;
}

/* ==========================================================================
   11. Inline Subpages Navigation Ribbon
   ========================================================================== */
.inline-subpages {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 24px !important;
  padding: 16px 0 !important;
  margin: 25px auto !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  border-top: 1px solid rgba(171, 142, 100, 0.15) !important;
  border-bottom: 1px solid rgba(171, 142, 100, 0.15) !important;
  width: 100% !important;
  max-width: 1200px !important;
}

.subpage-title {
  display: inline-block !important;
}

.subpage-title a {
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #8c887e !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-color: rgba(171, 142, 100, 0.4) !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}

.subpage-title a:hover {
  color: var(--rd-gold) !important;
  text-decoration-color: var(--rd-gold) !important;
}

/* ==========================================================================
   12. WP Admin Bar Header Overlay Correction
   ========================================================================== */
.admin-bar header,
.admin-bar .site-header,
.admin-bar .wp-block-template-part-header,
.admin-bar header.wp-block-template-part,
.admin-bar .wp-block-template-part {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar header,
  .admin-bar .site-header,
  .admin-bar .wp-block-template-part-header,
  .admin-bar header.wp-block-template-part,
  .admin-bar .wp-block-template-part {
    top: 46px !important;
  }
}

/* ==========================================================================
   13. Jewelry Pages 4-Column Responsive Grid
   ========================================================================== */
.jewelry-pages-grid-wrapper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.jewelry-pages-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px 24px !important;
  width: 100% !important;
}

/* Medium viewports (Laptops/Tablets) */
@media screen and (max-width: 1024px) {
  .jewelry-pages-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px 20px !important;
  }
}

/* Mobile viewports (2 columns as requested) */
@media screen and (max-width: 768px) {
  .jewelry-pages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 16px !important;
  }
}

/* Extra small mobile viewports helper */
@media screen and (max-width: 480px) {
  .jewelry-pages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px 10px !important;
  }
}

/* ==========================================================================
   14. Dashboard UI Enhancements & Back Navigation
   ========================================================================== */
.dashboard-back-link-elegant:hover {
  color: var(--rd-gold) !important;
}

.dashboard-back-link-elegant span {
  transition: transform 0.25s ease;
  display: inline-block;
}

.dashboard-back-link-elegant:hover span {
  transform: translateX(-4px);
}

.dashboard-admin-link-elegant:hover {
  color: var(--rd-charcoal) !important;
}

.dashboard-cta-card-elegant {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: rgba(171, 142, 100, 0.04) !important;
  border: 1px solid rgba(171, 142, 100, 0.22) !important;
  border-left: 4px solid var(--rd-gold) !important;
  border-radius: 6px !important;
  padding: 30px 40px !important;
  margin-bottom: 40px !important;
  gap: 30px !important;
}

.dashboard-cta-card-elegant .cta-card-content {
  flex: 1 !important;
}

.dashboard-cta-card-elegant .cta-card-content h3 {
  font-family: 'Funnel Display', sans-serif !important;
  font-weight: 300 !important;
  color: var(--rd-charcoal) !important;
  font-size: 19px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin: 0 0 10px 0 !important;
}

.dashboard-cta-card-elegant .cta-card-content p {
  font-family: 'Funnel Display', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: var(--rd-body-text) !important;
  margin: 0 !important;
}

.dashboard-cta-card-elegant .cta-card-btn {
  width: auto !important;
  white-space: nowrap !important;
  padding: 14px 28px !important;
  align-self: center !important;
}

/* Responsive adjustment for dashboard CTA card */
@media screen and (max-width: 768px) {
  .dashboard-cta-card-elegant {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 25px !important;
    gap: 20px !important;
  }
  .dashboard-cta-card-elegant .cta-card-btn {
    width: 100% !important;
    align-self: stretch !important;
  }
}
