﻿ /* ================================================================
   外層 Section
   ================================================================ */
.sp-section {background-image: radial-gradient(at 0% 0%, #f07d4ccc 0px, transparent 50%), radial-gradient(at 100% 0%, rgb(90 78 160 / 78%) 6px, transparent 50%), radial-gradient(at 100% 100%, #1cb0c1b8 6px, transparent 50%), radial-gradient(at 0% 100%, #ffcf39bf 6px, transparent 50%);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  /*background-color: #ef7d1a;*/
  color: #fff;
  overflow: hidden;
}
 
.sp-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.20;
  filter: invert(1);
  /* pattern-dots 由 Study-Plan.css 定義，保留 class */
}
 
.sp-container {
  width: 100%;
  max-width: 1440px;
  margin:0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}
 
 
/* ================================================================
   Tab 列
   ================================================================ */
 
.sp-tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
 
/* plan-tab  共用基底 */
.sp-tab {
  padding: 0.7rem 1.25rem;
  font-size: 1.7rem;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(.4,0,.2,1);
}
 
.sp-tab-active {
  background-color: #f07d4c;
  color: #FFF;
  box-shadow: 0 0 15px rgb(255 255 255);
}
.plan-tab-btn.active {
  background-color: #1a2b4b;
  color: white;
  border-color: #1a2b4b;
}
 
.sp-tab-inactive {
  background-color: #fff;
  color: #f07d4c;
}
.sp-tab-inactive:hover {
  background-color: var(--white-40);
}
 
 
/* ================================================================
   標語區
   ================================================================ */
.sp-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 20;
}
 
.sp-headline-sub {
  color: var(--white-50);
  font-size: 1.5rem;
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
}
 
.sp-headline-main {
  color: #1a2e5a;
  font-style: italic;
  font-size: 4.5rem;
  line-height: 1;
}
@media (max-width: 768px) {
  .sp-headline-main {  font-size: 2.5rem;}
	.sp-tab {padding: 0.3rem 1.0rem;font-size: 1.0rem;}
	.sp-tab-bar {gap: 0.5rem;margin-bottom: 0.0rem;}
} 

.sp-sub-tags {
  margin-top: 1.0rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}
 
.sp-sub-tag {
  color: #4e679f;
  font-size: 1.5rem;
  font-weight: 600;
  /* sub-text-glow 由 Study-Plan.css 定義，保留 class */
}
@media (max-width: 768px) {
	.sp-sub-tag {font-size: 1.1rem;line-height: 1.0rem;}
	.sp-sub-tags {gap: 0.5rem;}
}
/* 分隔線 */
.sp-sub-sep {
  color: var(--white-100);
  font-size: 0.875rem;
}
 
.sp-divider {
  width: 70%;
  height: 0.25rem;
  background: linear-gradient(to right, transparent, rgba(255,555,255,0.80), transparent);
  margin-top: 0.8rem;
}
 
/* @media (min-width: 768px) {
  .sp-sub-tags { gap: 1rem; }
} */
 
/* ================================================================
   Slide 容器
   ================================================================ */
 
.sp-slides-wrap {
  background-color: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  overflow: hidden;
  color: var(--gdNavy);
  position: relative;
  height: auto;
}
 
.plan-slide {
  display: none;
  flex-direction: column;
  width: 100%;
  position: relative;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.plan-slide.active {
  display: flex;
  opacity: 1;
}


@media (min-width: 1024px) {
  .plan-slide { flex-direction: row; }
} 
 
/* ================================================================
   Slide 左欄
   ================================================================ */
 
.sp-slide-left {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .sp-slide-left {
    width: 70%;
    padding: 2.5rem;
  }
}
 
.sp-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
.sp-slide-header { margin-bottom: 1.0rem;}
.relative {gap: 1rem !important;}
.sp-slide-title {font-size: 1.5rem;line-height: 1.9rem;} 
} 
 
.sp-slide-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 900;
  color: var(--gdNavy);
}
/* 標題紅字 */
.sp-slide-title-accent {
  color: var(--gdRed);
}
 
