/* 
   CSS Variables for Premium Dark Theme 
*/
:root {
    --bg-main: #09090b;
    /* Very dark background */
    --bg-secondary: #121214;
    --bg-card: #18181b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #27272a;

    --primary-gradient: linear-gradient(135deg, #7c3aed, #db2777);
    /* Purple to Pink */
    --kt-red: #ff0000;

    --glass-bg: rgba(24, 24, 27, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);

    --bg-section-alt: #f5f5f7;
    --accent-red: #f04452;
    --accent-red-soft: rgba(240, 68, 82, 0.06);
    --accent-blue: #3182f6;
    --accent-blue-soft: rgba(49, 130, 246, 0.08);

}

/* Preserve FontAwesome Icons */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"],
[class^="fa-"]::before,
[class*=" fa-"]::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    background-color: #ffffff;
    /* Page outer background is white */
    color: var(--text-main);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 90px;
}

.page-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Reusable Classes */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
}

.section-title strong {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.page_top_box {
    z-index: 999 !important;
}

.page_top_box.show {
    bottom: 125px !important;
}

/* Hero Image Section & Floating Chips */
.hero-image-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f7;
}

.hero-floating-chips-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.floating-chip {
    position: absolute;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
    padding: 12px 22px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-chip i {
    color: #f04452;
}

/* 칩 1: 256GB ➔ 512GB 무상 업그레이드 */
.banner-chip-1 {
    top: 54%;
    left: 6%;
    animation: floatAnim1 3.8s ease-in-out infinite alternate;
}

/* 칩 2: 워치9 / 탭A11+ 혜택가 제공 */
.banner-chip-2 {
    bottom: 18%;
    right: 6%;
    animation: floatAnim2 3.8s ease-in-out infinite alternate;
    animation-delay: 1.9s;
}

@keyframes floatAnim1 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes floatAnim2 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(10px);
    }
}

.floating-chip:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    background: #ffffff;
}

