/* CSS Variables */
:root {
    --ast-global-color-0: #000000;
    --ast-global-color-1: #121212;
    --ast-global-color-2: #1e293b;
    --ast-global-color-3: #334155;
    --ast-global-color-4: #FFFFFF;
    --ast-global-color-5: #F0F5FA;
    --ast-global-color-6: #111111;
    --ast-global-color-7: #D1D5DB;
    --ast-global-color-8: #111111;
    --ast-container-width: 1200px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Oxygen-Sans', Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ast-global-color-3);
    background-color: transparent !important;
    background: none !important;
}

.container {
    max-width: var(--ast-container-width);
    margin: 0 auto;
    padding: 0 20px;
    background: transparent !important;
    background-color: transparent !important;
}

a {
    color: var(--ast-global-color-0);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ast-global-color-1);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--ast-global-color-2);
    line-height: 1.3;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }

/* Header */
.site-header {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header *,
.site-header .container,
.site-header .header-content,
.site-header .site-branding,
.site-header .main-navigation {
    background: transparent !important;
    background-color: transparent !important;
}

/* Add padding to body to prevent content from hiding under fixed header */
body {
    padding-top: 0 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
}

.site-branding {
    display: flex;
    align-items: center;
    background: transparent !important;
}

.site-logo {
    display: block;
    line-height: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.site-title {
    font-size: 1.625rem;
    margin: 0;
}

.site-title a {
    color: var(--ast-global-color-2);
}

/* Admin Login Navigation Item */
.admin-login-nav {
    margin-left: auto;
}

.admin-login-nav a {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.admin-login-nav a:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .site-logo img {
        height: 35px;
    }
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--ast-global-color-4);
    font-weight: 500;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 1);
    border-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.menu-toggle.active {
    background-color: rgba(0, 0, 0, 1);
    border-color: #ffffff;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

/* Hamburger menu animation when active */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.35) 100%),
        url('images/k881z5x85jff1.jpeg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--ast-global-color-4);
    padding: 8rem 0 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    filter: brightness(1.05) contrast(1.25) saturate(1.1);
    margin-top: 0;
    min-height: 70vh;
}

/* Add a subtle vignette effect to enhance depth */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Ensure hero content is above the vignette */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Mobile hero logo - hidden by default */
.hero-logo-mobile {
    display: none;
}

.hero-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--ast-global-color-4);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--ast-global-color-0);
    color: var(--ast-global-color-4);
    border: 2px solid var(--ast-global-color-4);
}

.btn-primary:hover {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-0);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,255,255,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ast-global-color-4);
    border: 2px solid var(--ast-global-color-4);
}

.btn-secondary:hover {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-0);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--ast-global-color-0);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--ast-global-color-4);
}

.feature-item p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--ast-global-color-4);
    opacity: 0.9;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--ast-global-color-4);
}

/* Expert Guidance Section */
.expert-guidance-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--ast-global-color-2) 0%, var(--ast-global-color-1) 100%);
    color: var(--ast-global-color-4);
    text-align: center;
}

.expert-guidance-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--ast-global-color-4);
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: var(--ast-global-color-0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--ast-global-color-4);
}

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

.product-card {
    background-color: var(--ast-global-color-1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.product-image {
    width: 100%;
    height: 280px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.sale-badge,
.stock-badge {
    position: absolute;
    top: 10px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 2;
}

.sale-badge {
    left: 10px;
    background-color: var(--ast-global-color-0);
    color: var(--ast-global-color-4);
}

.stock-badge {
    right: 10px;
    background-color: var(--ast-global-color-3);
    color: var(--ast-global-color-4);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    margin-bottom: 0.5rem;
    color: var(--ast-global-color-4);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.product-description {
    font-size: 0.875rem;
    color: var(--ast-global-color-4);
    opacity: 0.8;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ast-global-color-4);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    text-align: center;
    white-space: nowrap;
}

.original-price {
    text-decoration: line-through;
    color: var(--ast-global-color-4);
    font-size: 1.125rem;
    margin-right: 0.5rem;
    opacity: 0.5;
}

.sale-price {
    color: var(--ast-global-color-4);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--ast-global-color-0);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    width: auto;
    max-width: 300px;
}

.footer-info h3 {
    color: var(--ast-global-color-4);
}

.footer-info p {
    color: var(--ast-global-color-4);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-info a {
    color: var(--ast-global-color-4);
    transition: opacity 0.3s ease;
}

.footer-info a:hover {
    opacity: 0.7;
}

.footer-copyright {
    margin-top: 1.5rem;
}

.copyright {
    color: var(--ast-global-color-4);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 921px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.98);
        padding: 1.5rem 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.8);
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        z-index: 1000;
        gap: 0;
    }

    .main-navigation ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul li a {
        color: var(--ast-global-color-4) !important;
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 500;
        transition: background-color 0.3s ease, padding-left 0.3s ease;
    }

    .main-navigation ul li a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        padding-left: 1.5rem;
    }

    .main-navigation ul li.current-menu-item a {
        background-color: rgba(255, 255, 255, 0.1);
        border-left: 3px solid var(--ast-global-color-4);
    }

    .main-navigation ul.active {
        display: flex;
    }

    /* Admin login icon in mobile menu */
    .admin-login-nav {
        margin-left: 0;
    }

    .admin-login-nav a {
        font-size: 1.5rem;
        text-align: center;
    }

    /* Move hero content down on tablet */
    .hero-section {
        padding-top: 10rem;
        min-height: 80vh;
        display: flex;
        align-items: center;
        /* Fix tablet background - show more of the image */
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .hero-content {
        padding-top: 2rem;
    }

    /* Show mobile logo on tablet */
    .hero-logo-mobile {
        display: block;
        height: 50px;
        width: auto;
        margin: 0 auto 1.5rem auto;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    }

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

    .hero-description {
        font-size: 1rem;
    }

    /* Tablet product grid - 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .product-image {
        height: 240px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

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

    .product-section-wrapper {
        margin-bottom: 3rem;
    }
}

@media (max-width: 544px) {
    /* Move hero content down on mobile */
    .hero-section {
        padding: 8rem 0 3rem 0;
        min-height: 85vh;
        display: flex;
        align-items: center;
        /* Fix mobile background - show more of the image */
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .hero-content {
        padding-top: 3rem;
    }

    /* Show mobile logo on mobile - smaller size */
    .hero-logo-mobile {
        display: block;
        height: 45px;
        width: auto;
        margin: 0 auto 1rem auto;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    }

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

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .product-section-wrapper {
        margin-bottom: 2.5rem;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--ast-global-color-2) 0%, var(--ast-global-color-1) 100%);
    color: var(--ast-global-color-4);
    padding: 4rem 0;
    padding-top: 6rem;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    color: var(--ast-global-color-4);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 4rem 0;
    background-color: var(--ast-global-color-0);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text h2 {
    margin-bottom: 1rem;
    color: var(--ast-global-color-4);
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--ast-global-color-4);
}

