/*
Theme Name: Astra Child
Theme URI: https://auranails.fr
Description: Child theme for Astra – AURA Nails
Author: AURA Nails
Author URI: https://auranails.fr
Template: astra
Version: 1.0
*/

/* =========================================================
   AURA Nails – Global base
   （目前不做任何全局改动，留空是正确的）
   所有页面级样式、预约页样式都不写在这里
========================================================= */


/* =========================================================
   AURA Nails – Footer (Black & Gold)
   Child Theme Safe / Mobile First
   ⚠️ 对应 footer.php 中的 class 名
========================================================= */

/* Footer 主容器 */
.aura-footer{
  background: #12100E;
  color: #E8D18A;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  padding: 18px 14px;
  line-height: 1.8;
}

/* 链接导航行 */
.aura-footer .aura-footer__links{
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

/* 链接样式 */
.aura-footer .aura-footer__links a{
  color: #E8D18A;
  text-decoration: none;
}

.aura-footer .aura-footer__links a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 分隔点 ·（刻意做得很紧，偏奢侈感） */
.aura-footer .aura-footer__dot{
  display: inline-block;
  margin: 0 0px;   /* 👈 控制“·”间距（更小 = 更高级） */
  opacity: 0.75;
}

/* Copyright 行 */
.aura-footer .aura-footer__copy{
  font-size: 13px;
  opacity: 0.95;
}


/* =========================================================
   Mobile optimization (Footer)
   手机优先，主要客群友好
========================================================= */
@media (max-width: 480px){
  .aura-footer{
    padding: 16px 12px;
  }

  .aura-footer .aura-footer__links{
    font-size: 13px;
    line-height: 1.7;
  }

  .aura-footer .aura-footer__copy{
    font-size: 12px;
  }
}


/* =========================================================
   AURA Nails – Legal Pages (Black & Gold / Clean)
========================================================= */
.aura-legal-page{
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 14px 44px;
  font-family: "Times New Roman", Times, serif;
  color: #12100E;
}

.aura-legal-page h1{
  text-align:center;
  text-transform: none;
  font-size: 22px;
  margin: 10px 0 18px;
  color:#E8D18A;
}

.aura-legal-card{
  background:#FAF9F6;
  border:2px solid rgba(232,209,138,0.9);
  border-radius: 18px;
  padding: 18px 18px 22px;
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
  line-height: 1.75;
  font-size: 15px;
}

.aura-legal-card h2{
  font-size: 16px;
  margin: 16px 0 8px;
  color:#111;
  letter-spacing:.02em;
}

.aura-legal-card a{
  color:#b58b2b;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.aura-legal-card ul{
  margin: 8px 0 10px 18px;
}

/* =========================================================
   Legal pages – Mobile width optimization (关键修复：手机端更宽)
========================================================= */

/* 让标题永远居中、正文永远左对齐（Astra 兼容） */
.aura-legal-page{ text-align:center; }
.aura-legal-card{ text-align:left; }

@media (max-width: 768px){

  /* 外层容器：减少左右留白，让卡片更宽 */
  .aura-legal-page{
    padding: 18px 8px 28px;
  }

  /* 卡片：减少内边距，内容区更大 */
  .aura-legal-card{
    padding: 14px 12px 16px;
    border-radius: 14px;
    font-size: 14px;
  }

  /* 标题字号：同时照顾 h1 和 legal-title */
  .aura-legal-page h1,
  .aura-legal-page .legal-title{
    font-size: 20px;
  }
}

/* 更小屏（≤480px）再紧凑一点 */
@media (max-width: 480px){
  .aura-legal-page{
    padding: 16px 6px 24px;
  }
  .aura-legal-card{
    padding: 13px 11px 15px;
    font-size: 14px;
  }
}

/* =========================================================
   Legal pages – H1 single line (Astra safe)
========================================================= */
.legal-title{
  white-space: nowrap !important;
  display: inline-block !important;
  max-width: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* 手机端允许自动换行 */
@media (max-width: 768px){
  .legal-title{
    white-space: normal !important;
    display: block !important;
    text-align: center !important;
  }
}