/* 標題 icon 框 */
.sp-slide-icon {
  color: #f07d4c;
  background-color: #f07d4c26;
  padding: 0.75rem;
  border-radius: 1rem;
}
 
/* 律師/司法icon */
.sp-slide-icon-purple {
  color: #7c3aed;
  background-color: rgba(124, 58, 237, 0.1);
  padding: 0.75rem;
  border-radius: 1rem;
}
 
/* lucide icon */
.sp-icon-lg {
  width: 2rem;
  height: 2rem;
}
 
 
/* ================================================================
   Timeline 容器
   ================================================================ */
 
/* plan-timeline-container（由 Study-Plan.css 提供定位基準，保留 class）
   此處補上 overflow 控制 */
.plan-timeline-container {
  position: relative;
}
 
/* 橫線 Desktop：hidden sm:block absolute left-0 right-0 top-[31px] h-[2px] bg-gdNavy/10 */
.sp-tl-line-h {
  display: none;
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background-color: var(--gdNavy-10);
}
 
/* 橫線 top 位置變體 */
.sp-tl-line-h-top-31 { top: 31px; }
.sp-tl-line-h-top-45 { top: 45px; }
 
/* 直線 Mobile：sm:hidden absolute left-[7px] top-8 bottom-0 w-[2px] bg-gdNavy/10 */
.sp-tl-line-v {
  display: block;
  position: absolute;
  left: 7px;
  top: 2rem;
  bottom: 0;
  width: 2px;
  background-color: var(--gdNavy-10);
}
@media (min-width: 640px) {
  .sp-tl-line-h { display: block; }
  .sp-tl-line-v { display: none; }
}
 
 
/* ================================================================
   Timeline 步驟
   ================================================================ */
 
/* flex-1 relative pl-8 sm:pl-0 group */
.sp-step {
  flex: 1;
  position: relative;
  padding-left: 2rem;
}
@media (max-width: 768px) {
.sp-step div { margin-top: 0.5rem;}
.mt-8 {margin-top: 1rem;}
.gap-8 {gap: 1rem;}
} 
/* w-auto relative pl-8 sm:pl-0 group（固定寬版本） */
.sp-step-auto {
  width: auto;
  position: relative;
  padding-left: 2rem;
}

@media (min-width: 640px) {
  .sp-step { padding-left: 0; }
  .sp-step-auto { padding-left: 0; }
}
 
/* 圓點：absolute left-[-1px] sm:left-0 top-[5px] sm:top-[23px]
         w-4 h-4 rounded-full border-[3px] border-white bg-gdNavy/30 z-10
         group-hover:bg-gdGold group-hover:shadow-[0_0_10px_rgba(234,179,8,0.5)]
         transition-all duration-300 */
.sp-step-dot {
  position: absolute;
  left: -1px;
  top: 5px;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 3px solid #fff;
  background-color: var(--gdNavy-30);
  z-index: 10;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
}
.sp-step:hover .sp-step-dot,
.sp-step-auto:hover .sp-step-dot {
  background-color: var(--gdGold);
  box-shadow: 0 0 10px rgba(234,179,8,0.5);
}
 
/* 圓點 top-[38px]（司法/三四等版） */
.sp-step-dot-38 {
  top: 5px;
}
 
/* 月份標題：text-[14px] font-bold text-gdNavy/40
             group-hover:text-gdGold uppercase tracking-widest mb-4 sm:mb-8 */
.sp-step-month {
  font-size: 14px;
  font-weight: 700;
  color: var(--gdNavy-40);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  transition: color 300ms;
}

@media (min-width: 640px) {
  .sp-step-dot {
    left: 0;
    top: 23px;
  }
  .sp-step-dot-38 { top: 38px; }
  .sp-step-month { margin-bottom: 2rem; }
}

.sp-step:hover .sp-step-month,
.sp-step-auto:hover .sp-step-month {
  color: var(--gdGold);
}
 
/* 月份標題 font-black 版（研究所） */
.sp-step-month-black {
  font-weight: 900;
}
 
/* 步驟連結：text-lg font-bold text-gdNavy leading-tight mt-1 */
.sp-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gdNavy);
  line-height: 1.25;
  margin-top: 0.25rem;
}
 
