/* ================================================================
   ROYALE PLAKAT — Custom Styles for WordPress
   Version: 1.0.0
   Brand: Navy #0A1F3D + Emas #C9A961 + Burgundy #7B1E2B + Cream #FAF7F0
   Fonts: Playfair Display (heading) + Inter (body)
   ================================================================ */

/* =================== CSS VARIABLES =================== */
:root {
  --royale-navy: #0A1F3D;
  --royale-navy-dark: #061530;
  --royale-gold: #C9A961;
  --royale-gold-light: #E5C77A;
  --royale-burgundy: #7B1E2B;
  --royale-cream: #FAF7F0;
  --royale-cream-dark: #F5F0E5;
  --royale-text: #1a1a1a;
  --royale-text-light: #6b6b6b;
  --royale-border: #e5e1d4;
  --royale-success: #25D366;
  --royale-success-dark: #128C7E;
  
  --royale-font-heading: 'Playfair Display', Georgia, serif;
  --royale-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --royale-shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.06);
  --royale-shadow-md: 0 6px 20px rgba(10, 31, 61, 0.10);
  --royale-shadow-lg: 0 12px 40px rgba(10, 31, 61, 0.15);
  
  --royale-radius-sm: 6px;
  --royale-radius-md: 10px;
  --royale-radius-lg: 16px;
}

/* =================== TYPOGRAPHY OVERRIDE =================== */
body.single-produk,
body.post-type-archive-produk,
body.tax-kategori-produk,
body.tax-material {
  font-family: var(--royale-font-body);
  color: var(--royale-text);
  background: #fff;
}

body.single-produk h1,
body.single-produk h2,
body.single-produk h3,
body.post-type-archive-produk h1,
body.post-type-archive-produk h2 {
  font-family: var(--royale-font-heading);
  color: var(--royale-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.single-produk h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
}

body.single-produk h2 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  margin: 32px 0 16px;
}

body.single-produk h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 24px 0 12px;
}

body.single-produk p {
  line-height: 1.7;
  color: var(--royale-text);
  font-size: 16px;
}

body.single-produk ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* =================== MATERIAL LABEL =================== */
.royale-material-label {
  font-family: var(--royale-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--royale-gold);
  margin-bottom: 8px;
  display: inline-block;
}

/* =================== BADGES =================== */
.royale-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--royale-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 8px;
  background: var(--royale-cream-dark);
  color: var(--royale-navy);
  vertical-align: middle;
}

.royale-badge-bestseller {
  background: linear-gradient(135deg, var(--royale-gold), var(--royale-gold-light));
  color: var(--royale-navy);
  box-shadow: 0 2px 6px rgba(201, 169, 97, 0.3);
}

.royale-badge-new {
  background: var(--royale-success);
  color: #fff;
}

.royale-badge-vip {
  background: var(--royale-navy);
  color: var(--royale-gold);
  border: 1px solid var(--royale-gold);
}

.royale-badge-hemat {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffb74d;
}

.royale-badge-custom {
  background: var(--royale-burgundy);
  color: #fff;
}

.royale-badge-express {
  background: #ff5722;
  color: #fff;
}

/* =================== PRICE BLOCK =================== */
.royale-price-block {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--royale-cream);
  border-left: 4px solid var(--royale-gold);
  border-radius: var(--royale-radius-md);
}

.royale-price-label {
  font-size: 13px;
  color: var(--royale-text-light);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.royale-price-value {
  font-family: var(--royale-font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--royale-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* =================== META TAGS =================== */
.royale-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.royale-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--royale-cream);
  border: 1px solid var(--royale-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--royale-navy);
}

/* =================== CTA BUTTONS =================== */
.royale-wa-btn,
a.royale-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--royale-success);
  color: #fff !important;
  font-family: var(--royale-font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: var(--royale-radius-md);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.royale-wa-btn:hover {
  background: var(--royale-success-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #fff !important;
}

.royale-phone-btn,
a.royale-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  background: transparent;
  color: var(--royale-navy) !important;
  font-family: var(--royale-font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--royale-navy);
  border-radius: var(--royale-radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.royale-phone-btn:hover {
  background: var(--royale-navy);
  color: #fff !important;
}

/* =================== TRUST BADGES =================== */
.royale-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
  padding: 30px 20px;
  background: var(--royale-cream);
  border-radius: var(--royale-radius-lg);
}

.royale-trust-item {
  text-align: center;
  padding: 16px;
}

.royale-trust-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 12px;
}

.royale-trust-title {
  font-family: var(--royale-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--royale-navy);
  margin-bottom: 6px;
}

.royale-trust-desc {
  font-size: 13px;
  color: var(--royale-text-light);
  line-height: 1.4;
}

/* =================== RELATED PRODUCTS =================== */
.royale-related-section {
  margin: 60px 0 40px;
  padding-top: 40px;
  border-top: 1px solid var(--royale-border);
}

.royale-related-title {
  font-family: var(--royale-font-heading);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--royale-navy);
  text-align: center;
  margin-bottom: 32px;
  font-weight: 700;
}

.royale-related-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--royale-gold);
  margin: 12px auto 0;
}

.royale-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.royale-related-card {
  background: #fff;
  border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.royale-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--royale-shadow-md);
  border-color: var(--royale-gold);
}

.royale-related-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
}

.royale-related-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--royale-cream);
  overflow: hidden;
}

.royale-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.royale-related-card:hover .royale-related-image img {
  transform: scale(1.05);
}

.royale-related-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--royale-text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.royale-related-info {
  padding: 16px;
}

.royale-related-name {
  font-family: var(--royale-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--royale-navy);
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.royale-related-price {
  font-family: var(--royale-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--royale-gold);
}

.royale-related-wa {
  display: block;
  padding: 12px;
  background: var(--royale-success);
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.royale-related-wa:hover {
  background: var(--royale-success-dark);
}

/* =================== STICKY WA BUTTON (Floating) =================== */
.royale-sticky-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--royale-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: royalePulse 2s infinite;
}

.royale-sticky-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

@keyframes royalePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

/* =================== FEATURED IMAGE OVERRIDE =================== */
body.single-produk .post-thumbnail img,
body.single-produk .wp-block-post-featured-image img,
body.single-produk .elementor-widget-image img {
  width: 100%;
  height: auto;
  border-radius: var(--royale-radius-lg);
  box-shadow: var(--royale-shadow-md);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

body.single-produk .post-thumbnail img:hover,
body.single-produk .wp-block-post-featured-image img:hover {
  transform: scale(1.02);
}

/* =================== POST CONTENT IMPROVEMENTS =================== */
body.single-produk .entry-content,
body.single-produk .elementor-widget-theme-post-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
}

body.single-produk .entry-content h2,
body.single-produk .elementor-widget-theme-post-content h2 {
  border-bottom: 2px solid var(--royale-gold);
  padding-bottom: 8px;
  display: inline-block;
}

body.single-produk .entry-content ul,
body.single-produk .elementor-widget-theme-post-content ul {
  padding-left: 24px;
}

body.single-produk .entry-content ul li,
body.single-produk .elementor-widget-theme-post-content ul li {
  position: relative;
  list-style: none;
  padding-left: 24px;
  margin-bottom: 10px;
}

body.single-produk .entry-content ul li::before,
body.single-produk .elementor-widget-theme-post-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--royale-gold);
  font-weight: 700;
  font-size: 18px;
}

