/* ===========================
   Base & Theme (scoped)
=========================== */
.accessories-page {
    /* :root 대신 래퍼에 변수 정의 */
    --bg: #0f1b29;
    --bg-soft: #101f33;
    --card: #12253b;
    --line: rgba(255, 255, 255, 0.08);
    --text: #e9f2ff;
    --muted: #c9d7ea;
    --primary: #83cff8;
    --primary-2: #4cc9f0;
    --accent: #9be1ff35;
    --radius: 16px;
    --shadow: 0 6px 28px rgba(0, 0, 0, 0.24);

    /* body 대신 래퍼 배경/텍스트 컬러 적용 */
    background: linear-gradient(180deg, var(--bg) 0%, #08111c 100%);
    color: var(--text);
}

/* 래퍼가 전체 너비 쓰도록(혹시 모를 상위 레이아웃 제약 대비) */
.accessories-page {
    display: block;
    width: 100%;
}

/* ===========================
   Sections & Header (scoped)
=========================== */
.accessories-page .page-header {
    padding: 40px;
    background:
        radial-gradient(1200px 400px at 20% -10%, var(--accent), transparent),
        radial-gradient(1000px 400px at 100% 0%, #0f415015, transparent);
    border-bottom: 1px solid var(--line);
}

.accessories-page .page-header .inner {
    max-width: 1100px;
    margin: 0 auto;
}

.accessories-page .page-header p {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: .2px;
}

.accessories-page .page-header .subtitle {
    font-size: clamp(20px, 2vw, 30px);
    margin-top: 10px;
    color: var(--muted);
    line-height: 30px;
}

.accessories-page .section {
    padding: 56px 20px;
}

.accessories-page .section-alt {
    background: linear-gradient(180deg, transparent, #0c1727 60%, transparent);
}

.accessories-page .section-head {
    max-width: 1100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 10px;
}

.accessories-page .section-head h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
}

.accessories-page .section-desc {
    color: var(--muted);
    font-size: 14px;
}

/* ===========================
   Grid & Cards (scoped)
=========================== */
.accessories-page .grid {
    --col: 3;
    display: grid;
    grid-template-columns: repeat(var(--col), minmax(0, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 1024px) {
    .accessories-page .grid {
        --col: 2;
    }
}

@media (max-width: 640px) {
    .accessories-page .grid {
        --col: 1;
    }
}

.accessories-page .card {
    background: linear-gradient(180deg, var(--card), #0f2137);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: translateY(6px);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;

    /* 나타나는 애니메이션 */
    opacity: 0;
    translate: 0 8px;
    animation: accessories-rise .55s ease forwards;
}

.accessories-page .card:hover {
    transform: translateY(0);
    border-color: rgba(131, 207, 248, 0.35);
    box-shadow: 0 10px 34px rgba(4, 137, 204, .25);
}

.accessories-page .card:nth-child(2) {
    animation-delay: .05s;
}

.accessories-page .card:nth-child(3) {
    animation-delay: .1s;
}

@keyframes accessories-rise {
    to {
        opacity: 1;
        translate: 0 0;
    }
}

/* ===========================
   Accessories (부속품) (scoped)
=========================== */
.accessories-page .accessories-grid {
    align-items: stretch;


}

.accessories-page .accessory .figure {
    aspect-ratio: 4/3;
    background: #aabcd3;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
}

.accessories-page .accessory .figure img {
    width: 50%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
    transition: transform .35s ease;
}

.accessories-page .accessory:hover .figure img {
    transform: scale(1.03);
}

.accessories-page .accessory .meta {
    padding: 16px;
}

.accessories-page .accessory .name {
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 6px;
}

.accessories-page .accessory .desc {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

/* ===========================
   Features (특장점) (scoped)
=========================== */
.accessories-page .features-grid {
    align-items: stretch;
}

.accessories-page .feature .figure {
    height: 160px;
    background: #0b1a2b;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
}

.accessories-page .feature .figure img {
    width: 78%;
    height: auto;
    object-fit: contain;
}

.accessories-page .feature .meta {
    padding: 18px;
}

.accessories-page .feature h3 {
    font-size: 25px;
    margin: 0 0 8px;
    font-weight: 800;
}

.accessories-page .feature p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

/* ===========================
   CTA (scoped)
=========================== */
.accessories-page .cta {
    text-align: center;
}

.accessories-page .cta-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 20px 40px;
    background: linear-gradient(180deg, #0f2137, #0b1a2b);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
}

.accessories-page .cta h2 {
    font-size: clamp(20px, 2.1vw, 28px);
    margin-bottom: 8px;
}

.accessories-page .cta p {
    color: var(--muted);
    margin-bottom: 16px;
}

.accessories-page .btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .2px;
    text-decoration: none;
    border: 1px solid rgba(131, 207, 248, .28);
    background: linear-gradient(180deg, var(--primary-2), #2da9db);
    color: #031523;
    box-shadow: 0 6px 22px rgba(76, 201, 240, .35);
    transition: transform .15s ease, box-shadow .2s ease;
}

.accessories-page .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(76, 201, 240, .45);
}

/* ===========================
   Utilities (scoped)
=========================== */
.accessories-page .figure {
    position: relative;
}

.accessories-page .figure::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 24%;
    background: linear-gradient(180deg, rgba(118, 129, 135, .18), transparent);
    pointer-events: none;
}