.hero-action-container {
    background-image: url('https://ai.esmplus.com/telepia00/img/reser_top_z8_bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;
    padding: 50px 20px 130px;
    width: 100%;
}

.hero-reserve-btn {
    background: linear-gradient(270deg, #7c3aed, #db2777, #7c3aed);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 24px 80px;
    font-size: 1.8rem;
    font-weight: 800;
    width: 100%;
    max-width: 800px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4);
    animation: shimmerGradient 3s ease infinite, pulseGlow 2s infinite;
    transition: all 0.3s ease;
}

.hero-reserve-btn .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.hero-reserve-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.hero-reserve-btn:hover .arrow {
    transform: translateX(5px);
}



.hero-picture {
    width: 100%;
    max-width: 1200px;
    display: block;
    margin: 0 auto;
}

.hero-full-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Trust Section (KT스토어 4대 정직 판매 원칙) */
.trust-section {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-section-alt, #f5f5f7);
    color: #1d1d1f;
    border-radius: 26px;
    margin-bottom: 30px;
}

.trust-section-header.center {
    text-align: center;
    margin-bottom: 50px;
}

.sub-heading {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-red, #f04452);
    background: var(--accent-red-soft, rgba(240, 68, 82, 0.06));
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.trust-section-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1.3;
}

.trust-section-title strong {
    color: var(--accent-red, #f04452);
}

.trust-section-subtitle {
    color: #515154;
    margin-top: 12px;
    font-size: 1.25rem;
}

.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.glass-card.trust-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 36px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.icon-red {
    background: var(--accent-red-soft, rgba(240, 68, 82, 0.06));
    color: var(--accent-red, #f04452);
}

.icon-blue {
    background: var(--accent-blue-soft, rgba(49, 130, 246, 0.08));
    color: var(--accent-blue, #3182f6);
}

.icon-cyan {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.icon-gold {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.trust-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.35;
}

.trust-card p {
    color: #515154;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: keep-all;
}

/* Light Theme Override */
.light-theme {
    background-color: #ffffff !important;
    color: #111111;
}

.light-theme .section-title {
    color: #111111;
}

.schedule-process-section {
    background-color: #ffffff;
}

.schedule-process-header {
    text-align: center;
    margin-bottom: 40px;
}

.schedule-process-header .section-subtitle {
    color: #666;
    margin-top: 10px;
}

.schedule-box {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.sc-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.schedule-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 15px 0;
}

.process-box {
    background: #fff;
    border: 2px solid #db2777;
    border-radius: 16px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-header {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.process-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.step-item {
    text-align: center;
    flex: 1;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.step-arrow {
    color: #cbd5e1;
    font-size: 1.5rem;
    font-weight: bold;
}


/* Removed old timeline light-theme styles */


/* Schedule & Process Section (Combined) */
.schedule-process-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Schedule Grid */
.schedule-wrapper {
    margin-bottom: 80px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.schedule-card {
    background: #ffffff;
    border: none;
    border-radius: 28px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card.highlight {
    background: #fdf2f8;
    box-shadow: 0 16px 40px rgba(219, 39, 119, 0.15);
}

.sc-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #4b5563;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.sc-badge.highlight-badge {
    background: var(--primary-gradient);
    color: #ffffff;
}

.sc-date {
    font-size: 1.2rem;
    font-weight: 900;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.26;
}

.sc-desc {
    font-size: 1.05rem;
    color: #4b5563;
    font-weight: 600;
}

.schedule-specs-section {
    background-color: #ffffff !important;
}

.schedule-wrapper {
    margin-bottom: 50px;
}

/* Specs Section & Device Cards (White Background Theme) */
.device-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.device-card {
    background: #ffffff !important;
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}



.device-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.device-image img {
    max-width: 100%;
    height: 230px;
    object-fit: contain;
}

.device-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.spec-card-header {
    margin-bottom: 8px;
}

.spec-card-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.spec-card-header .tagline {
    font-size: 0.88rem;
    color: #f04452;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.btn-spec-plus {
    background: #f04452;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.2s ease, background 0.2s ease;
    line-height: 1;
}

.btn-spec-plus i {
    margin-top: 1px;
    /* 시각적 중앙 정렬을 위한 미세 조정 */
}

.btn-spec-plus:hover {
    background: #d1323f;
}

.device-price {
    font-size: 0.95rem;
    color: #515154;
    margin-bottom: 0;
}

.device-price strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f04452;
}
.price-content-512{
	display: none;
}
.new-badge {
    background: #f04452;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 50px;
    vertical-align: middle;
}

/* Apple-style Natural & Elegant Color Swatches */
.apple-swatches-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 2px;
}

.swatches-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.swatch-circle {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.swatch-circle:hover,
.swatch-circle.active {
    border: 2px solid #f04452;
}

.swatch-circle.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.swatch-label {
    font-size: 0.8rem;
    color: #86868b;
    font-weight: 600;
}

.promo-text {
    display: inline-block;
    background: rgba(240, 68, 82, 0.06);
    color: #f04452;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(240, 68, 82, 0.2);
    width: 100%;
}

.feature-row {
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
    padding: 14px 16px;
    border-radius: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-row .label {
    font-size: 0.82rem;
    color: #86868b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-row .label i {
    color: #3182f6;
}

.feature-row .val {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 700;
    line-height: 1.45;
}

.notify-btn {
    width: 100%;
    margin-top: auto;
    background: #f04452;
    border-radius: 14px;
    color: #ffffff;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(240, 68, 82, 0.2);
}

.notify-btn:hover {
    background: #dc2638;
    box-shadow: 0 6px 16px rgba(240, 68, 82, 0.3);
    transform: translateY(-2px);
}



/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations (Intersection Observer) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 36px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    color: #1d1d1f;
}

.btn-close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    color: #86868b;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
}

.modal-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.modal-body {
    font-size: 0.92rem;
    color: #515154;
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-modal-confirm {
    width: 100%;
    background: #1d1d1f;
    color: #ffffff;
    padding: 14px;
    border-radius: 9999px;
    font-weight: 800;
    cursor: pointer;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-full-choice-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .choice-full-divider {
        margin: 0 auto;
    }

    .discounts-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        gap: 16px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}


/* Fixed Bottom Bar */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgb(9 9 11 / 74%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgb(219 39 119 / 28%);
    padding: 16px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 -30px 29px rgba(124, 58, 237, 0.15), 0 0px 20px rgba(219, 39, 119, 0.25);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(100%);

}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.fixed-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

.fixed-bottom-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fixed-bottom-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-gradient);
    padding: 3px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(219, 39, 119, 0.3);
}

.fixed-bottom-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.fixed-bottom-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fixed-kakao-btn {
    background: #FEE500;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kakao-icon {
    width: 20px;
    height: 20px;
}

.fixed-kakao-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1), 0 8px 20px rgba(254, 229, 0, 0.4);
    background: #FFD900;
}

.fixed-reserve-btn {
    background: linear-gradient(270deg, #7c3aed, #db2777, #7c3aed);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4);
    animation: shimmerGradient 3s ease infinite, pulseGlow 2s infinite;
}

@keyframes shimmerGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(219, 39, 119, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(219, 39, 119, 0);
    }
}

.fixed-reserve-btn .arrow {
    transition: transform 0.3s ease;
}

.fixed-reserve-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.fixed-reserve-btn:hover .arrow {
    transform: translateX(4px);
}





/* Utility Classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.mt-30 {
    margin-top: 30px !important;
}

/* Color Swatch Utilities */
.bg-lavender {
    background: #E6E6FA;
}

.bg-phantom-black {
    background: #2C2C2B;
}

.bg-silver-shadow {
    background: #D9D9D9;
}

.bg-mint {
    background: #A8E6CF;
}

.bg-cream {
    background: #F5F5DC;
}

.bg-ice-blue {
    background: #4682B4;
}

.bg-titanium-black {
    background: #111111;
}

.bg-titanium-gray {
    background: #808080;
}

/* Price Calculator Styles */
.price-calculator {
    margin: 15px 0;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #515154;
    margin-bottom: 2px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.price-row.discount {
    color: #3182f6;
}

.price-row.final {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d1d5db;
    font-size: 1.45rem;
    font-weight: 900;
    color: #f04452;
}



/* Mobile Adjustments for Device Cards */
@media (max-width: 768px) {
    .device-image {
        padding: 15px;
    }

    .device-image img {
        height: 130px;
    }
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(240, 68, 82, 0.25);
    font-size: 0.85rem;
    padding: 4px 12px;
}

/* Strikethrough style for original prices */
.price-row .p-val del {
    color: #a2a8b8;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .hero-action-container {
        background-image: url('https://ai.esmplus.com/telepia00/img/reser_top_z8_bg_m.jpg');
        padding: 0px 20px 40px;
    }

    .hero-reserve-btn {
        padding: 16px 40px;
        font-size: 1.2rem;
        border-radius: 30px;
    }
}

@media (max-width: 768px) {
    .device-image,
    .device-info {
        padding: 20px
    }

    .trust-section-header.center {
        margin-bottom: 8%
    }

    .sub-heading {
        font-size: 3.4vw;
    }

    .trust-section-title {
        font-size: 7.2vw;
    }

    .trust-section-subtitle {
        font-size: 3.6vw;
        margin-top: 2%;
        word-break: keep-all;
        line-height: 1.26;
    }

    .spec-card-header h3 {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .apple-swatches-wrapper {
        margin-bottom: 5px;
    }

    .device-price {
        margin-bottom: 0
    }

    .price-calculator {
        padding: 10px 16px;
        margin: 10px 0;
    }

    .price-row {
        margin-bottom: 0;
    }

    .price-row.final {
        font-size: 1.35rem;
        margin-top: 4px;
        padding-top: 4px;
    }

    .btn-spec-plus {
        width: 18px;
        height: 18px;
    }

    .device-cards {
        grid-template-columns: none;
        padding: 10px;
    }

    .image-badge {
        padding: 2px 8px;
        font-size: 0.75rem;
    }

    .modal-card {
        padding: 20px;
    }

    .hero-floating-chips-group .banner-chip-1 {
        top: 72%;
        left: 12px;
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .hero-floating-chips-group .banner-chip-2 {
        bottom: 41%;
        right: 12px;
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .trust-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .glass-card.trust-card {
        padding: 20px 12px;
    }

    .trust-card h3 {
        font-size: 0.95rem;
    }

    .trust-card p {
        font-size: 0.75rem;
    }


    .benefits-grid,
    .gift-items-grid,
    .benefit-full-choice-row {
        grid-template-columns: 1fr;
    }

    .benefits-section .glass-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
    }

    .storage-visual {
        gap: 10px;
    }

    .storage-box {
        padding: 16px 20px;
        font-size: 1.1rem;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }


    /* Disable hover effects and transitions on mobile */
    * {
        transition: none !important;
    }


}

@media (max-width: 768px) {
    .fixed-bottom-bar {
        padding: 12px 16px;
    }

    .fixed-bottom-content {
        flex-direction: column;
        gap: 10px;
    }

    .fixed-bottom-info {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .fixed-bottom-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
        align-self: center;
    }

    .fixed-bottom-title {
        font-size: 0.95rem;
    }

    .fixed-bottom-actions {
        width: 100%;
        gap: 8px;
    }

    .fixed-kakao-btn {
        flex: 1;
        justify-content: center;
        padding: 12px;
        font-size: 0.95rem;
    }

    .fixed-reserve-btn {
        flex: 2;
        justify-content: center;
        padding: 12px;
        font-size: 0.95rem;
    }

    body {
        padding-bottom: 110px;
        /* Space for stacked mobile bar */
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 380px) {
    .device-cards {
        padding: 0;
    }
}

/* Storage Tabs */
.storage-tabs {
    display: flex;
    background: #f1f1f3;
    border-radius: 13px;
    padding: 6px;
    margin-bottom: 16px;
    justify-content: center;
}

.storage-tab {
    flex: 1;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    transition: all 0.2s ease;
}

.storage-tab:hover {
    color: #111;
}

.storage-tab.active {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}