body.single-produk .entry-content strong,
body.single-produk .elementor-widget-theme-post-content strong {
  color: var(--royale-navy);
  font-weight: 700;
}

/* =================== ARCHIVE PAGES (Category & Material) =================== */
body.post-type-archive-produk .page-title,
body.tax-kategori-produk .page-title,
body.tax-material .page-title {
  font-family: var(--royale-font-heading);
  color: var(--royale-navy);
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  margin: 40px 0 20px;
}

/* =================== MOBILE RESPONSIVE =================== */
@media (max-width: 768px) {
  body.single-produk h1 {
    font-size: 26px;
  }
  
  .royale-wa-btn,
  .royale-phone-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .royale-price-value {
    font-size: 32px;
  }
  
  .royale-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 12px;
  }
  
  .royale-trust-icon {
    font-size: 32px;
  }
  
  .royale-trust-title {
    font-size: 14px;
  }
  
  .royale-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .royale-related-name {
    font-size: 13px;
  }
  
  .royale-related-price {
    font-size: 16px;
  }
  
  .royale-sticky-wa {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  
  .royale-sticky-wa svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .royale-trust-grid {
    grid-template-columns: 1fr;
  }
  
  .royale-related-grid {
    grid-template-columns: 1fr;
  }
}

/* =================== ELEMENTOR-SPECIFIC OVERRIDES =================== */
body.single-produk .elementor-widget-theme-post-title h1 {
  font-family: var(--royale-font-heading) !important;
  color: var(--royale-navy) !important;
}

body.single-produk .elementor-widget-theme-post-excerpt {
  font-size: 17px;
  color: var(--royale-text-light);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--royale-gold);
  padding-left: 16px;
  margin-bottom: 24px;
}

/* Hide default WordPress date on single product */
body.single-produk .posted-on,
body.single-produk .entry-meta,
body.single-produk .entry-footer {
  display: none !important;
}

/* =================== HELPER UTILITIES =================== */
.royale-text-navy { color: var(--royale-navy) !important; }
.royale-text-gold { color: var(--royale-gold) !important; }
.royale-text-burgundy { color: var(--royale-burgundy) !important; }
.royale-bg-cream { background: var(--royale-cream) !important; }
.royale-bg-navy { background: var(--royale-navy) !important; color: #fff !important; }
.royale-bg-gold { background: var(--royale-gold) !important; }

/* =================== END OF STYLES =================== */

/* ================================================================
   v1.1 — HOMEPAGE SECTIONS STYLING
   ================================================================ */

/* =================== HERO BANNER =================== */
.royale-hero-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--royale-cream) 0%, #fff 100%);
  overflow: hidden;
}

.royale-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.royale-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.royale-hero-badge {
  display: inline-block;
  width: fit-content;
  padding: 8px 16px;
  background: var(--royale-gold);
  color: var(--royale-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 100px;
  text-transform: uppercase;
}

.royale-hero-headline {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: var(--royale-navy) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.royale-hero-subheadline {
  font-size: 17px;
  line-height: 1.6;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.royale-hero-features li {
  font-size: 15px;
  color: var(--royale-text);
  font-weight: 500;
  padding-left: 0;
}

.royale-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.royale-hero-btn-primary,
a.royale-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  background: var(--royale-success);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--royale-radius-md);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}

.royale-hero-btn-primary:hover {
  background: var(--royale-success-dark);
  transform: translateY(-2px);
  color: #fff !important;
}

.royale-hero-btn-secondary,
a.royale-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  background: transparent;
  color: var(--royale-navy) !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--royale-navy);
  border-radius: var(--royale-radius-md);
  transition: all 0.3s;
}

.royale-hero-btn-secondary:hover {
  background: var(--royale-navy);
  color: #fff !important;
}

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

.royale-hero-image-frame {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--royale-navy) 0%, var(--royale-navy-dark) 100%);
  border-radius: var(--royale-radius-lg);
  box-shadow: 0 20px 60px rgba(10, 31, 61, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.royale-hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 169, 97, 0.3) 0%, transparent 50%);
}

.royale-hero-image-placeholder {
  text-align: center;
  z-index: 2;
  padding: 40px;
}

.royale-hero-icon-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.royale-hero-icon-large {
  font-size: 100px;
}

.royale-hero-icon-medium {
  font-size: 70px;
  opacity: 0.8;
}

.royale-hero-icon-small {
  font-size: 50px;
  opacity: 0.6;
}

.royale-hero-image-label {
  color: var(--royale-gold);
  font-family: var(--royale-font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

/* =================== CATEGORIES GRID =================== */
.royale-categories-section {
  padding: 60px 20px;
  background: #fff;
}

.royale-categories-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.royale-categories-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  line-height: 1.2;
}

.royale-categories-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.royale-category-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background: var(--royale-cream);
  border: 2px solid transparent;
  border-radius: var(--royale-radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.royale-category-card:hover {
  background: #fff;
  border-color: var(--royale-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(201, 169, 97, 0.2);
}

.royale-category-icon {
  font-size: 56px;
  margin-bottom: 16px;
  line-height: 1;
}

.royale-category-name {
  font-family: var(--royale-font-heading);
  font-size: 22px;
  color: var(--royale-navy);
  font-weight: 700;
  margin: 0 0 8px;
}

.royale-category-desc {
  font-size: 14px;
  color: var(--royale-text-light);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.royale-category-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--royale-gold);
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s;
}

.royale-category-card:hover .royale-category-arrow {
  transform: translateX(6px);
}

/* =================== FEATURED PRODUCTS =================== */
.royale-featured-section {
  padding: 60px 20px;
  background: var(--royale-cream);
}

.royale-featured-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.royale-featured-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.royale-featured-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.royale-featured-card {
  background: #fff;
  border-radius: var(--royale-radius-md);
  overflow: hidden;
  box-shadow: var(--royale-shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.royale-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--royale-shadow-md);
}

.royale-featured-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.royale-featured-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.royale-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.royale-featured-card:hover .royale-featured-image img {
  transform: scale(1.05);
}

.royale-featured-info {
  padding: 16px;
}

.royale-featured-material {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--royale-gold);
  margin-bottom: 6px;
}

.royale-featured-name {
  font-family: var(--royale-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--royale-navy);
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.royale-featured-price {
  font-family: var(--royale-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--royale-gold);
}

.royale-featured-wa {
  display: block;
  padding: 12px;
  background: var(--royale-success);
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.royale-featured-wa:hover {
  background: var(--royale-success-dark);
}

/* =================== TESTIMONI =================== */
.royale-testimoni-section {
  padding: 60px 20px;
  background: #fff;
}

.royale-testimoni-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.royale-testimoni-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.royale-testimoni-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-testimoni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.royale-testimoni-card {
  padding: 32px;
  background: var(--royale-cream);
  border-radius: var(--royale-radius-lg);
  border-left: 4px solid var(--royale-gold);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.royale-testimoni-rating {
  font-size: 18px;
  line-height: 1;
}

.royale-testimoni-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--royale-text);
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}

.royale-testimoni-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--royale-border);
}