a {
  display: inline-block; /* 或是 display: inline-flex; */
}
/* 連結底線動畫 */
.sp-link {
  display: inline; 
  text-decoration: none;
  color: inherit;
  
  /* 用背景漸變模擬底線 */
  background-image: linear-gradient(var(--gdGold), var(--gdGold));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px; /* 預設底線寬度為 0 */
  transition: background-size 300ms cubic-bezier(.4,0,.2,1), color 300ms;
  padding-bottom: 2px; /* 控制底線與文字的間距 */
}

/* 當 Hover 時讓底線長度變為 100% */
.sp-link:hover,
.sp-step:hover .sp-link,
.sp-step-auto:hover .sp-link {
  color: var(--gdGold);
  background-size: 100% 2px; 
}

/*
.sp-link {
  position: relative;
  display: inline-block;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  color: inherit;
}
.sp-link:hover,
.sp-step:hover .sp-link,
.sp-step-auto:hover .sp-link {
  color: var(--gdGold);
}
*/
/* 連結底線 span：absolute left-0 bottom-0 w-0 h-[2px] bg-gdGold
                  transition-all duration-300 group-hover:w-full */
/*
.sp-link-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--gdGold);
  transition: all 300ms cubic-bezier(.4,0,.2,1);
}
.sp-step:hover .sp-link-underline,
.sp-step-auto:hover .sp-link-underline {
  width: 100%;
}
*/
 
/* link-underline class（同效果，搭配 JS） */
.link-underline {
  position: relative;
  text-decoration: none;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background-color: var(--gdGold);
  transition: width 300ms;
}
.link-underline:hover::after { width: 100%; }
 
/* 連結底線動畫：針對 h4 */
/*
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--gdGold);
  transition: width 0.3s ease;
}
.link-underline:hover::after {
  width: 100%;
}
*/





/* 說明文字：space-y-1 mt-2  →  子項目用 */
.sp-step-notes {
  margin-top: 0.5rem;
}
.sp-step-notes > * + * {
  margin-top: 0.25rem;
}
 
/* text-gdNavy/60 text-sm */
.sp-note {
  color: var(--gdNavy-60);
  font-size: 0.875rem;
}
 
 
/* ================================================================
   Arrow-box（研究所 slide 箭頭框）
   ================================================================ */
.arrow-box {
  background-color: var(--gdNavy);
  padding: 0.75rem;
  padding-right: 2rem;
  transition: background-color 300ms cubic-bezier(.4,0,.2,1);
/* 箭頭造型：使用 clip-path 製作向右延伸的箭頭 */
  clip-path: polygon(0% 15%, /* 矩形左上 */ 
      80% 15%, /* 矩形右上 */ 
      80% 0%, /* 箭頭頂端 */ 
      100% 50%, /* 箭頭尖端 */ 
      80% 100%, /* 箭頭底端 */ 
      80% 85%, /* 矩形右下 */ 
      0% 85% /* 矩形左下 */ 
  );
  transition: all 0.3s ease;
}

.arrow-box:hover,
.solid-box:hover {
  background-color: var(--gdGold);
}

/* 長條型 */
.solid-box {
  clip-path: polygon(0% 0%, /* 左上 */ 
      100% 0%, /* 右上 */ 
      100% 100%, /* 右下 */ 
      0% 100% /* 左下 */
    );
  transition: all 0.3s ease;
  background-color: var(--gdNavy);
  padding: 0.75rem;
  padding-right: 2rem;
  transition: background-color 300ms cubic-bezier(.4, 0, .2, 1);
}

.sp-arrow-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

/* 響應式箭頭微調 */
@media (max-width: 640px) {
  .arrow-box {
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
  }
}