.about-text p {
    color: var(--ast-global-color-4);
    opacity: 0.9;
}

.about-text ul {
    list-style-position: inside;
    line-height: 2;
    color: var(--ast-global-color-4);
}

.about-image .image-placeholder {
    background-color: var(--ast-global-color-1);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.values-section {
    margin-top: 4rem;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--ast-global-color-4);
}

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

.value-item {
    background-color: var(--ast-global-color-1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.value-item h3 {
    margin-bottom: 0.5rem;
    color: var(--ast-global-color-4);
}

.value-item p {
    color: var(--ast-global-color-4);
    opacity: 0.9;
}

/* Shop Page */
.shop-section {
    padding: 4rem 0;
    background-color: var(--ast-global-color-0);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.product-section-wrapper {
    margin-bottom: 4rem;
}

.product-section-wrapper:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ast-global-color-4);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    color: var(--ast-global-color-4);
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
    background-color: var(--ast-global-color-0);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.contact-form-wrapper h2,
.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--ast-global-color-4);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--ast-global-color-4);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--ast-global-color-1);
    color: var(--ast-global-color-4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ast-global-color-4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.info-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--ast-global-color-1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--ast-global-color-4);
}

.info-item p {
    color: var(--ast-global-color-4);
    opacity: 0.9;
}

.info-item a {
    color: var(--ast-global-color-4);
}

.info-item a:hover {
    opacity: 0.8;
}

/* Responsive for About and Contact */
@media (max-width: 921px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image .image-placeholder {
        height: 300px;
    }
}

/* Product Detail Page */
.product-detail-section {
    background-color: var(--ast-global-color-0);
    padding: 4rem 0;
    padding-top: 6rem;
    min-height: 80vh;
}

.back-link {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    color: var(--ast-global-color-4);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.product-detail-images {
    position: sticky;
    top: 6rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    padding: 2rem;
    display: block;
}

/* Image Navigation Arrows */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.image-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.image-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.image-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.thumbnail-item {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.thumbnail-item.active {
    border-color: var(--ast-global-color-2);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    padding: 0.5rem;
    display: block;
}

.product-detail-info {
    color: var(--ast-global-color-4);
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ast-global-color-4);
    line-height: 1.2;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ast-global-color-4);
    margin-bottom: 2rem;
}

.product-detail-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ast-global-color-4);
    opacity: 0.9;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-detail-description p {
    margin-bottom: 1rem;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    text-align: center;
    display: inline-block;
}

.contact-info-text {
    color: var(--ast-global-color-4);
    opacity: 0.8;
    font-size: 0.95rem;
    text-align: center;
}

.contact-info-text a {
    color: var(--ast-global-color-4);
    text-decoration: underline;
    font-weight: 600;
}

.contact-info-text a:hover {
    opacity: 0.8;
}

/* Responsive Product Detail */
@media (max-width: 921px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-images {
        position: static;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .product-detail-price {
        font-size: 1.75rem;
    }

    .main-image img {
        max-height: 400px;
        padding: 1.5rem;
    }

    .image-nav-btn {
        width: 44px;
        height: 44px;
    }

    .prev-btn {
        left: 0.5rem;
    }

    .next-btn {
        right: 0.5rem;
    }

    .image-counter {
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }
}

@media (max-width: 544px) {
    .product-detail-section {
        padding: 3rem 0;
        padding-top: 5rem;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }

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

    .product-detail-description {
        font-size: 1rem;
    }

    .main-image img {
        max-height: 300px;
        padding: 1rem;
    }

    .thumbnail-images {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .thumbnail-item img {
        height: 80px;
    }

    .btn-large {
        font-size: 1.125rem;
        padding: 0.875rem 1.5rem;
    }

    .image-nav-btn {
        width: 40px;
        height: 40px;
    }

    .image-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .prev-btn {
        left: 0.25rem;
    }

    .next-btn {
        right: 0.25rem;
    }

    .image-counter {
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}