.royale-testimoni-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--royale-navy);
  color: var(--royale-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--royale-font-heading);
  font-size: 22px;
  font-weight: 700;
}

.royale-testimoni-name {
  font-family: var(--royale-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--royale-navy);
  line-height: 1.2;
}

.royale-testimoni-company {
  font-size: 13px;
  color: var(--royale-text-light);
  margin-top: 2px;
}

/* =================== CTA BOTTOM =================== */
.royale-cta-bottom-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--royale-navy) 0%, var(--royale-navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.royale-cta-bottom-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.royale-cta-bottom-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.royale-cta-bottom-headline {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(32px, 5vw, 48px) !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  line-height: 1.2;
}

.royale-cta-bottom-subheadline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 32px;
}

.royale-cta-bottom-btn,
a.royale-cta-bottom-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--royale-success);
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--royale-radius-md);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: all 0.3s;
  margin-bottom: 24px;
}

.royale-cta-bottom-btn:hover {
  background: var(--royale-success-dark);
  transform: translateY(-2px);
  color: #fff !important;
}

.royale-cta-bottom-perks {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--royale-gold);
  font-size: 14px;
  font-weight: 600;
}

/* =================== MOBILE RESPONSIVE (Homepage) =================== */
@media (max-width: 768px) {
  .royale-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .royale-hero-visual {
    order: -1;
  }
  
  .royale-hero-image-frame {
    max-width: 300px;
  }
  
  .royale-hero-icon-large { font-size: 64px; }
  .royale-hero-icon-medium { font-size: 48px; }
  .royale-hero-icon-small { font-size: 32px; }
  
  .royale-hero-btn-primary,
  .royale-hero-btn-secondary {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }
  
  .royale-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .royale-category-card {
    padding: 24px 16px;
  }
  
  .royale-category-icon {
    font-size: 40px;
  }
  
  .royale-category-name {
    font-size: 17px;
  }
  
  .royale-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .royale-testimoni-grid {
    grid-template-columns: 1fr;
  }
  
  .royale-cta-bottom-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .royale-categories-grid,
  .royale-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* =================== END v1.1 STYLES =================== */

/* ================================================================
   v1.4 — ABOUT / FAQ / CONTACT STYLES
   ================================================================ */

/* =================== ABOUT HERO =================== */
.royale-about-hero-section {
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--royale-navy) 0%, var(--royale-navy-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.royale-about-hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 70%);
}

.royale-about-hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.royale-about-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--royale-gold);
  color: var(--royale-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.royale-about-hero-headline {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(36px, 6vw, 64px) !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin: 0 0 20px !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.royale-about-hero-tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 700px;
}

.royale-about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.royale-about-stat-item {
  text-align: center;
}

.royale-about-stat-number {
  font-family: var(--royale-font-heading);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--royale-gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.royale-about-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* =================== ABOUT STORY =================== */
.royale-about-story-section {
  padding: 80px 20px;
  background: #fff;
}

.royale-about-story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.royale-about-story-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.royale-about-story-eyebrow {
  color: var(--royale-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.royale-about-story-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  line-height: 1.2;
}

.royale-about-story-paragraph {
  font-size: 16px;
  line-height: 1.75;
  color: var(--royale-text);
  margin: 0 0 16px;
}

.royale-about-story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.royale-about-story-frame {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--royale-cream) 0%, #fff 100%);
  border: 2px solid var(--royale-gold);
  border-radius: var(--royale-radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: var(--royale-shadow-md);
}

.royale-about-story-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.royale-about-icon {
  font-size: 56px;
  text-align: center;
  line-height: 1;
}

.royale-about-story-frame-label {
  font-family: var(--royale-font-heading);
  color: var(--royale-gold);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  text-align: center;
}

/* =================== VISION & MISSION =================== */
.royale-vm-section {
  padding: 80px 20px;
  background: var(--royale-cream);
}

.royale-vm-container {
  max-width: 1100px;
  margin: 0 auto;
}

.royale-vm-header {
  text-align: center;
  margin-bottom: 50px;
}

.royale-vm-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.royale-vm-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.royale-vm-card {
  background: #fff;
  border-radius: var(--royale-radius-lg);
  padding: 40px;
  box-shadow: var(--royale-shadow-md);
  border-top: 4px solid var(--royale-gold);
}

.royale-vm-mission {
  border-top-color: var(--royale-burgundy);
}

.royale-vm-icon {
  font-size: 56px;
  margin-bottom: 16px;
  line-height: 1;
}

.royale-vm-card-title {
  font-family: var(--royale-font-heading);
  font-size: 28px;
  color: var(--royale-navy);
  font-weight: 700;
  margin: 0 0 16px;
}

.royale-vm-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--royale-text);
  margin: 0;
}

.royale-vm-card-list {
  padding-left: 0;
  list-style: none;
}

.royale-vm-card-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--royale-text);
}

.royale-vm-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--royale-gold);
  font-weight: 700;
  font-size: 18px;
}

/* =================== WHY CHOOSE US =================== */
.royale-why-section {
  padding: 80px 20px;
  background: #fff;
}

.royale-why-header {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 700px;
}

.royale-why-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.royale-why-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.royale-why-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--royale-cream);
  border-radius: var(--royale-radius-lg);
  transition: all 0.3s ease;
}

.royale-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--royale-shadow-md);
}

.royale-why-icon {
  font-size: 56px;
  margin-bottom: 16px;
  line-height: 1;
}

.royale-why-card-title {
  font-family: var(--royale-font-heading);
  font-size: 20px;
  color: var(--royale-navy);
  font-weight: 700;
  margin: 0 0 12px;
}

.royale-why-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--royale-text-light);
  margin: 0;
}

/* =================== FAQ ACCORDION =================== */
.royale-faq-section {
  padding: 80px 20px;
  background: #fff;
}

