/* Ensure both sections align horizontally */
.footer-row-equal {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo alignment + same line */
.footer-box-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-box-flex {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }
}

/* Unified logo size (same line visual balance) */
.footer-logo {
    height: 55px !important;
    width: auto !important;
}

/* Unified text style */
.footer-text {
    font-size: 14px;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}


.apldg-footer-bottom {
    background: #0d0d0d;
    padding: 25px 0;      /* increased from 15px to 35px */
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2px;     /* increased spacing above */
}

/* Product Page Styles */
.product-title { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.product-subtitle { font-size: 1rem; color: #666; margin-bottom: 15px; }
.product-price { font-size: 1.5rem; color: #d9534f; font-weight: 700; margin-bottom: 15px; }
.apldg-img-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;

    /* Responsive aspect ratio */
    aspect-ratio: 1 / 1; /* square product image */
    max-width: 100%;
    margin: 0 auto;
}
/* Main product image */
.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* no distortion */
    display: block;
}
.product-thumbnails img { cursor: pointer; border: 2px solid transparent; transition: 0.3s; margin-right:5px; }
.product-thumbnails img:hover, .product-thumbnails img.active { border-color: #d9534f; }
.btn-buy { background-color: #d9534f; color: #fff; font-weight: 600; padding: 12px 25px; border-radius: 5px; text-decoration: none; display: inline-block; margin-top: 10px; }
/* Fixed-size video container */
.video-wrapper.video-fixed {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;

    /* Responsive aspect ratio (16:9) */
    aspect-ratio: 16 / 9;
}


/* Video fills container */
.video-wrapper.video-fixed video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* keep full video visible */
}

.product-features ul { list-style: disc; padding-left: 20px; margin-top: 10px; }
.product-features ul li { margin-bottom: 8px; color: #333; font-size: 1rem; }
.apldg-portfolio-section { padding: 20px 0 !important; background-color: #f9faff; }
.slick-slide { outline: none; } /* Remove blue border on click */
.thumbnail-slider img { width: 80px; border-radius: 5px; cursor: pointer; margin-right: 5px; }
/* Thumbnail sizes */
.product-thumbnails img, 
.thumbnail-slider img {
width: 80px;      /* fixed width */
height: 80px;     /* fixed height */
object-fit: cover; /* ensures image covers the area without distortion */
border-radius: 5px;
cursor: pointer;
margin-right: 5px;
border: 2px solid transparent;
transition: 0.3s;
}

.product-thumbnails img:hover,
.product-thumbnails img.active,
.thumbnail-slider img:hover,
.thumbnail-slider img.active {
border-color: #d9534f;
}

/* Product detail slide wrapper */
.product-detail-slide {
    display: flex;
    justify-content: center;
}

/* Image container */
.product-detail-image-box {
    width: 1020px;              /* fixed container width */
    height: 1020px;             /* fixed container height */
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image itself */
.product-gallery-slider-for {
    width: 100%;
}

/* Each slide */
.product-detail-slide {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Full-width image container */
.product-detail-image-box {
    width: 100%;
    max-width: 1200px;          /* prevents over-stretching on large screens */
    height: 600px;
    background-color: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Image behavior */
.product-detail-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* keeps image proportions intact */
    border-radius: 10px;
}

/* Tablet */
@media (max-width: 992px) {
    .product-detail-image-box {
        height: 420px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .product-detail-image-box {
        height: 320px;
        padding: 12px;
    }
}

button.btn.btn-outline-secondary {
    background: #7450f7;
    color: #fff;
    border-radius: 0px;
    border: 0px;
}
.custom-button-modal {
     background: #7450f7;
}
.payment-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.product-extracted-text {
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
}

@media (max-width: 991px) {
    .product-extracted-text {
        text-align: center;
    }
}
.product-thumbnails img {
    max-width: 80px;
    cursor: pointer;
}

* {
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
}

.container, .row {
    overflow-x: hidden;
}
/* Ensure both columns stretch equally */
.product-main-row {
    display: flex;
    align-items: stretch;
}

/* Make inner blocks fill height */
.apldg-blog-right,
.apldg-blog-left {
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Sticky left product media */
.apldg-blog-right {
    position: sticky;
    top: 90px; /* header offset */
}

/* Image wrapper sizing */
.apldg-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .product-main-row {
        display: block;
    }

    .apldg-blog-right {
        position: relative;
        top: auto;
    }

    .apldg-img-wrapper {
        max-height: none;
        aspect-ratio: 1 / 1;
    }
}


