/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --light: #f5f5f5;
    --white: #ffffff;
    --dark: #0f0f0f;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-image img {
    max-height: 500px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ===== CUSTOMIZER SECTION ===== */
.customizer {
    padding: 5rem 2rem;
    background: var(--light);
}

.customizer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.customizer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.customizer-preview {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preview-tabs {
    display: flex;
    gap: 0.5rem;
}

.preview-tab {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.preview-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.canvas-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.canvas-container canvas {
    width: 100%;
    border-radius: 8px;
}

.canvas-container #customizerCanvas {
    touch-action: none;
    cursor: grab;
}

.canvas-container .canvas-drag-hint {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
}

.customizer-controls {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.customizer-controls h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.color-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.color-option:hover,
.color-option.active {
    border-color: var(--accent);
    transform: scale(1.15);
}

/* ===== CUSTOMIZER UX Enhancements ===== */
.customizer-controls select,
.customizer-controls input[type="text"],
.customizer-controls textarea {
    background: rgba(255,255,255,0.9);
}

.customizer-controls select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--accent) 50%),
        linear-gradient(135deg, var(--accent) 50%, transparent 50%),
        linear-gradient(to right, var(--border), var(--border));
    background-position:
        calc(100% - 18px) calc(1em + 2px),
        calc(100% - 12px) calc(1em + 2px),
        calc(100% - 40px) 0.55em;
    background-size:
        6px 6px,
        6px 6px,
        1px 1.7em;
    background-repeat: no-repeat;
    padding-right: 2.2rem;
}

#removeLogoBtn {
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.25);
}

.preview-tab.active {
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.25);
}

/* ===== Customizer: Design Quote Modal ===== */
.design-quote-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.design-quote-modal {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.design-quote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.design-quote-close {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.design-quote-body {
    padding: 1.1rem 1.2rem;
    background: var(--white);
}

.design-quote-field {
    margin-bottom: 0.9rem;
}

.design-quote-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.design-quote-field input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: var(--dark);
}

.design-quote-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: #fafafa;
    border-top: 1px solid var(--border);
}

.font-size-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
}

.font-size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 5rem 2rem;
}

.products .container {
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.product-info .product-code {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.product-info .product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-info .view-btn {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.product-info .view-btn:hover {
    gap: 0.6rem;
}

.product-colors {
    display: flex;
    gap: 0.3rem;
}

.product-colors span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

/* ===== CATEGORY FILTERS ===== */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cat-filter {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cat-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cat-filter.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.products-loading p {
    color: var(--gray);
}

/* ===== SERVICES / FEATURES ===== */
.features {
    padding: 5rem 2rem;
    background: var(--light);
}

.features .container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== CONTACT / FOOTER ===== */
.contact {
    padding: 5rem 2rem;
    background: var(--primary);
    color: var(--white);
}

.contact .container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.contact-item .icon {
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
}

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 1.25rem 2rem 1.5rem;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.footer-kcode {
    font-style: italic;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: #7eb8d6;
    text-shadow:
        0 0 1px #c9713a,
        1px 0 0 rgba(201, 113, 58, 0.85),
        -1px 0 0 rgba(201, 113, 58, 0.85),
        0 1px 0 rgba(201, 113, 58, 0.85),
        0 -1px 0 rgba(201, 113, 58, 0.85);
    flex-shrink: 0;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    text-align: right;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.4;
}

.footer-brand-teks {
    color: var(--accent);
    font-weight: 700;
}

.admin-footer-link {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    transition: all 0.3s;
    text-decoration: none;
}
.admin-footer-link:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* ===== CUSTOMIZER CTA SECTION ===== */
.customizer-cta {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.customizer-cta .container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-text h2 i {
    color: var(--accent);
}

.cta-text p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-icon-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.cta-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.cta-icon-item:hover {
    background: rgba(233, 69, 96, 0.15);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.cta-icon-item i {
    font-size: 2.5rem;
    color: var(--accent);
}

.cta-icon-item span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* ===== PRODUCT CARD SLIDER ===== */
.card-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.card-slide {
    min-width: 100%;
    height: 100%;
}

.card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 2;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
    cursor: pointer;
}

.card-dot.active {
    background: var(--accent);
    width: 14px;
    border-radius: 3px;
}

/* ===== HOMEPAGE CAROUSEL (References / Reviews) ===== */
.carousel-scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    padding-bottom: 6px; /* snap breathing room */
    gap: var(--carousel-gap, 16px);
    touch-action: pan-x;
    user-select: none;
    cursor: grab;
}
.carousel-scroller::-webkit-scrollbar { display: none; }
.carousel-scroller:active { cursor: grabbing; }
.carousel-item {
    scroll-snap-align: start;
    flex: 0 0 auto; /* width JS will set */
}

/* Customizer page padding */
.customizer-page {
    margin-top: 70px;
}

/* ===== PRODUCT GALLERY CAROUSEL ===== */
.product-gallery-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--light);
}

.product-gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-gallery-slider::-webkit-scrollbar { display: none; }

.product-gallery-slide {
    min-width: 100%;
    aspect-ratio: 1;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
}
.product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 5;
}
.gallery-nav-btn:hover { background: var(--accent); color: #fff; }
.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.gallery-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 4px;
}

.gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
}
.gallery-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.footer a {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
    margin-top: 70px;
    padding: 3rem 2rem;
}

.product-detail .container {
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding: 1rem 0;
}

.product-detail-info .breadcrumb {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.product-detail-info .breadcrumb a {
    color: var(--accent);
}

.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-detail-info .code {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.product-detail-info .description {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.product-specs {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.product-specs h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row .label {
    color: var(--gray);
}

.spec-row .value {
    font-weight: 600;
}

.size-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.size-option {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: var(--white);
}

.size-option:hover,
.size-option.active {
    border-color: var(--accent);
    color: var(--accent);
}

.inquiry-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .customizer-wrapper {
        grid-template-columns: 1fr;
    }

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

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .products {
        padding: 3rem 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-info h3 {
        font-size: 0.85rem;
    }

    .product-info .product-code {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .product-info .view-btn {
        font-size: 0.78rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .customizer-cta {
        padding: 3rem 1rem;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    .cta-icon-grid {
        gap: 1rem;
    }

    .cta-icon-item {
        padding: 1rem;
    }

    .cta-icon-item i {
        font-size: 1.8rem;
    }

    /* Product detail mobile fixes */
    .product-detail {
        padding: 2rem 1rem;
    }

    .product-detail-info h1 {
        font-size: 1.5rem;
    }

    .product-gallery-wrapper {
        border-radius: 12px;
    }

    .gallery-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        margin-left: 0;
        flex-direction: column;
        text-align: center;
    }

    .footer {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}