.royale-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.royale-faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.royale-faq-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.royale-faq-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.royale-faq-item {
  background: var(--royale-cream);
  border-radius: var(--royale-radius-md);
  overflow: hidden;
  transition: all 0.3s;
}

.royale-faq-item:hover {
  box-shadow: var(--royale-shadow-sm);
}

.royale-faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--royale-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--royale-navy);
  transition: color 0.2s;
}

.royale-faq-question:hover {
  color: var(--royale-gold);
}

.royale-faq-q-text {
  flex: 1;
}

.royale-faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--royale-gold);
  flex-shrink: 0;
  transition: transform 0.3s;
  width: 24px;
  text-align: center;
}

.royale-faq-item.active .royale-faq-icon,
.royale-faq-question[aria-expanded="true"] .royale-faq-icon {
  transform: rotate(45deg);
}

.royale-faq-answer {
  padding: 0 24px 20px;
  display: none;
}

.royale-faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--royale-text);
}

/* =================== CONTACT GRID =================== */
.royale-contact-grid-section {
  padding: 80px 20px;
  background: var(--royale-cream);
}

.royale-contact-grid-header {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 700px;
}

.royale-contact-grid-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.royale-contact-grid-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  margin: 0;
}

.royale-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.royale-contact-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--royale-radius-lg);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  border-top: 3px solid var(--royale-gold);
}

.royale-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--royale-shadow-md);
}

a.royale-contact-card {
  cursor: pointer;
}

.royale-contact-card-icon {
  font-size: 40px;
  margin-bottom: 12px;
  line-height: 1;
}

.royale-contact-card-label {
  font-size: 12px;
  color: var(--royale-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.royale-contact-card-value {
  font-family: var(--royale-font-heading);
  font-size: 16px;
  color: var(--royale-navy);
  font-weight: 700;
  line-height: 1.4;
}

/* =================== CONTACT CTA BIG =================== */
.royale-contact-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--royale-navy) 0%, var(--royale-navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.royale-contact-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.royale-contact-cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.royale-contact-cta-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--royale-gold);
  color: var(--royale-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.royale-contact-cta-headline {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(32px, 5vw, 48px) !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  line-height: 1.2;
}

.royale-contact-cta-subheadline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 32px;
}

.royale-contact-cta-btn,
a.royale-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 48px;
  background: var(--royale-success);
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--royale-radius-md);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  transition: all 0.3s;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.royale-contact-cta-btn:hover {
  background: var(--royale-success-dark);
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

.royale-contact-cta-perks {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--royale-gold);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

/* =================== SOCIAL FOLLOW =================== */
.royale-social-follow-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.royale-social-follow-title {
  font-family: var(--royale-font-heading) !important;
  font-size: 28px !important;
  color: var(--royale-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}

.royale-social-follow-subtitle {
  font-size: 15px;
  color: var(--royale-text-light);
  margin: 0 0 32px;
}

.royale-social-follow-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.royale-social-card {
  width: 100px;
  padding: 20px 16px;
  border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md);
  text-decoration: none;
  color: var(--royale-navy);
  transition: all 0.3s;
}

.royale-social-card:hover {
  border-color: var(--royale-gold);
  transform: translateY(-2px);
  box-shadow: var(--royale-shadow-sm);
}

.royale-social-icon {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1;
}

.royale-social-name {
  font-size: 13px;
  font-weight: 600;
}

/* =================== MOBILE RESPONSIVE v1.4 =================== */
@media (max-width: 768px) {
  .royale-about-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .royale-about-story-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .royale-about-story-visual { order: -1; }
  .royale-about-story-frame { max-width: 320px; padding: 24px; }
  .royale-about-icon { font-size: 40px; }
  
  .royale-vm-grid {
    grid-template-columns: 1fr;
  }
  
  .royale-vm-card { padding: 28px 24px; }
  
  .royale-faq-question { padding: 16px 18px; font-size: 14px; }
  .royale-faq-answer { padding: 0 18px 16px; }
  .royale-faq-answer p { font-size: 14px; }
  
  .royale-contact-cta-btn { padding: 18px 32px; font-size: 16px; }
  .royale-contact-cta-perks { font-size: 13px; gap: 16px; }
}

/* =================== END v1.4 STYLES =================== */

/* ================================================================
   v1.5 — PROTOTYPE ALIGNMENT STYLES
   ================================================================ */

/* =================== HERO 3-COLUMN =================== */
.royale-hero-3col-section { padding: 30px 20px; background: #fff; }
.royale-hero-3col-container {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 20px;
}

/* Sidebar Kategori */
.royale-category-sidebar {
  background: #fff; border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md); padding: 16px;
}
.royale-category-sidebar h3 {
  font-family: var(--royale-font-heading); font-size: 16px;
  color: var(--royale-navy); margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--royale-gold);
}
.royale-category-list { list-style: none; padding: 0; margin: 0; }
.royale-category-list li { margin: 0; }
.royale-category-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 8px; text-decoration: none;
  color: var(--royale-text); font-size: 14px; font-weight: 500;
  border-radius: 4px; transition: all 0.2s;
}
.royale-category-list a:hover { background: var(--royale-cream); color: var(--royale-navy); }
.royale-cat-icon { font-size: 18px; }
.royale-arrow { margin-left: auto; color: var(--royale-gold); font-weight: 700; }

/* Hero Banner Center */
.royale-hero-banner {
  background: linear-gradient(135deg, var(--royale-navy), var(--royale-navy-dark));
  color: #fff; padding: 40px; border-radius: var(--royale-radius-lg);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  min-height: 320px;
}
.royale-hero-banner::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(201,169,97,0.3) 0%, transparent 70%);
}
.royale-hero-banner-content { position: relative; z-index: 2; }
.royale-hero-tagline {
  display: inline-block; padding: 6px 14px;
  background: var(--royale-gold); color: var(--royale-navy);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  border-radius: 100px; margin-bottom: 16px;
}
.royale-hero-banner h1 {
  font-family: var(--royale-font-heading); font-size: 36px !important;
  font-weight: 700 !important; line-height: 1.15 !important;
  color: #fff !important; margin: 0 0 12px !important;
  letter-spacing: -0.02em;
}
.royale-hero-banner p {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.85); margin: 0 0 20px;
}
.royale-gold-text { color: var(--royale-gold); }
.royale-hero-dots {
  display: flex; gap: 8px; margin-top: 16px;
}
.royale-hero-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.royale-hero-dots span.active { background: var(--royale-gold); }

