@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Montserrat:wght@400;600;700&display=swap');

/* Main Wrapper styling */
#grillz-page-wrapper {
    background-color: #0B0B0B;
    color: #FFFFFF;
    font-family: 'Outfit', 'Montserrat', sans-serif;
    overflow-x: hidden;
}

#grillz-page-wrapper a {
    text-decoration: none;
}

.grillz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Helpers */
.text-center { text-align: center; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.bold-text { font-weight: 700; color: #FFFFFF; }
.gold-gradient-text {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #D4AF37;
    font-weight: 800;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #D4AF37;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: #D4AF37;
}

.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.section-header p {
    color: #A0A0A0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Buttons */
.grillz-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    letter-spacing: 0.5px;
}
.grillz-btn-primary {
    background: linear-gradient(135deg, #BF953F 0%, #D4AF37 50%, #AA771C 100%);
    color: #000000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.grillz-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #FCF6BA 0%, #D4AF37 50%, #B38728 100%);
}
.grillz-btn-primary:disabled {
    background: #2A2A2A;
    color: #666666;
    box-shadow: none;
    cursor: not-allowed;
}

.grillz-btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.grillz-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}
.full-width {
    width: 100%;
}

/* Hero Section */
.grillz-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 240px 20px 120px 20px !important; /* Increased top padding to push content below stacked centered header */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.grillz-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(11,11,11,0.95) 80%);
    z-index: -1;
}

.grillz-hero-content {
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.grillz-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 25px;
}

.grillz-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.grillz-subtitle {
    font-size: 1.25rem;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 40px;
    max-w-600;
}

.grillz-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Intro Section */
.grillz-intro {
    padding: 100px 0;
    background-color: #0F0F0F;
}

.grillz-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text p {
    color: #A0A0A0;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.intro-features {
    margin-top: 35px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #FFFFFF;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
}

.intro-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.intro-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.intro-image-container:hover .intro-img {
    transform: scale(1.05);
}

/* Customizer Section */
.grillz-customizer-sec {
    padding: 100px 0;
    background-color: #0B0B0B;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.customizer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.customizer-visual-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #050505;
    border-radius: 12px;
    padding: 40px 20px;
    border: 1px solid rgba(255,255,255,0.02);
    min-height: 400px;
}

.jaw-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    background-color: #111111;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.jaw-btn {
    background: transparent;
    color: #A0A0A0;
    border: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jaw-btn.active {
    background-color: #222222;
    color: #D4AF37;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.dental-arch-container {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
}

.jaw-visual {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.jaw-visual.active {
    display: block;
}

.teeth-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}

/* Tooth styling */
.tooth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
}
.tooth-wrapper:hover {
    transform: translateY(-5px);
}

.tooth-label {
    font-size: 0.75rem;
    color: #666666;
    margin-bottom: 8px;
    font-weight: 700;
}

