/* ===== GLIND SLIDER CSS ===== */
/* Replace your existing slider CSS with this */

.glind-container {
    width: 100%;
    padding: 0 10px; /* Adjust as needed */
    box-sizing: border-box;
}

.glind-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.glind-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
}

/* Product Items */
.glind-item {
    flex: 0 0 calc(20% - 16px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glind-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.glind-image-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e7e9 100%);
    overflow: hidden;
}

.glind-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.glind-item:hover .glind-image {
    transform: scale(1.08);
}

.glind-name {
    padding: 18px 0px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider Controls */
.glind-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.glind-button {
    width: 44px;
    height: 44px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #666;
    flex-shrink: 0;
}

.glind-button:hover:not(.glind-disabled) {
    border-color: #333;
    color: #333;
    transform: scale(1.05);
}

.glind-button.glind-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.glind-dots {
    display: flex;
    gap: 8px;
    margin: 0 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.glind-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.glind-dot.glind-active {
    background: #333;
    width: 24px;
    border-radius: 4px;
}

.glind-dot:hover {
    background: #999;
}

/* Loading animation (optional) */
@keyframes glind-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablets & Large Screens: 1200px and up */
@media (max-width: 1200px) {
    .glind-item {
        flex: 0 0 calc(25% - 15px);
    }
    .glind-container {
        padding: 0 30px;
    }
    .glind-header h1 {
        font-size: 2rem;
    }
}

/* Medium Tablets: 992px to 1199px */
@media (max-width: 992px) {
    .glind-item {
        flex: 0 0 calc(33.333% - 13.33px);
    }
    .glind-container {
        padding: 0 20px;
    }
    .glind-header h1 {
        font-size: 1.75rem;
    }
    .glind-header {
        margin-bottom: 40px;
    }
}

/* Tablets: 768px to 991px */
@media (max-width: 991px) {
    .glind-item {
        flex: 0 0 calc(50% - 10px);
    }
    .glind-track {
        gap: 20px;
    }
    .glind-container {
        padding: 0 20px;
    }
    .glind-header h1 {
        font-size: 1.5rem;
    }
    .glind-header p {
        font-size: 1rem;
    }
    .glind-header {
        margin-bottom: 35px;
    }
    .glind-controls {
        gap: 12px;
        margin-top: 30px;
    }
}

/* Mobile Phones: 576px to 767px */
@media (max-width: 767px) and (min-width: 576px) {
    .glind-item {
        flex: 0 0 100%;
    }
    .glind-track {
        gap: 20px;
    }
    .glind-name {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    .glind-container {
        padding: 0 10px;
    }
    .glind-header h1 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .glind-header p {
        font-size: 0.95rem;
    }
    .glind-header {
        margin-bottom: 30px;
    }
    .glind-controls {
        gap: 10px;
        margin-top: 25px;
    }
    .glind-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .glind-dots {
        margin: 0 10px;
        gap: 6px;
    }
    .glind-dot {
        width: 6px;
        height: 6px;
    }
    .glind-dot.glind-active {
        width: 20px;
    }
}

/* Mobile Phones: 480px to 575px */
@media (max-width: 575px) {
    .glind-item {
        flex: 0 0 100%;
    }
    .glind-track {
        gap: 15px;
    }
    .glind-name {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    .glind-container {
        padding: 0 8px;
    }
    .glind-header h1 {
        font-size: 1.2rem;
    }
    .glind-header p {
        font-size: 0.9rem;
    }
    .glind-header {
        margin-bottom: 25px;
    }
    .glind-controls {
        gap: 8px;
        margin-top: 20px;
    }
    .glind-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .glind-dots {
        margin: 0 8px;
        gap: 4px;
    }
    .glind-dot {
        width: 5px;
        height: 5px;
    }
    .glind-dot.glind-active {
        width: 16px;
    }
}

/* Small Mobile Phones: Below 480px */
@media (max-width: 479px) {
    .glind-item {
        flex: 0 0 100%;
    }
    .glind-track {
        gap: 12px;
    }
    .glind-name {
        padding: 8px 6px;
        font-size: 0.75rem;
        min-height: 40px;
    }
    .glind-container {
        padding: 0 6px;
        display: none;
    }
    .glind-header h1 {
        font-size: 1rem;
    }
    .glind-header p {
        font-size: 0.85rem;
    }
    .glind-header {
        margin-bottom: 20px;
    }
    .glind-controls {
        gap: 6px;
        margin-top: 15px;
    }
    .glind-button {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-width: 1px;
    }
}

/* Related Products Heading */
.related-products h2 {
    font-size: 1.8rem;        /* Adjust size */
    font-weight: 700;         /* Bold */
    color: #333333;           /* Text color */
    text-transform: uppercase;/* Optional: uppercase letters */
    letter-spacing: 1px;      /* Slight spacing */
    margin: 30px 0 20px 0;    /* Top and bottom margin */
    border-bottom: 2px solid #50bbc4; /* Optional underline */
    padding-bottom: 10px;     /* Space under text for underline */
}

/* Optional: Responsive */
@media (max-width: 768px) {
    .related-products h2 {
        font-size: 1.5rem;
        margin: 20px 0 15px 0;
    }
}