/* Side Banners */
.royale-side-banners {
  display: flex; flex-direction: column; gap: 16px;
}
.royale-side-banner {
  background: #fff; border: 2px solid var(--royale-border);
  border-radius: var(--royale-radius-md); padding: 20px;
  transition: all 0.3s;
}
.royale-side-banner:hover { border-color: var(--royale-gold); transform: translateY(-2px); }
.royale-side-banner-1 { background: linear-gradient(135deg, #fff8e1, #fff); border-color: var(--royale-gold); }
.royale-side-banner-2 { background: linear-gradient(135deg, #ffe0e0, #fff); border-color: var(--royale-burgundy); }
.royale-badge-promo {
  display: inline-block; padding: 4px 10px;
  background: var(--royale-burgundy); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  border-radius: 4px; margin-bottom: 8px;
}
.royale-side-banner h4 {
  font-family: var(--royale-font-heading); font-size: 18px;
  color: var(--royale-navy); margin: 0 0 8px;
}
.royale-side-banner p {
  font-size: 13px; color: var(--royale-text-light); margin: 0 0 12px;
}
.royale-side-banner-link {
  display: inline-block; color: var(--royale-success-dark) !important;
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.royale-side-banner-link:hover { color: var(--royale-navy) !important; }

/* =================== VALUE ICONS BAR =================== */
.royale-value-icons-section { padding: 30px 20px; background: #fff; }
.royale-value-icons-container { max-width: 1280px; margin: 0 auto; }
.royale-value-icons-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  background: var(--royale-cream); padding: 24px; border-radius: var(--royale-radius-lg);
}
.royale-value-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.royale-value-icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: var(--royale-shadow-sm);
  transition: transform 0.3s;
}
.royale-value-icon-item:hover .royale-value-icon-circle { transform: scale(1.1); }
.royale-value-icon-item span {
  font-size: 12px; font-weight: 600;
  color: var(--royale-navy);
}

/* =================== FLASH SALE =================== */
.royale-flash-sale-section {
  margin: 20px auto; max-width: 1280px;
  padding: 24px; border-radius: var(--royale-radius-lg);
  background: linear-gradient(135deg, #fff5f5, #fffbe6);
  border: 2px solid var(--royale-gold);
}
.royale-flash-sale-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.royale-flash-sale-title { display: flex; align-items: center; gap: 12px; }
.royale-flash-sale-icon { font-size: 36px; animation: royaleBolt 1.5s infinite; }
@keyframes royaleBolt { 0%,100%{transform:scale(1);} 50%{transform:scale(1.15);} }
.royale-flash-sale-title h2 {
  font-family: var(--royale-font-heading) !important;
  font-size: 24px !important; margin: 0 !important;
  color: var(--royale-navy) !important;
}
.royale-flash-sale-subtitle { font-size: 13px; color: var(--royale-burgundy); font-weight: 600; }
.royale-countdown { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--royale-text); }
.royale-countdown-box {
  background: var(--royale-navy); color: var(--royale-gold);
  padding: 6px 10px; border-radius: 4px; font-weight: 700;
  font-family: monospace; min-width: 32px; text-align: center;
}
.royale-fs-product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.royale-fs-product-card {
  background: #fff; border-radius: var(--royale-radius-md);
  overflow: hidden; box-shadow: var(--royale-shadow-sm);
  text-decoration: none; color: inherit; transition: all 0.3s;
}
.royale-fs-product-card:hover { transform: translateY(-4px); box-shadow: var(--royale-shadow-md); }
.royale-fs-product-image {
  position: relative; aspect-ratio: 1/1; background: var(--royale-cream);
  display: flex; align-items: center; justify-content: center;
}
.royale-fs-product-image img { width: 100%; height: 100%; object-fit: cover; }
.royale-fs-emoji { font-size: 80px; }
.royale-badge-sale {
  position: absolute; top: 8px; left: 8px;
  background: var(--royale-burgundy); color: #fff;
  padding: 4px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.royale-fs-product-info { padding: 12px; }
.royale-fs-product-name {
  font-size: 13px; font-weight: 600; color: var(--royale-navy);
  margin: 0 0 8px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.royale-fs-product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.royale-price-current { font-family: var(--royale-font-heading); font-size: 18px; font-weight: 700; color: var(--royale-burgundy); }
.royale-price-old { font-size: 12px; color: var(--royale-text-light); text-decoration: line-through; }

/* =================== KATEGORI POPULER =================== */
.royale-kategori-populer-section { padding: 30px 20px; background: #fff; }
.royale-section { max-width: 1280px; margin: 0 auto; }
.royale-section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.royale-section-title { display: flex; align-items: center; gap: 12px; }
.royale-section-title-icon { font-size: 32px; }
.royale-section-title h2 {
  font-family: var(--royale-font-heading) !important;
  font-size: 24px !important; margin: 0 !important; color: var(--royale-navy) !important;
}
.royale-section-title small {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--royale-gold); letter-spacing: 1.5px;
}
.royale-see-all {
  font-size: 14px; font-weight: 600; color: var(--royale-burgundy);
  text-decoration: none; transition: all 0.2s;
}
.royale-see-all:hover { color: var(--royale-navy); }
.royale-kategori-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
}
.royale-kategori-item {
  background: var(--royale-cream); padding: 20px 12px;
  border-radius: var(--royale-radius-md);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--royale-navy);
  transition: all 0.3s; border: 2px solid transparent;
}
.royale-kategori-item:hover { border-color: var(--royale-gold); transform: translateY(-4px); background: #fff; }
.royale-kategori-icon-large { font-size: 40px; line-height: 1; }
.royale-kategori-item span { font-size: 12px; font-weight: 600; text-align: center; }

/* =================== PRODUCT RECOMMENDATION =================== */
.royale-product-rec-section { padding: 30px 20px; background: #fff; }
.royale-pr-product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.royale-pr-product-card {
  background: #fff; border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md); overflow: hidden;
  transition: all 0.3s; display: flex; flex-direction: column;
}
.royale-pr-product-card:hover { border-color: var(--royale-gold); transform: translateY(-4px); box-shadow: var(--royale-shadow-md); }
.royale-pr-product-link { text-decoration: none; color: inherit; flex: 1; }
.royale-pr-product-image { aspect-ratio: 1/1; background: var(--royale-cream); overflow: hidden; }
.royale-pr-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.royale-pr-product-card:hover .royale-pr-product-image img { transform: scale(1.05); }
.royale-pr-product-info { padding: 14px; }
.royale-pr-material { font-size: 11px; font-weight: 700; color: var(--royale-gold); letter-spacing: 1.5px; margin-bottom: 6px; }
.royale-pr-product-name {
  font-size: 14px; font-weight: 600; color: var(--royale-navy);
  line-height: 1.4; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.royale-pr-product-price { font-family: var(--royale-font-heading); font-size: 16px; font-weight: 700; color: var(--royale-gold); }
.royale-pr-wa-btn {
  display: block; padding: 10px; background: var(--royale-success);
  color: #fff !important; text-align: center; text-decoration: none;
  font-size: 13px; font-weight: 600; transition: background 0.2s;
}
.royale-pr-wa-btn:hover { background: var(--royale-success-dark); }

/* =================== USP STRIP =================== */
.royale-usp-strip-section { padding: 30px 20px; background: var(--royale-navy); }
.royale-usp-strip-container { max-width: 1280px; margin: 0 auto; }
.royale-usp-strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.royale-usp-strip-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-right: 1px solid rgba(255,255,255,0.1);
}
.royale-usp-strip-item:last-child { border-right: none; }
.royale-usp-strip-icon { font-size: 40px; color: var(--royale-gold); }
.royale-usp-strip-title { font-family: var(--royale-font-heading); font-size: 18px; font-weight: 700; color: var(--royale-gold); }
.royale-usp-strip-desc { font-size: 13px; color: rgba(255,255,255,0.75); }

/* =================== SEO TEXT =================== */
.royale-seo-text-section { padding: 60px 20px; background: var(--royale-cream); }
.royale-seo-content {
  max-width: 900px; margin: 0 auto;
  background: #fff; padding: 40px;
  border-radius: var(--royale-radius-lg);
  box-shadow: var(--royale-shadow-sm);
}
.royale-seo-content h2 {
  font-family: var(--royale-font-heading) !important;
  font-size: 28px !important; color: var(--royale-navy) !important;
  margin: 0 0 20px !important;
}
.royale-seo-content h3 {
  font-family: var(--royale-font-heading); font-size: 22px;
  color: var(--royale-navy); margin: 24px 0 12px;
}
.royale-seo-content p {
  font-size: 15px; line-height: 1.75; color: var(--royale-text); margin: 0 0 16px;
}
.royale-seo-content a { color: var(--royale-gold); font-weight: 600; }
.royale-seo-content a:hover { color: var(--royale-navy); }

/* =================== ARCHIVE PAGE =================== */
.royale-archive-section { padding: 40px 20px; }
.royale-archive-header { text-align: center; margin: 0 auto 40px; max-width: 800px; }
.royale-archive-title {
  font-family: var(--royale-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: var(--royale-navy) !important; margin: 0 0 12px !important;
}
.royale-archive-subtitle { font-size: 16px; color: var(--royale-text-light); margin: 0 0 20px; }
.royale-archive-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.royale-archive-stat {
  padding: 8px 16px; background: var(--royale-cream);
  border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--royale-navy);
}
.royale-archive-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1280px; margin: 0 auto;
}
.royale-archive-card {
  background: #fff; border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md); overflow: hidden;
  transition: all 0.3s; display: flex; flex-direction: column;
}
.royale-archive-card:hover { border-color: var(--royale-gold); transform: translateY(-4px); box-shadow: var(--royale-shadow-md); }
.royale-archive-link { text-decoration: none; color: inherit; flex: 1; }
.royale-archive-image { aspect-ratio: 1/1; background: var(--royale-cream); overflow: hidden; }
.royale-archive-image img { width: 100%; height: 100%; object-fit: cover; }
.royale-archive-info { padding: 14px; }
.royale-archive-material { font-size: 11px; font-weight: 700; color: var(--royale-gold); letter-spacing: 1.5px; margin-bottom: 6px; }
.royale-archive-name {
  font-size: 14px; font-weight: 600; color: var(--royale-navy);
  line-height: 1.4; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.royale-archive-price { font-family: var(--royale-font-heading); font-size: 16px; font-weight: 700; color: var(--royale-gold); }
.royale-archive-wa {
  display: block; padding: 10px; background: var(--royale-success);
  color: #fff !important; text-align: center; text-decoration: none;
  font-size: 13px; font-weight: 600;
}
.royale-archive-wa:hover { background: var(--royale-success-dark); }

/* =================== BLOG INFO =================== */
.royale-blog-info-section { padding: 30px 20px; background: #fff; }
.royale-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.royale-blog-card {
  background: #fff; border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md); overflow: hidden;
  transition: all 0.3s;
}
.royale-blog-card:hover { border-color: var(--royale-gold); transform: translateY(-4px); box-shadow: var(--royale-shadow-md); }
.royale-blog-image {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--royale-cream), #fff);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
}
.royale-blog-content { padding: 20px; }
.royale-blog-date { font-size: 12px; color: var(--royale-text-light); margin-bottom: 8px; }
.royale-blog-card h4 {
  font-family: var(--royale-font-heading); font-size: 18px;
  color: var(--royale-navy); margin: 0 0 8px; line-height: 1.3;
}
.royale-blog-card p { font-size: 14px; line-height: 1.5; color: var(--royale-text-light); margin: 0; }

/* =================== MOBILE RESPONSIVE v1.5 =================== */
@media (max-width: 1024px) {
  .royale-hero-3col-container {
    grid-template-columns: 200px 1fr;
  }
  .royale-side-banners {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1fr;
  }
  .royale-kategori-grid { grid-template-columns: repeat(4, 1fr); }
  .royale-value-icons-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .royale-hero-3col-container { grid-template-columns: 1fr; gap: 16px; }
  .royale-category-sidebar { order: 2; }
  .royale-hero-banner { order: 1; padding: 24px; min-height: 250px; }
  .royale-hero-banner h1 { font-size: 26px !important; }
  .royale-side-banners { order: 3; grid-template-columns: 1fr; }
  
  .royale-value-icons-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; }
  .royale-value-icon-circle { width: 44px; height: 44px; font-size: 22px; }
  .royale-value-icon-item span { font-size: 11px; }
  
  .royale-fs-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .royale-kategori-grid { grid-template-columns: repeat(3, 1fr); }
  .royale-pr-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .royale-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  
  .royale-usp-strip-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .royale-usp-strip-item { border-right: none; padding: 12px; }
  .royale-usp-strip-icon { font-size: 32px; }
  .royale-usp-strip-title { font-size: 16px; }
  
  .royale-seo-content { padding: 24px; }
  .royale-seo-content h2 { font-size: 22px !important; }
  
  .royale-blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .royale-kategori-grid { grid-template-columns: repeat(2, 1fr); }
  /* v1.9.10 FIX: Tetap 2 kolom di mobile kecil (was 1fr) */
  .royale-fs-product-grid, 
  .royale-pr-product-grid, 
  .royale-archive-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  /* Adjust card text size for small mobile */
  .royale-archive-name {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .royale-archive-price {
    font-size: 14px !important;
  }
  .royale-archive-material {
    font-size: 10px !important;
  }
  .royale-archive-info {
    padding: 10px !important;
  }
  .royale-archive-wa {
    font-size: 12px !important;
    padding: 8px !important;
  }
  
  /* Spec tags lebih compact di mobile */
  .royale-spec-tag {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  
  /* Badge tetap visible */
  .royale-card-badge {
    font-size: 9px !important;
    padding: 3px 7px !important;
    top: 6px !important;
    left: 6px !important;
  }
}

/* ================================================================
   v1.6 — PAGINATION STYLES
   ================================================================ */

.royale-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px auto 20px;
  max-width: 1280px;
  padding: 0 20px;
}

.royale-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 2px solid var(--royale-border);
  border-radius: var(--royale-radius-md);
  color: var(--royale-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--royale-font-body);
}

.royale-pagination-btn:hover {
  border-color: var(--royale-gold);
  background: var(--royale-cream);
  color: var(--royale-navy);
  transform: translateY(-2px);
  box-shadow: var(--royale-shadow-sm);
}

.royale-pagination-active {
  background: var(--royale-navy) !important;
  color: var(--royale-gold) !important;
  border-color: var(--royale-navy) !important;
  cursor: default;
}

.royale-pagination-active:hover {
  background: var(--royale-navy) !important;
  color: var(--royale-gold) !important;
  transform: none;
}

.royale-pagination-prev,
.royale-pagination-next {
  font-weight: 700;
  background: linear-gradient(135deg, var(--royale-gold), var(--royale-gold-dark));
  color: var(--royale-navy) !important;
  border-color: var(--royale-gold) !important;
}

.royale-pagination-prev:hover,
.royale-pagination-next:hover {
  background: var(--royale-navy);
  color: var(--royale-gold) !important;
  border-color: var(--royale-navy) !important;
}

.royale-pagination-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: var(--royale-text-light);
  font-size: 18px;
  font-weight: 600;
}

.royale-pagination-info {
  text-align: center;
  margin-top: 16px;
  padding-bottom: 40px;
  color: var(--royale-text-light);
  font-size: 14px;
}

.royale-pagination-info strong {
  color: var(--royale-navy);
  font-weight: 700;
}

/* Mobile pagination */
@media (max-width: 768px) {
  .royale-pagination {
    gap: 4px;
  }
  
  .royale-pagination-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
  
  .royale-pagination-prev,
  .royale-pagination-next {
    padding: 0 12px;
    font-size: 13px;
  }
  
  .royale-pagination-info {
    font-size: 13px;
    padding: 0 20px 30px;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ================================================================
   v1.7 — LOGO DISPLAY & ADMIN MEDIA UPLOADER
   ================================================================ */

/* Logo display (frontend) */
.royale-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  gap: 0;
}

.royale-logo-image {
  display: block;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.royale-logo-image.royale-logo-header {
  max-height: 60px;
}

.royale-logo-image.royale-logo-footer {
  max-height: 70px;
  filter: brightness(1.1);
}

.royale-logo-text {
  font-family: var(--royale-font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  text-decoration: none !important;
}

.royale-logo-text.royale-logo-header {
  color: var(--royale-navy);
}

.royale-logo-text.royale-logo-footer {
  color: var(--royale-gold);
}

.royale-logo-link:hover .royale-logo-text.royale-logo-header {
  color: var(--royale-gold);
}

.royale-logo-link:hover .royale-logo-image {
  opacity: 0.85;
  transition: opacity 0.2s;
}

@media (max-width: 768px) {
  .royale-logo-image.royale-logo-header { max-height: 48px; }
  .royale-logo-text { font-size: 22px; }
}

/* ================================================================
   v1.8 — SUB-KATEGORI FILTER PILLS + SORT + BADGE + SPECS
   ================================================================ */

/* SUB-KATEGORI FILTER PILLS */
.royale-subcat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 24px;
  max-width: 1280px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--royale-radius-lg);
}

.royale-subcat-chip {
  padding: 10px 22px;
  background: #fff;
  border: 2px solid var(--royale-border);
  border-radius: 100px;
  color: var(--royale-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--royale-font-body);
}

.royale-subcat-chip:hover {
  border-color: var(--royale-gold);
  color: var(--royale-navy);
  transform: translateY(-1px);
}

.royale-subcat-chip.royale-subcat-active {
  background: var(--royale-navy);
  color: var(--royale-gold);
  border-color: var(--royale-navy);
  box-shadow: 0 4px 12px rgba(10, 31, 61, 0.25);
}

/* TOOLBAR: Sort + Display Count */
.royale-archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--royale-radius-md);
  border: 1px solid var(--royale-border);
  flex-wrap: wrap;
  gap: 16px;
}

.royale-archive-info-text {
  font-size: 14px;
  color: var(--royale-text);
}

.royale-archive-info-text strong {
  color: var(--royale-navy);
  font-weight: 700;
}

.royale-toolbar-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.royale-toolbar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--royale-text);
  font-weight: 500;
}

.royale-toolbar-label select {
  padding: 8px 12px;
  border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-md);
  background: #fff;
  font-size: 14px;
  color: var(--royale-navy);
  font-weight: 600;
  cursor: pointer;
}