/* 研究所內部頁籤 */
.sp-tab-logic {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* 預設隱藏所有內容區塊 */
/* 2. 預設隱藏左右兩區的所有切換內容 */
.sp-slide-left .sp-content-section,
.sp-slide-right .sp-content-law,
.sp-slide-right .sp-content-biz {
     display: none !important;
}
/* 3. 當選取「法律」時，顯示左區與右區的法律內容 */
        #sp-tab-law:checked ~ .sp-slide-left .sp-content-law {
            display: flex !important; /* 左側設定 flex 佈局 */
        }
        #sp-tab-law:checked ~ .sp-slide-right .sp-content-law {
            display: block !important; /* 右側一般 block 顯示 */
        }

/* 4. 當選取「商管/理工」時，顯示左區與右區的商管/理工內容 */
        #sp-tab-biz:checked ~ .sp-slide-left .sp-content-biz {
            display: flex !important;
        }
        #sp-tab-biz:checked ~ .sp-slide-right .sp-content-biz {
            display: block !important;
        }

/* 預設狀態 (未選取)：gdRed 淡色 */
.sp-tab-btn-link {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--sp-gdRed-faded);
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  display: inline-block;
}
/* 滑鼠移入未選取標籤時稍微加深 */
.sp-tab-btn-link:hover {
  color: var(--gdRed);
  opacity: 0.8;
}
/* 當對應的 Radio 被選取時的樣式強化 */
#sp-tab-law:checked ~ .sp-slide-left .sp-label-law, 
#sp-tab-biz:checked ~ .sp-slide-left .sp-label-biz {
  color: var(--gdRed);
  opacity: 1;
  border-bottom: 3px solid var(--gdRed) !important;
}



/* ================================================================
   卡片格（高普特考 Slide 1 的雙欄卡片）
   ================================================================ */
 
.sp-card-wrap {
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}
 
.sp-card-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sp-card-row { flex-direction: row; }
}
 
.sp-card {
  flex: 1;
  background-color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
  border: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
}
.sp-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}
 
.sp-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
 
.sp-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}
 
.sp-card-footer {
  margin-top: auto;
}
 
.sp-card-link {
  margin-left: 1.75rem;
  display: inline-flex;
  align-items: center;
  color: #4b5563;
  font-weight: 500;
  text-decoration: none;
  transition: color 300ms cubic-bezier(.4,0,.2,1);
}
.sp-card-link:hover,
.sp-card:hover .sp-card-link {
  color: var(--gdGold);
}
 
.sp-card-arrow {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  transition: transform 150ms cubic-bezier(.4,0,.2,1);
}
.sp-card:hover .sp-card-arrow {
  transform: translateX(0.25rem);
}
 
 
/* ================================================================
   子清單（步驟內巢狀清單）
   ================================================================ */
 
.sp-sub-row {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  gap: 1rem;
}
 
.sp-sub-row-md {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}
@media (min-width: 768px) {
  .sp-sub-row-md {
    flex-direction: row;
    gap: 1rem;
  }
}
 
/* w-auto（子欄固定寬） */
.sp-sub-col { width: auto; }
 
/* flex-1（子欄自動延伸） */
.sp-sub-col-flex { flex: 1; }
 
.sp-sub-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gdNavy);
  line-height: 1.25;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  transition: color 300ms cubic-bezier(.4,0,.2,1);
}
.sp-step:hover .sp-sub-heading,
.sp-step-auto:hover .sp-sub-heading {
  color: var(--gdGold);
}
 
.sp-sub-arrow {
  height: 1rem;
  width: 1.75rem;
  margin-left: 0.5rem;
  color: var(--gdNavy-40);
  transition: color 300ms;
}
.sp-step:hover .sp-sub-arrow,
.sp-step-auto:hover .sp-sub-arrow {
  color: var(--gdGold-60);
}
 
/* space-y-2 */
.sp-list > * + * { margin-top: 0.5rem; }
 
/* 清單 li */
.sp-list-item {
  color: var(--gdNavy-60);
  font-size: 0.875rem;
}
 
/* 清單連結 */
.sp-list-link {
  font-weight: 500;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
  color: inherit;
}
.sp-list-link:hover {
  color: var(--gdGold);
  text-decoration: underline;
  text-decoration-color: var(--gdGold);
  text-underline-offset: 4px;
}
 
/* mr-2（前置符號間距） */
.sp-bullet { margin-right: 0.5rem; }
 

