/* ===== PRODUCT PAGE (ISOLATED) ===== */

.tp-products {
    padding: 80px 0;
    background: #F7F9FB;
    font-family: 'Segoe UI', sans-serif;
}

.tp-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.tp-header {
    text-align: center;
    margin-bottom: 50px;
}

.tp-header h2 {
    font-size: 38px;
    color: #1F2A44;
    margin-bottom: 10px;
}

.tp-header p {
    color: #6c757d;
}

/* Grid */
.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Card */
.tp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(31, 182, 201, 0.3);
    transition: 0.3s;
}

.tp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Image */
.tp-img {
    overflow: hidden;
}

.tp-img img {
    height: 250px;
    width: 100%;
    transition: 0.4s;
}

.tp-card:hover .tp-img img {
    transform: scale(1.1);
}

/* Content */
.tp-content {
    padding: 20px;
}

.tp-content h3 {
    color: #1F2A44;
    margin-bottom: 10px;
}

.tp-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Bottom */
.tp-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-bottom span {
    font-weight: bold;
    color: #1FB6C9;
}

/* Button */
.tp-bottom button {
    background: #1FB6C9;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.tp-bottom button:hover {
    background: #1599a8;
}





/* Floating Wrapper */
.apx-profile-wrapper {
    position: fixed;   /* 🔥 MAIN CHANGE */
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 9999;
}

/* Circle */
.apx-profile-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e69b00;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    margin: auto;
    background: #fff;
}

.apx-profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Box */
.apx-profile-box {
    margin-top: 10px;
    background: #fff;
    padding: 10px 0;
    border-radius: 25px;
    width: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Button */
.apx-profile-btn {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: block;
}

.apx-profile-btn:hover {
    color: #f39c12;
}

@media (max-width: 768px) {
    .apx-profile-wrapper {
        right: 5px;
        top: auto;
        bottom: 90px;
        transform: none;
    }

    .apx-profile-circle {
        width: 90px;
        height: 90px;
    }

    .apx-profile-box {
        width: 110px;
    }
}



/* ===== time & pament page ===== */

.sd-profile-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 120px;
    margin-bottom: 40px;
    margin-left: 50px;
    margin-right: 50px;
}

/* CARD */
.sd-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* TITLE */
.sd-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    border-left: 4px solid #1abc9c;
    padding-left: 10px;
}

/* LIST STYLE */
.sd-list {
    list-style: none;
    padding-left: 0;
}

.sd-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #34495e;
}

.sd-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1abc9c;
    font-size: 18px;
}

/* INFO TEXT */
.sd-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #2c3e50;
}

/* QR BOX */
.sd-qr-box {
    margin-top: 15px;
    text-align: center;
}

.sd-qr-box img {
    width: 120px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sd-profile-wrapper {
        grid-template-columns: 1fr;
    }
}





/* GALLERY SECTION */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    transition: 0.5s;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(255, 159, 0, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: 0.4s;
    border-radius: 15px;
}

.gallery-overlay h5 {
    color: #fff;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}