.royale-toolbar-label select:hover {
  border-color: var(--royale-gold);
}

/* BADGE OVERLAY pada Product Card */
/* v1.9.8: FORCE always visible (no hover dependency) */
.royale-card-badge,
.royale-archive-card .royale-card-badge,
.royale-archive-image .royale-card-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  border-radius: 4px !important;
  z-index: 10 !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  transform: none !important;
  transition: none !important;
  pointer-events: none !important;
}

/* Override any hover rule that might hide badge */
.royale-archive-card:hover .royale-card-badge,
.royale-archive-card:not(:hover) .royale-card-badge,
.royale-archive-image:hover .royale-card-badge,
.royale-archive-image:not(:hover) .royale-card-badge {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

/* Ensure image container doesn't clip badge */
.royale-archive-image {
  position: relative !important;
  overflow: hidden;
}

.royale-card-badge-bestseller {
  background: var(--royale-gold);
  color: var(--royale-navy);
}

.royale-card-badge-baru {
  background: #00a32a;
  color: #fff;
}

.royale-card-badge-hemat {
  background: var(--royale-burgundy);
  color: #fff;
}

.royale-card-badge-premium {
  background: #6b46c1;
  color: #fff;
}

/* SPEC TAGS di Card */
.royale-archive-specs {
  display: flex;
  gap: 6px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.royale-spec-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--royale-cream);
  color: var(--royale-text-light);
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid var(--royale-border);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .royale-subcat-filter {
    padding: 12px;
    gap: 6px;
  }
  
  .royale-subcat-chip {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .royale-archive-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  
  .royale-toolbar-form {
    justify-content: space-between;
  }
  
  .royale-toolbar-label {
    font-size: 13px;
  }
  
  .royale-card-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* ================================================================
   ADMIN PRODUK TABLE (v1.8)
   ================================================================ */
.royale-produk-toolbar {
  background: #fff;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 16px 0;
}

.royale-produk-table {
  margin-top: 16px;
}

.royale-produk-table th {
  background: #f6f7f7;
  font-weight: 600;
}

.royale-produk-table tr:hover {
  background: #f9f9f9 !important;
}

.royale-produk-table td {
  padding: 12px 8px !important;
  vertical-align: middle;
}

.royale-quick-save-btn {
  font-weight: 600;
}

/* ================================================================
   v1.9.9 — DEFENSIVE CSS: Hide pagination from theme/Elementor
   yang mungkin nyangkut di archive page
   ================================================================ */

/* Hide WordPress default pagination, Elementor pagination,
   keep ONLY plugin pagination ([data-jsg-pagination="plugin"]) */
.royale-archive-section .nav-links:not([data-jsg-pagination]),
.royale-archive-section .page-numbers:not([data-jsg-pagination]),
.royale-archive-section .pagination:not([data-jsg-pagination]),
.royale-archive-section .wp-pagenavi:not([data-jsg-pagination]),
.royale-archive-section .elementor-pagination:not([data-jsg-pagination]),
body.tax-kategori-produk .nav-links:not([data-jsg-pagination]),
body.post-type-archive-produk .nav-links:not([data-jsg-pagination]),
body.tax-kategori-produk > .page-numbers,
body.tax-kategori-produk .wp-pagenavi,
.elementor-widget-archive-posts .elementor-pagination,
.elementor-widget-posts .elementor-pagination {
  display: none !important;
}

/* Plugin pagination tetap visible kalau valid */
.royale-pagination[data-jsg-pagination="plugin"] {
  display: flex !important;
}

/* ================================================================
   v1.9.11 — ABOUT IMAGE STYLES
   ================================================================ */

.royale-about-story-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.15);
  margin-bottom: 16px;
  background: var(--royale-cream);
}