/* ── More 按鈕 ── */
.sp-more-row {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 2rem;
}
 
.sp-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gdNavy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  text-decoration: none;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
}
.sp-more-btn:hover {
  background-color: #000;
  transform: translateX(0.5rem);
}
 
.sp-more-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 150ms cubic-bezier(.4,0,.2,1);
}
.sp-more-btn:hover .sp-more-icon {
  transform: translateX(0.25rem);
}
 
/* ================================================================
   Slide 右欄
   ================================================================ */
.sp-slide-right {
  width: 100%;
  background-color: var(--gdNavy-05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gdNavy-10);
}
@media (min-width: 1024px) {
  .sp-slide-right {
    width: 30%;
    padding: 2.5rem;
    border-top: none;
    border-left: 1px solid var(--gdNavy-10);
  }
}

.sp-right-inner {
  position: relative;
  z-index: 10;
}

.sp-right-inner-pt {
  position: relative;
  z-index: 10;
  padding-top: 1rem;
}

.sp-badge {
  color: #c026d3;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid #c026d3;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-block;
}
 
.sp-right-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.75rem;
  line-height: 1.75rem;
}
 
/* flex（雙欄 ul） */
.sp-right-lists { display: flex; }
 
/* mt-4 space-y-2.5 lg:w-1/2 */
.sp-right-list {
  margin-top: 1rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .sp-right-list { width: 50%; }
  .sp-right-list-full { width: auto; }
}
.sp-right-list > * + * { margin-top: 0.625rem; }
 
/* w-auto（全寬 ul） */
.sp-right-list-full { width: auto; margin-top: 1rem;}
.sp-right-list-full > * + * { margin-top: 0.625rem; }
 
.sp-right-list-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gdNavy-70);
  font-weight: 500;
}
 
/* check icon */
.sp-check-icon {
  width: 1rem;
  height: 1rem;
  color: #14b8a6;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* more 區域 */
.sp-right-more {
    text-align: right;
    margin-top: 16px;
}

/*  more 超連結：平時低調淡灰藍，懸停時加深與微幅向下暗示 */
.sp-right-more a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8; /* 半透明低飽和度灰藍色，自然融入背景 */
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out; /* 優雅的漸變過渡效果 */
}

/* 搭配微小箭頭圖示 (透過 CSS 偽元素，免動 HTML) */
.sp-right-more a::after {
    content: "→";
    font-size: 11px;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

/* 滑鼠懸停（Hover）時的微幅反饋 */
.sp-right-more a:hover {
    color: #4a5e7a; /* 顏色稍稍加深 */
}

/* 懸停時，小箭頭微微向下平移，表達展開暗示 */
.sp-right-more a:hover::after {
    transform: translateY(2px);
}
 
/* ================================================================
   購買區塊
   ================================================================ */
.sp-buy-wrap {
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.sp-price-label {
  color: var(--gdRed);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
 
.sp-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
 
.sp-price {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--gdRed);
}

.sp-price-orig {
  color: var(--gdNavy-40);
  text-decoration: line-through;

  margin-left: 0.5rem;
  font-size: 0.875rem;
}
 
.sp-buy-btn {
  background-color: var(--gdNavy);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 150ms cubic-bezier(.4,0,.2,1);
}
.sp-buy-btn:hover {
  background-color: var(--gdNavy-90);
}
 
.sp-cart-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}
 
 
/* ================================================================
   廣告圖片區
   ================================================================ */
 .sp-ad-banner {
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.sp-ad-banner img, .sp-ad-wrap img{    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

.sp-ad-wrap {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gdNavy-10);
  display: flex;
  justify-content: center;
}
 
.sp-ad-wrap-top {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gdNavy-10);
  display: flex;
  justify-content: center;
}
 
.ad-img-hidden {
  width: auto;
  height: 80px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
  display: none; /* 由 JS 控制顯示 */
}
.ad-img-show {
  display: block !important;
  opacity: 1;
}
/*
.ad-img-hidden { opacity: 0; transition: opacity 0.3s ease-in-out; }
.ad-img-show { opacity: 1; }*/