.tooth-shape {
    background: linear-gradient(180deg, #EBEBEB 0%, #B8B8B8 100%);
    border-radius: 4px 4px 8px 8px;
    border: 1px solid #999;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.5), 0 3px 6px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Tooth sizes proportions */
.tooth-shape.central {
    width: 44px;
    height: 52px;
    border-radius: 6px 6px 12px 12px;
}
.tooth-shape.lateral {
    width: 38px;
    height: 46px;
    border-radius: 5px 5px 10px 10px;
}
.tooth-shape.canine {
    width: 34px;
    height: 48px;
    border-radius: 4px 4px 14px 14px;
}
.tooth-shape.premolar {
    width: 32px;
    height: 38px;
}
.tooth-shape.molar {
    width: 36px;
    height: 34px;
}

/* Interactive States: Tooth selected with Material */
.tooth-wrapper.selected .tooth-shape {
    border-color: transparent;
    transform: scale(1.05);
}

/* Material styles */
.tooth-wrapper.selected[data-mat-applied="gold14k"] .tooth-shape {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 50%, #B38728 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6), inset 0 2px 5px rgba(255,255,255,0.6);
}

.tooth-wrapper.selected[data-mat-applied="gold18k"] .tooth-shape {
    background: linear-gradient(135deg, #D4AF37 0%, #FFE066 30%, #AA771C 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8), inset 0 2px 5px rgba(255,255,255,0.6);
}

.tooth-wrapper.selected[data-mat-applied="whitegold"] .tooth-shape {
    background: linear-gradient(135deg, #D3D3D3 0%, #FFFFFF 50%, #999999 100%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(255,255,255,0.7);
}

.tooth-wrapper.selected[data-mat-applied="platinum_vvs"] .tooth-shape {
    background: linear-gradient(135deg, #FFFFFF 0%, #C2E9FB 30%, #A1C4FD 60%, #EBEBEB 100%);
    box-shadow: 0 0 25px rgba(161, 196, 253, 0.9), inset 0 2px 6px rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}
.tooth-wrapper.selected[data-mat-applied="platinum_vvs"] .tooth-shape::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.8) 50%, transparent 55%);
    animation: shine 2.5s infinite;
}

.customizer-tips {
    margin-top: 30px;
    color: #666;
}

/* Control Panel styles */
.customizer-control-pane {
    display: flex;
    flex-direction: column;
}
.customizer-control-pane h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.config-group {
    margin-bottom: 30px;
}
.config-label {
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: #CCCCCC;
}

.material-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.material-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}
.material-card.active {
    background: rgba(212, 175, 55, 0.05);
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.mat-color {
    width: 32px;
    height: 32px;
    border-radius: 50px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}
.mat-color.gold14 { background: linear-gradient(135deg, #BF953F 0%, #B38728 100%); }
.mat-color.gold18 { background: linear-gradient(135deg, #D4AF37 0%, #AA771C 100%); }
.mat-color.whitegold { background: linear-gradient(135deg, #E6E6E6 0%, #A6A6A6 100%); }
.mat-color.diamond { 
    background: linear-gradient(135deg, #FFFFFF 0%, #A1C4FD 100%); 
    box-shadow: 0 0 8px rgba(161, 196, 253, 0.5);
}

.mat-info {
    display: flex;
    flex-direction: column;
}
.mat-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
}
.mat-price {
    font-size: 0.8rem;
    color: #A0A0A0;
}

/* Summary Box */
.summary-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #A0A0A0;
}

.summary-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 15px 0;
}

.total-price-line {
    align-items: center;
    margin-bottom: 0;
}
.total-price-line span:first-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
}
.price-val {
    font-size: 1.8rem;
}

/* Rapper Showcase Gallery */
.grillz-showcase-sec {
    padding: 100px 0;
    background-color: #0F0F0F;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.showcase-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.showcase-card:hover .card-img {
    transform: scale(1.08);
}

.card-body {
    padding: 25px;
}

.artist-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #D4AF37;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.card-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 15px 0;
}

.card-body p {
    color: #A0A0A0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Process Steps */
.grillz-process-sec {
    padding: 100px 0;
    background-color: #0B0B0B;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 20px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}
.step-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(212, 175, 55, 0.2);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}
.step-card:hover .step-num {
    color: rgba(212, 175, 55, 0.25);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: #888888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

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

.grillz-modal.active {
    display: flex;
}

.glassmorphism {
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-content {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}
.close-modal:hover {
    color: #FFFFFF;
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.modal-content p {
    color: #A0A0A0;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #CCCCCC;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-status-msg {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding: 10px 15px;
    border-radius: 6px;
    display: none;
}
.form-status-msg.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}
.form-status-msg.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(30%, 30%) rotate(0deg); }
}

/* Responsive styles */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grillz-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .customizer-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .grillz-title {
        font-size: 3rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .teeth-row {
        gap: 3px;
    }
    .tooth-shape.central { width: 34px; height: 42px; }
    .tooth-shape.lateral { width: 28px; height: 36px; }
    .tooth-shape.canine { width: 25px; height: 38px; }
    .tooth-shape.premolar { width: 22px; height: 30px; }
    .tooth-shape.molar { width: 24px; height: 26px; }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .grillz-title {
        font-size: 2.5rem;
    }
    .grillz-hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .tooth-label {
        font-size: 0.65rem;
    }
    .teeth-row {
        gap: 2px;
    }
    .tooth-shape.central { width: 26px; height: 32px; }
    .tooth-shape.lateral { width: 22px; height: 28px; }
    .tooth-shape.canine { width: 20px; height: 30px; }
    .tooth-shape.premolar { width: 17px; height: 24px; }
    .tooth-shape.molar { width: 19px; height: 20px; }
}

/* ==========================================================================
   Astra Layout Fixes: Stretch container and remove white bars
   ========================================================================== */

/* Force dark background, centering, and full width on body & structural layout blocks */
body.page-template-template-grillz,
body.page-template-template-grillz #page,
body.page-template-template-grillz #content,
body.page-template-template-grillz .site-content-container,
body.page-template-template-grillz .site-content,
body.page-template-template-grillz .ast-container,
body.page-template-template-grillz #primary,
body.page-template-template-grillz main,
body.page-template-template-grillz #grillz-page-wrapper {
    background-color: #0b0b0b !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    float: none !important;
    display: block !important;
}

/* Force headings to be white and readable on dark background instead of inheriting dark blue from Astra */
body.page-template-template-grillz h1,
body.page-template-template-grillz h2,
body.page-template-template-grillz h3,
body.page-template-template-grillz h4,
body.page-template-template-grillz h5,
body.page-template-template-grillz h6,
body.page-template-template-grillz .grillz-title,
body.page-template-template-grillz .intro-text h2,
body.page-template-template-grillz .customizer-control-pane h3 {
    color: #FFFFFF !important;
}

/* Fix container constraints in Astra for full-width layout */
body.page-template-template-grillz #content > .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Align layout grids to have consistent spacing */
body.page-template-template-grillz .grillz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Style Astra site header to blend in seamlessly and be transparent */
body.page-template-template-grillz .site-header,
body.page-template-template-grillz .main-header-bar,
body.page-template-template-grillz .ast-theme-transparent-header,
body.page-template-template-grillz .ast-primary-header-bar {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Style Astra site footer to blend in seamlessly */
body.page-template-template-grillz .site-footer,
body.page-template-template-grillz .ast-small-footer {
    background-color: #0B0B0B !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Standardize navigation text colors for dark design */
body.page-template-template-grillz .main-header-menu .menu-item > a,
body.page-template-template-grillz .site-title a,
body.page-template-template-grillz .site-title,
body.page-template-template-grillz .ast-site-identity .site-title a,
body.page-template-template-grillz .ast-site-title-dev a,
body.page-template-template-grillz .main-header-bar .site-title a {
    color: #FFFFFF !important;
    transition: color 0.3s ease;
}

body.page-template-template-grillz .main-header-menu .menu-item:hover > a {
    color: #D4AF37 !important;
}

/* Ensure the background image for hero has responsive visual size */
.grillz-hero {
    background-image: url('../images/hero-grillz.jpg');
    background-color: #0B0B0B;
}

/* ==========================================================================
   Logo Scaling and Centering (High Specificity)
   ========================================================================== */

/* Constrain custom logo dimensions in Astra */
body.page-template-template-grillz .site-logo-img img,
body.page-template-template-grillz .custom-logo-link img,
body.page-template-template-grillz .ast-site-identity img {
    max-height: 90px !important;
    width: auto !important;
    max-width: 280px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Hide duplicate site title text next to logo since logo has branding */
body.page-template-template-grillz .ast-site-identity .site-title-wrap,
body.page-template-template-grillz .ast-site-identity .site-title,
body.page-template-template-grillz .site-title-wrap {
    display: none !important;
}

/* Force flex column on the main header rows and grids to stack them vertically centered (Desktop + Mobile) */
body.page-template-template-grillz #masthead .ast-builder-grid-row,
body.page-template-template-grillz #masthead .ast-builder-grid-row-container,
body.page-template-template-grillz #masthead .site-primary-header-wrap,
body.page-template-template-grillz #masthead .main-header-container,
body.page-template-template-grillz #masthead .main-header-bar-wrap,
body.page-template-template-grillz #masthead .main-header-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 15px !important;
    float: none !important;
}

/* Force left and right sections in Astra layout to center align */
body.page-template-template-grillz #masthead .site-header-primary-section-left,
body.page-template-template-grillz #masthead .site-header-primary-section-right,
body.page-template-template-grillz #masthead .site-header-section-left,
body.page-template-template-grillz #masthead .site-header-section-right,
body.page-template-template-grillz #masthead .ast-header-sections-navigation,
body.page-template-template-grillz #masthead .ast-grid-left-section,
body.page-template-template-grillz #masthead .ast-grid-right-section,
body.page-template-template-grillz #masthead .ast-grid-common-col {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    flex-direction: column !important;
    margin: 0 auto !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
}

/* Center main menu bar alignment */
body.page-template-template-grillz #masthead .ast-primary-menu-wrap,
body.page-template-template-grillz #masthead .main-header-bar-navigation,
body.page-template-template-grillz #masthead .main-header-bar-alignment {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    float: none !important;
}

body.page-template-template-grillz #masthead .main-header-menu {
    justify-content: center !important;
    float: none !important;
    margin: 0 auto !important;
    display: flex !important;
}

/* Space out the menu below logo */
body.page-template-template-grillz #masthead .site-header-primary-section-right,
body.page-template-template-grillz #masthead .site-header-section-right {
    margin-top: 15px !important;
}

/* ==========================================================================
   Center All Page Content Grid Sections
   ========================================================================== */

/* 1. Center Intro Section (Stack column) */
body.page-template-template-grillz .grillz-grid-2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 40px !important;
}

body.page-template-template-grillz .intro-text {
    max-width: 800px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

body.page-template-template-grillz .feature-item {
    text-align: left !important; /* Keep internal feature checklist left-aligned but centered as a group */
    max-width: 600px;
}

body.page-template-template-grillz .intro-image-container {
    max-width: 600px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* 2. Center Interactive Customizer Layout */
body.page-template-template-grillz .customizer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    gap: 40px !important;
}

body.page-template-template-grillz .customizer-visual-pane,
body.page-template-template-grillz .customizer-control-pane {
    width: 100% !important;
    max-width: 600px !important;
}

body.page-template-template-grillz .customizer-control-pane {
    text-align: center !important;
}

body.page-template-template-grillz .material-card {
    text-align: left !important; /* Keep interior content of material card left-aligned */
}

/* 3. Center Showcase Card Contents */
body.page-template-template-grillz .showcase-card {
    text-align: center !important;
}

body.page-template-template-grillz .card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* 4. Center Process Cards */
body.page-template-template-grillz .process-steps {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 25px !important;
    width: 100% !important;
}

body.page-template-template-grillz .step-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 1 220px !important;
    max-width: 280px !important;
}

body.page-template-template-grillz .step-num {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-bottom: 15px !important;
}

/* Mobile responsive centering adjustments */
@media (max-width: 921px) {
    body.page-template-template-grillz #masthead .ast-mobile-header-wrap .ast-mobile-header-container,
    body.page-template-template-grillz #masthead .site-header-section-left {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/* ==========================================================================
   Custom Grillz Header & Social Alignment
   ========================================================================== */

/* Custom Grillz Header Styling */
.custom-grillz-header {
    width: 100%;
    background: transparent;
    padding: 40px 20px 10px 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.custom-grillz-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.custom-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-grillz-logo {
    max-height: 85px;
    width: auto;
    max-width: 250px;
    display: block;
    transition: transform 0.3s ease;
}
.custom-grillz-logo:hover {
    transform: scale(1.04);
}

.custom-grillz-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.custom-grillz-nav a {
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.custom-grillz-nav a:hover {
    color: #D4AF37 !important;
}

.custom-grillz-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.custom-grillz-social a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-grillz-social a:hover {
    color: #D4AF37 !important;
    transform: scale(1.1);
}

/* Hide Astra default header & footer wrappers for this template only */
body.page-template-template-grillz #masthead,
body.page-template-template-grillz .site-header,
body.page-template-template-grillz #ast-mobile-header,
body.page-template-template-grillz .ast-above-header-wrap,
body.page-template-template-grillz .ast-below-header-wrap {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   Smoothness & Premium Interaction Enhancements
   ========================================================================== */

/* Smooth scroll & Premium scrollbar */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0B0B0B;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #AA771C 0%, #D4AF37 50%, #BF953F 100%);
    border-radius: 5px;
    border: 2.5px solid #0B0B0B;
}
::-webkit-scrollbar-thumb:hover {
    background: #FCF6BA;
}

/* Preset Selector Styles */
.preset-selector {
    margin-top: 5px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.preset-label {
    font-size: 0.8rem;
    color: #888888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.preset-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.03);
    color: #CCCCCC;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.preset-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.preset-btn.btn-clear {
    background: rgba(231, 76, 60, 0.05);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.2);
}

.preset-btn.btn-clear:hover {
    background: rgba(231, 76, 60, 0.15);
    color: #ff6b5b;
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
}

/* Enhancing Tooth Transitions & Shimmers */
.tooth-wrapper .tooth-shape {
    transition: background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tooth-wrapper:hover .tooth-shape {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

.tooth-wrapper.selected:hover .tooth-shape {
    transform: translateY(-4px) scale(1.1);
}

/* Material Glossy Highlight */
.tooth-wrapper.selected .tooth-shape {
    position: relative;
}
.tooth-wrapper.selected .tooth-shape::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 35%;
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 100%);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
    z-index: 2;
}

/* Sparkle Effect for VVS Diamonds */
.tooth-wrapper.selected[data-mat-applied="platinum_vvs"] .tooth-shape {
    animation: sparkleGlow 3s infinite alternate;
}

@keyframes sparkleGlow {
    0% {
        box-shadow: 0 0 15px rgba(161, 196, 253, 0.6), inset 0 2px 6px rgba(255,255,255,0.8);
        filter: brightness(1);
    }
    100% {
        box-shadow: 0 0 30px rgba(161, 196, 253, 0.95), inset 0 2px 8px rgba(255,255,255,0.9);
        filter: brightness(1.15);
    }
}

/* Floating Contact Bar */
.floating-contact-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
    align-items: flex-end;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 50px;
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zalo-btn {
    background: #0068FF;
    padding: 0 20px;
    gap: 8px;
}
.zalo-btn .btn-text {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.call-btn {
    background: linear-gradient(135deg, #BF953F 0%, #D4AF37 50%, #AA771C 100%);
    width: 50px;
    color: #000000;
    position: relative;
}

.call-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    top: 0;
    left: 0;
    animation: pulsingWave 2s infinite;
    pointer-events: none;
    opacity: 0;
    box-sizing: border-box;
}

@keyframes pulsingWave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
}

.zalo-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 104, 255, 0.5);
    background: #005ce6;
}

.call-btn:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #FCF6BA 0%, #D4AF37 50%, #B38728 100%);
}

/* Modal Success View Style */
.modal-success-state {
    text-align: center;
    padding: 20px 0;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon-circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    animation: popCheck 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popCheck {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.success-desc {
    color: #A0A0A0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Toast/Tooltip custom look */
.tooth-wrapper {
    position: relative;
}

/* Add mobile spacing fix for Floating Contact Bar */
@media (max-width: 768px) {
    .floating-contact-bar {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    .floating-btn {
        height: 45px;
    }
    .zalo-btn {
        padding: 0 15px;
    }
    .zalo-btn .btn-text {
        font-size: 0.8rem;
    }
    .call-btn {
        width: 45px;
    }
}