.royale-about-story-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease;
}

.royale-about-story-image:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .royale-about-story-image-wrap {
    max-width: 90%;
    margin: 0 auto 16px;
  }
}

/* ================================================================
   v1.9.12 — CARA PESAN PAGE STYLES
   ================================================================ */

.royale-cp-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.royale-cp-hero {
  text-align: center;
  padding: 48px 20px;
}

.royale-cp-tagline {
  display: inline-block;
  background: var(--royale-cream);
  color: var(--royale-burgundy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.royale-cp-title {
  font-family: var(--royale-font-heading);
  font-size: 38px;
  color: var(--royale-navy);
  margin: 0 0 16px;
}

.royale-cp-subtitle {
  font-size: 17px;
  color: var(--royale-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 5 Steps Overview Cards */
.royale-cp-steps-overview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}

.royale-cp-step-card {
  background: #fff;
  border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-lg);
  padding: 28px 16px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.royale-cp-step-card:hover {
  border-color: var(--royale-gold);
  transform: translateY(-4px);
  box-shadow: var(--royale-shadow-md);
}

.royale-cp-step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--royale-navy);
  color: var(--royale-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.royale-cp-step-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.royale-cp-step-card h4 {
  font-family: var(--royale-font-heading);
  font-size: 16px;
  color: var(--royale-navy);
  margin: 0 0 8px;
}

.royale-cp-step-card p {
  font-size: 13px;
  color: var(--royale-text-light);
  line-height: 1.5;
  margin: 0;
}

/* Detail Steps */
.royale-cp-detail-heading {
  font-family: var(--royale-font-heading);
  font-size: 28px;
  color: var(--royale-navy);
  text-align: center;
  margin: 40px 0 32px;
}

.royale-cp-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.royale-cp-detail-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--royale-border);
  border-radius: var(--royale-radius-lg);
  padding: 28px;
}

.royale-cp-detail-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--royale-gold), var(--royale-gold-dark));
  color: var(--royale-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--royale-font-heading);
  font-size: 22px;
  font-weight: 700;
}

