/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    font-family: Garet, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: none;
}

html {
    height: 100% !important;
    min-height: 100vh;
}

p {
    color: black;
}

ul {
    padding-left: 0;
}

/* Color utility */
.color-text {
    color: black !important;
}

/* ============================================
   BACK BUTTON FIXES
   ============================================ */
.g-cta.-back.-border {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 1000 !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.g-cta.-back.-border:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.g-pdp__back {
    display: none !important;
}

/* ============================================
   MAIN LAYOUT - FLEXBOX GRID
   ============================================ */
.g-pdp {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

/* ============================================
   LEFT COLUMN - MAIN PRODUCT SLIDER
   ============================================ */
.g-pdp__products {
    position: relative;
    height: 90vh;
    max-height: 800px;
    min-height: 300px;
    overflow: hidden;
    margin-top: 20px;
}

.g-pdp__swiper {
    width: 100%;
    height: 100%;
}

.g-pdp__slide {
    height: 100%;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}

.g-pdp__card img {
    max-height: 90% !important;
    object-fit: contain !important;
}

/* ============================================
   RIGHT COLUMN - SIDEBAR & THUMBNAILS
   ============================================ */
.g-pop-sidebar-image.-full {
    padding: 20px !important;
}

.g-pop-sidebar-image.-full img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.g-pop-sidebar__title {
    color: black;
    font-size: 15pt;
    text-transform: none;
}

/* Thumbnail divider */
.g-sidebar__thumbs {
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

/* ============================================
   THUMBNAIL GRID SYSTEM
   ============================================ */
.product-thumbnails {
    display: grid !important;
    gap: 50px !important;
    padding: 10px !important;
    margin: 0 !important;
}

.thumb-item {
    all: unset;
    cursor: pointer !important;
    display: block;
    width: 80% !important;
    height: auto !important;
    aspect-ratio: 4/3;
    padding: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.3s ease !important;
}

.thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    pointer-events: none;
}

.g-header {
  border: 1px solid #33468b !important;
}

.g-cta svg path {
fill: #33468b !important;
}

.g-header__head svg path {
fill: #33468b !important;
}

.thumb-item:hover {
    border-color: #33468b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumb-item.active {
    border-color: #33468b !important;
    box-shadow: 0 0 0 2px rgba(145, 113, 69, 0.25) !important;
    transform: scale(1.05) !important;
}

/* ============================================
   FEATURE SYSTEM - COMMON STYLES
   ============================================ */
.feature-menu-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
}

.feature-menu-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.feature-menu-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.feature-menu-column {
    display: flex;
    flex-direction: column;
}

.feature-count {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Feature Menu Items */
.feature-menu-item {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-bottom: 8px !important;
}

.feature-content h4 {
    font-family: Garet, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2px;
    text-transform: none;
}

.feature-name {
    font-size: 12pt;
    padding: 5px 82px;
    border: 1px solid black;
}

/* Feature Menu Grid */
.row.feature-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.row.feature-grid > div {
    padding: 0 10px;
}

/* ============================================
   FEATURE SLIDER LAYOUT
   ============================================ */
.feature-main-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 5%;
}

.feature-main-slider {
    width: 100%;
    height: auto;
}

.feature-main-slider .swiper-slide {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
}

.feature-slide-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
}

.feature-slide-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain !important;
}

.feature-slide-caption {
    width: 100%;
    padding: 0;
    position: relative;
    background: transparent;
}

.feature-slide-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #1f2937;
}

.feature-slide-caption p {
    margin-top: 20px;
    font-family: Garet, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    color: black;
    text-transform: none;
}

/* Feature Navigation */
.feature-slide-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.feature-slider-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.feature-slider-prev,
.feature-slider-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid black !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-slider-prev:hover,
.feature-slider-next:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: scale(1.05);
}

.feature-slider-prev svg,
.feature-slider-next svg {
    width: 20px;
    height: 20px;
    color: #374151;
}

/* Feature Info */
.feature-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 5px;
    font-size: 0.875rem;
}

.slide-counter {
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   SECTION-SPECIFIC STYLES
   ============================================ */
/* Description Section */
#description .feature-menu-item.active,
#description .feature-menu-item.active h4 {
    color: Black !important;
}

#description .feature-menu-item:hover {
    background-color: rgba(145, 116, 21, 0.05) !important;
    transform: translateX(5px) !important;
}

#description .feature-content h4 {
    color: #bec2c8 !important;
}

#description .feature-menu-item.active .feature-content h4 {
    color: Black !important;
}

#description .feature-name {
    background-color: #f8f5ed !important;
    color: Black !important;
    border: 1px solid Black !important;
}

/* Industry Serve Section */
#industry-serve .feature-menu-item.active,
#industry-serve .feature-menu-item.active h4 {
    color: Black !important;
}

#industry-serve .feature-menu-item:hover {
    background-color: rgba(44, 82, 130, 0.05) !important;
    transform: translateX(5px) !important;
}

#industry-serve .feature-content h4 {
    color: #a0aec0 !important;
}

#industry-serve .feature-menu-item.active .feature-content h4 {
    color: Black !important;
}

#industry-serve .feature-name {
    color: Black !important;
    border: 1px solid Black !important;
}

/* Testimonial Section */
#testimonial .feature-menu-item.active,
#testimonial .feature-menu-item.active h4 {
    color: Black !important;
}

#testimonial .feature-menu-item:hover {
    background-color: rgba(155, 44, 44, 0.05) !important;
    transform: translateX(5px) !important;
}

#testimonial .feature-content h4 {
    color: #cbd5e0 !important;
}