.royale-cp-detail-content h3 {
  font-family: var(--royale-font-heading);
  font-size: 20px;
  color: var(--royale-navy);
  margin: 0 0 12px;
}

.royale-cp-detail-content p {
  font-size: 15px;
  color: var(--royale-text);
  line-height: 1.7;
  margin: 0 0 12px;
}

/* CTA */
.royale-cp-cta {
  background: linear-gradient(135deg, var(--royale-navy), #0d2647);
  border-radius: var(--royale-radius-lg);
  padding: 48px 32px;
  text-align: center;
  margin: 48px 0;
}

.royale-cp-cta h3 {
  font-family: var(--royale-font-heading);
  font-size: 28px;
  color: #fff;
  margin: 0 0 12px;
}

.royale-cp-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.royale-cp-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--royale-gold), var(--royale-gold-dark));
  color: var(--royale-navy);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--royale-radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
}

.royale-cp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .royale-cp-steps-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .royale-cp-title { font-size: 28px; }
  .royale-cp-detail-item { flex-direction: column; gap: 12px; padding: 20px; }
  .royale-cp-detail-num { width: 40px; height: 40px; font-size: 18px; }
}

@media (max-width: 480px) {
  .royale-cp-steps-overview { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   v1.9.13 — HERO BANNER FULL IMAGE (text readability)
   ================================================================ */

/* Saat banner pakai background image, text dapat shadow untuk readability */
.royale-hero-banner[style*="background-image"] .royale-hero-banner-content h1,
.royale-hero-banner[style*="background-image"] .royale-hero-banner-content p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.royale-hero-banner[style*="background-image"] .royale-hero-tagline {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

/* ================================================================
   v1.9.15 — USP ICONS (Clickable, badge filter)
   ================================================================ */
.royale-usp-icons-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}
.royale-usp-icons-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--royale-cream, #FAF7F0);
  border-radius: var(--royale-radius-lg, 16px);
  padding: 28px 20px;
}
.royale-usp-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1;
  min-width: 100px;
  transition: transform 0.2s ease;
}
.royale-usp-clickable {
  cursor: pointer;
}
.royale-usp-clickable:hover {
  transform: translateY(-4px);
}
.royale-usp-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10,31,61,0.1);
}
.royale-usp-clickable:hover .royale-usp-icon-circle {
  box-shadow: 0 6px 18px rgba(201,169,97,0.3);
}
.royale-usp-icon-circle img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.royale-usp-emoji {
  font-size: 28px;
  line-height: 1;
}
.royale-usp-icon-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--royale-navy, #0A1F3D);
  text-align: center;
}
.royale-usp-clickable .royale-usp-icon-label {
  color: var(--royale-navy, #0A1F3D);
}
.royale-usp-clickable:hover .royale-usp-icon-label {
  color: var(--royale-gold-dark, #A8884A);
}
@media (max-width: 768px) {
  .royale-usp-icons-row {
    gap: 12px;
    padding: 20px 12px;
  }
  .royale-usp-icon-item { min-width: 80px; flex: 0 0 28%; }
  .royale-usp-icon-circle { width: 48px; height: 48px; }
  .royale-usp-emoji { font-size: 24px; }
  .royale-usp-icon-label { font-size: 11px; }
}