#testimonial .feature-menu-item.active .feature-content h4 {
    color: Black !important;
}

#testimonial .feature-name {
    color: Black !important;
    border: 1px solid Black !important;
}

/* Technical Specifications Section */
#technical-specifications .g-pop-sidebar-image.-full {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px !important;
}

#technical-specifications .g-pop-sidebar__title {
    color: white !important;
    font-size: 2rem !important;
}

#technical-specifications p {
    color: white !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

#technical-specifications .feature-name {
    display: none !important;
}

/* Section Title Colors */
#description .g-pop-sidebar__title,
#industry-serve .g-pop-sidebar__title,
#testimonial .g-pop-sidebar__title {
    color: Black !important;
}

/* ============================================
   MOBILE-ONLY FEATURE SLIDER
   ============================================ */
.mobile-only-feature-slider {
    display: none;
}

.mobile-feature-image {
    transition: opacity 0.3s ease;
}

#mobile-feature-name {
    transition: all 0.3s ease;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 32px !important;
    }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1200px) {
    .g-pdp__products {
        height: 70vh;
        max-height: 1200px;
    }
    
    .feature-slide-content img {
        max-height: 450px;
    }
    
    .g-pop-sidebar-image.-full {
        padding: 15px !important;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 992px) {
    .g-pdp {
        gap: 30px;
    }
    
    .g-sidebar {
        flex: 0 0 calc(35% - 15px);
    }
    
    .g-pdp__products {
        height: 60vh;
        max-height: 900px;
    }
    
    .feature-slide-content img {
        max-height: 400px;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 50px !important;
    }
}

/* Mobile Landscape & Small Tablet (576px - 767px) */
@media (max-width: 768px) {
    .g-pdp {
        flex-direction: column;
        gap: 20px;
    }
    
    .g-pdp__products,
    .g-sidebar {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .g-pdp__products {
        height: 50vh;
        max-height: 500px;
        min-height: 250px;
    }
    
    .g-pdp__slide {
        padding: 15px !important;
    }
    
    .g-pdp__card img {
        max-width: 95% !important;
        max-height: 95% !important;
    }
    
    .feature-main-slider-container {
        padding: 10px;
    }
    
    .feature-slide-content img {
        max-height: 350px;
    }
    
    .feature-slider-prev,
    .feature-slider-next {
        width: 36px;
        height: 36px;
    }
    
    .feature-name {
        font-size: 11pt;
        padding: 4px 20px;
    }
    
    .g-pop-sidebar-image.-full {
        padding: 10px !important;
    }
    
    .g-cta.-back.-border {
        top: 15px !important;
        left: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    /* Mobile Feature Menu Grid */
    .feature-menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .feature-menu-item {
        padding: 8px !important;
        margin-bottom: 6px !important;
    }
    
    .feature-content h4 {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
    }
    
    .feature-description {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .row.feature-grid {
        margin: 0 -6px !important;
    }
    
    .row.feature-grid > div {
        padding: 0 6px !important;
    }
    
    .feature-content.text-lg-end.text-md-end {
        text-align: left !important;
    }
    
    /* Mobile Only Slider */
    .mobile-only-feature-slider {
        display: block;
    }
    
    .mobile-only-feature-slider .feature-main-slider-container {
        padding: 0;
        border: none;
        border-radius: 0;
    }
    
    .mobile-only-feature-slider .feature-slide-content img {
        max-height: 250px;
    }
    
    .mobile-only-feature-slider .feature-name {
        background: #eff6ff;
        color: #1d4ed8;
        padding: 6px 109px;
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .mobile-only-feature-slider .feature-slide-caption,
    .mobile-only-feature-slider .feature-slide-footer,
    .mobile-only-feature-slider .feature-slider-nav {
        display: none !important;
    }
    
    .thumb-item {
        aspect-ratio: 1/1;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 50px !important;
    }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
    .g-pdp__products {
        height: 45vh;
        max-height: 450px;
        min-height: 200px;
    }
    
    .g-sidebar__title {
        display: flex;
        padding-top: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .g-sidebar {
        padding-top: 0 !important;
    }
    
    .g-cta.-back.-border {
        display: none !important;
    }
    
    .g-pdp__slide {
        padding: 10px !important;
    }
    
    .feature-slide-content img {
        max-height: 300px;
    }
    
    .feature-name {
        font-size: 10pt;
        padding: 3px 16px;
    }
    
    .feature-menu-grid {
        gap: 10px !important;
    }
    
    .feature-content h4 {
        font-size: 1.1rem !important;
    }
    
    .feature-description {
        font-size: 0.95rem !important;
    }
    
    .row > * {
        width: unset !important;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 50px !important;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .g-pdp__products {
        height: 40vh;
        max-height: 400px;
        min-height: 180px;
    }
    
    .feature-slide-content img {
        max-height: 250px;
    }
    
    .feature-name {
        font-size: 9pt;
        padding: 2px 12px;
    }
    
    .feature-menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .feature-content h4 {
        font-size: 1rem !important;
    }
    
    .feature-description {
        font-size: 0.9rem !important;
    }
    
    .row > * {
        width: unset !important;
    }
}

/* Very Small Devices (276px and below) */
@media (min-width: 276px) {
    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 50px !important;
    }
}

/* ============================================
   VISIBILITY & ANIMATION FIXES
   ============================================ */
.feature-slide-content img {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease !important;
}

.feature-slide-caption h3,
.feature-slide-caption p,
.feature-name,
#main-description {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Active state indicator */
.feature-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
.copyright-footer {
    margin-top: 20px;
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #666;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}