/** @format */

[type='number'] {
    -moz-appearance: textfield;
}

:root {
    --navy: #003867;
    --amber: #ffdf00;
    --text-primary-emphasis: #0056b3; /* Adjusted shade */
    --text-secondary-emphasis: #4d5459; /* Adjusted shade */
    --text-success-emphasis: #1c6c31; /* Adjusted shade */
    --text-info-emphasis: #0e7480; /* Adjusted shade */
    --text-warning-emphasis: #b38600; /* Adjusted shade */
    --text-danger-emphasis: #96202b; /* Adjusted shade */
}

.br-1 {
    border-radius: 5px;
}
.br-2 {
    border-radius: 10px;
}
.br-3 {
    border-radius: 15px;
}
.br-4 {
    border-radius: 20px;
}
.br-5 {
    border-radius: 999px;
}
.bg-dongker {
    background-color: #003867;
    color: #f1f1f1;
}
.bg-additions {
    background-color: #e3f0ff;
}
.bg-deduction {
    background-color: #ffe3e3;
}
.bg-darklight {
    background-color: #e7e7e7;
}
.bg-footer {
    background-color: #191717;
}
.dashboard-wrapper {
    position: relative;
    height: 100%;
    background-color: #fff;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); /* Menambahkan bayangan tipis */
}

/* Container */
.container-fluid {
    padding: 10px;
}
.container-center {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
}
.container-scrolly {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
}
.container-scrollx {
    width: 100%;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
}
.hero-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero {
    position: absolute;
    background-image: url('../img/slider.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    background-color: #121240cf;
    background-image: url('../img/overlay.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 50vw auto;
    opacity: 0.9;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-overlay img {
    max-width: 80%;
    max-height: 80%;
    opacity: 0.9;
}
.hero-content {
    position: absolute;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    color: white;
    z-index: 3;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}
.hero-content h1 {
    font-size: 58px;
    font-weight: 600;
}
.hero-content p {
    margin-top: 1rem;
    font-size: 18px;
}
.btn-hero {
    border-radius: 10px;
    color: black;
    background-color: #ffd700;
    font-weight: 600;
    padding: 10px 14px;
}
.container-fullwidth {
    width: 100%;
}
.container-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    justify-content: center;
}
.container-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}
/* Box styling */
.simple-box {
    background-color: #fff;
    color: #32445c;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-box {
    padding: 0;
    color: #fff;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
}
.footer-box .nav-link {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}
.footer-box .nav-link:hover {
    color: #ffd700 !important;
}
/* Box hover effect */
.simple-box:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
/* Icon circle styling */
.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #f49f04;
    color: #32445c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-circle:hover {
    transform: scale(1.2); /* Slightly enlarge icon on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
/* Title and Description Styling */
.title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #32445c;
}
.description {
    font-size: 1rem;
    color: #191717;
}
/* Responsive Design */
@media (max-width: 480px) {
    .desktop-mode {
        display: none;
    }
    .mobile-mode {
        display: block;
    }
    .container-4,
    .container-3 {
        grid-template-columns: 1fr;
    }
    .hero-content {
        top: 20%;
        width: 100%;
        text-align: center;

        h1 {
            font-size: 2.2rem;
            margin-bottom: 20px;
        }
        p {
            font-size: 0.875rem;
        }
    }
    .simple-box {
        min-height: 200px;
    }
    .footer-box {
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}
@media (min-width: 490px) {
    .desktop-mode {
        display: none;
    }
    .mobile-mode {
        display: block;
    }
    .container-4,
    .container-3 {
        grid-template-columns: 1fr;
    }
    .hero-content {
        top: 20%;
        width: 100%;
        text-align: center;

        h1 {
            font-size: 2.2rem;
            margin-bottom: 20px;
        }
        p {
            font-size: 0.875rem;
        }
    }
    .simple-box {
        min-height: 230px;
    }
    .footer-box {
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}
@media (min-width: 768px) {
    .desktop-mode {
        display: block;
    }
    .mobile-mode {
        display: none;
    }
    .container-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .container-3 {
        grid-template-columns: 1fr;
    }
    .simple-box {
        min-height: 250px;
    }
}
@media (min-width: 992px) {
    .desktop-mode {
        display: block;
    }
    .mobile-mode {
        display: none;
    }
    .container-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .container-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-content {
        top: 20%;
        width: 50%;
        text-align: left;
        h1 {
            font-size: 58px;
            font-weight: 600;
            text-align: left;
        }
        p {
            margin-top: 1rem;
            font-size: 18px;
            text-align: left;
        }
        .btn-hero {
            text-align: left;
        }
    }
    .simple-box {
        min-height: 300px;
    }
}
@media (min-width: 1200px) {
    .desktop-mode {
        display: block;
    }
    .mobile-mode {
        display: none;
    }
    .container-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .container-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-content {
        top: 20%;
        width: 50%;
        text-align: left;
        h1 {
            font-size: 58px;
            font-weight: 600;
            text-align: left;
        }
        p {
            margin-top: 1rem;
            font-size: 18px;
            text-align: left;
        }
        .btn-hero {
            text-align: left;
        }
    }
    .simple-box {
        min-height: 300px;
    }
    .footer-box figure,
    .footer-box ul {
        text-align: left;
        align-items: left;
        justify-content: left;
    }
}
@media (min-width: 1600px) {
    .desktop-mode {
        display: block;
    }
    .mobile-mode {
        display: none;
    }
    .container-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .container-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-content {
        width: 35%;
        top: 35%;
        h1 {
            font-size: 58px;
            font-weight: 600;
            text-align: left;
        }
        p {
            margin-top: 1rem;
            font-size: 18px;
            text-align: left;
        }
        a {
            text-align: left;
        }
        .btn-hero {
            text-align: left;
        }
    }
    .simple-box {
        min-height: 300px;
    }
}
.file-download i {
    margin-right: 5px;
    color: #595959;
}
/* Styles */
.pagetitle {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #002748;
}

.dark-mode .pagetitle {
    color: #f7f7f7;
}

.pagetitle h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.pagetitle h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.pagetitle h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.pagetitle h4 {
    font-size: 1rem;
    font-weight: 700;
}

.pagetitle h5 {
    font-size: 0.875rem;
    font-weight: 700;
}

.pagetitle h6 {
    font-size: 0.75rem;
    font-weight: 700;
}

.pagetitle span {
    font-size: 0.875rem;
    color: #393939;
    font-weight: 400;
}

.underline-center h1 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
}
.underline-center h1:after {
    width: 100px;
    height: 5px;
    display: block;
    content: '';
    position: relative;
    margin-top: 25px;
    left: 50%;
    margin-left: -50px;
    background-color: #d70f19;
}
.no-link {
    color: inherit !important;
    text-decoration: none;
}
.font-12 {
    font-size: 0.75rem;
}
.font-14 {
    font-size: 0.875rem;
}
.font-16 {
    font-size: 1rem;
}
.font-18 {
    font-size: 1.125rem;
}
.font-20 {
    font-size: 1.25rem;
}

.fw-bold {
    font-weight: 600;
}
.fw-normal {
    font-weight: 500 !important;
}
.fw-thin {
    font-weight: 400 !important;
}
.text-navy {
    color: var(--navy);
}
.text-primary-emphasis {
    color: var(--primary-text-emphasis);
}
.text-secondary-emphasis {
    color: var(--secondary-text-emphasis);
}
.text-success-emphasis {
    color: var(--success-text-emphasis);
}
.text-info-emphasis {
    color: var(--info-text-emphasis);
}
.text-warning-emphasis {
    color: var(--warning-text-emphasis);
}
.text-danger-emphasis {
    color: var(--danger-text-emphasis);
}
.text-gold {
    color: #ffd700 !important;
}
.text-question {
    color: #32445c !important;
    font-weight: 600;
}
.dark-mode .text-gold {
    color: #ffd700 !important;
}
/* Max width - Min width */
.mw-2 {
    min-width: 2rem;
    max-width: 3rem;
}
.mw-4 {
    min-width: 4rem;
    max-width: 5rem;
}
.mw-6 {
    min-width: 6rem;
    max-width: 7rem;
}
.mw-8 {
    min-width: 8rem;
    max-width: 9rem;
}
.mw-10 {
    min-width: 10rem;
    max-width: 11rem;
}
.mw-12 {
    min-width: 12rem;
    max-width: 13rem;
}
.mw-14 {
    min-width: 14rem;
    max-width: 15rem;
}
.mw-16 {
    min-width: 16rem;
    max-width: 17rem;
}
.mw-18 {
    min-width: 18rem;
    max-width: 19rem;
}
.mw-20 {
    min-width: 20rem;
    max-width: 21rem;
}
.mw-22 {
    min-width: 22rem;
    max-width: 23rem;
}
.mw-24 {
    min-width: 24rem;
    max-width: 25rem;
}
.mw-26 {
    min-width: 26rem;
    max-width: 27rem;
}
.mw-28 {
    min-width: 28rem;
    max-width: 29rem;
}
.mw-30 {
    min-width: 30rem;
    max-width: 31rem;
}

.h-25 {
    height: 25px;
}
.h-50 {
    height: 50px;
}
.h-75 {
    height: 75px;
}
.h-100 {
    height: 100px;
}
/* Padding Top Bottom */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
/* Styles */
.no-wrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 17rem;
}
.pagecontent {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
}
.nav-underline {
    gap: 1rem;
}
.nav-underline .nav-link {
    padding-right: 0;
    padding-left: 0;
    border: none;
    color: #292929;
    border-bottom: 0.125rem solid transparent;
    background-color: transparent;
}
.nav-underline.nav-link.active:first-child {
    border-left: none;
}
.nav-underline .nav-link:focus,
.nav-underline .nav-link:hover {
    border-bottom-color: currentcolor;
    background-color: transparent;
}
.nav-underline .nav-link.active,
.nav-underline .show > .nav-link {
    font-weight: 700;
    color: #000;
    border-bottom-color: #0d6efd;
    background-color: transparent;
}
input[type='file']::file-selector-button {
    margin-right: 20px;
    border: 1px solid #007bff;
    background: transparent;
    padding: 3px 10px 3px 10px;
    border-radius: 3px;
    font-size: 14px;
    color: #191717;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

input[type='file']::file-selector-button:hover {
    color: #fff;
    background: #007bff;
}

.loading .icon {
    font-size: 48px;
}

.loading span {
    font-size: 1rem;
    font-weight: 600;
}
.text-short {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
img:not([src]) {
    background-image: url('../../../assets/img/users/default.png');
    background-size: cover;
}
.fa-danger {
    color: #dc3545;
}
.fa-primary {
    color: #007bff;
}
.fa-info {
    color: #17a2b8;
}
.fa-warning {
    color: #ffc107;
}
.fa-success {
    color: #28a745;
}
.fa-secondary {
    color: #6c757d;
}
.fa-navy {
    color: #1a4b80;
}
.fa-pink {
    color: #e83e8c;
}
.slider-container {
    width: 100%;
    background: transparent;
    border-radius: 12px;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}
.slider {
    display: flex;
    width: max-content;
    animation: slideLeft 20s linear infinite;
}
.slider:hover {
    animation-play-state: paused;
}
.client {
    height: auto;
    width: 300px;
    object-fit: cover;
    margin: 0 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s, color 0.3s;
    cursor: default;
}
.client:hover {
    transform: scale(1.1);
}
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.category-section {
    max-width: 100%;
    margin-top: 2rem;
    position: relative;
}
.pill-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.pill-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none; /* Firefox */
}
.pill-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.category-pill {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    color: #32445c;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    border: 1px solid #b2b2b2;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}
.category-pill:hover {
    background: linear-gradient(135deg, #32445c 0%, #0b2240 100%);
    color: #fff;
}
/* Icon wrapper style */
.category-pill svg {
    width: 22px;
    height: 22px;
    fill: #32445c;
    flex-shrink: 0;
}
/* Scroll buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 32, 107, 0.85);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 10;
}
.scroll-btn:disabled {
    background: rgba(100, 100, 130, 0.4);
    cursor: default;
}
.scroll-btn:hover:not(:disabled) {
    background: rgba(42, 32, 107, 1);
}
.scroll-btn.left {
    left: -40px;
}
.scroll-btn.right {
    right: -40px;
}
/* Chevron icons */
.scroll-btn svg,
.scroll-btn i {
    width: 16px;
    height: 16px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}
/* Responsive: hide scroll buttons on small screens */
@media (max-width: 600px) {
    .scroll-btn {
        display: none;
    }
    .category-section {
        margin: 1rem 0;
        max-width: 100%;
    }
}
.headerstyle header {
    background: linear-gradient(135deg, #0b2240, #32445c);
    padding: 4rem 1rem;
    text-align: center;
    color: #e0eaf9;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.3);
    position: relative;
    overflow: hidden;
}
.headerstyle header::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.15) 15%,
        transparent 70%
    );
    transform: rotate(25deg);
    pointer-events: none;
}
.headerstyle header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}
.headerstyle header span {
    font-size: 1.2rem;
    font-weight: 400;
    color: #dce8fa;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 4rem 0;
}
.catalog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.catalog-card:hover {
    cursor: pointer;
}
.catalog-image {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    object-fit: cover;
}
.catalog-info {
    padding: 1.2rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.catalog-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}
.catalog-description {
    flex-grow: 1;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.catalog-category {
    font: 600 0.875rem 'Open Sans', sans-serif;
    color: #666;
    margin-top: auto;
}
footer {
    text-align: center;
    padding: 1rem;
    color: #888;
    font-size: 0.9rem;
}
@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
}
.catalog-wrapper {
    position: relative;
    width: 100%;
}
.catalog-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    gap: 16px;
    scrollbar-width: none; /* Firefox */
}
.catalog-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.catalog-container::-webkit-scrollbar {
    height: 8px;
}
.catalog-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.catalog-container::-webkit-scrollbar-track {
    background: #eee;
}
.product-card {
    flex: 0 0 auto;
    width: 160px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.07);
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}
.product-card:hover {
    cursor: pointer;
}
.product-image {
    width: 100%;
    height: 120px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
    background: #ccc;
}
.product-info {
    padding: 12px;
    text-align: center;
}
.product-name {
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    font-size: 1rem;
}
.product-price {
    color: #4caf50;
    font-size: 0.9rem;
    font-weight: bold;
}
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #32445c;
    border: none;
    color: #f49f04;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease;
    user-select: none;
    z-index: 10;
}
.scroll-button:hover {
    background-color: #32445c;
    color: #f49f04;
}
.scroll-button:disabled {
    background-color: #5a697c;
    cursor: default;
    box-shadow: none;
}
.scroll-left {
    left: -20px;
}
.scroll-right {
    right: -20px;
}
/* Mobile styles: hide scroll buttons and adjust margins */
@media (max-width: 600px) {
    .catalog-wrapper {
        width: 100vw;
        max-width: 100%;
        padding: 0 10px;
    }
    .scroll-button {
        display: none;
    }
    .catalog-container {
        position: relative;
    }
    .catalog-container::before,
    .catalog-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 5;
    }
    .catalog-container::before {
        left: 0;
        background: linear-gradient(
            to right,
            rgba(244, 247, 248, 0.9),
            transparent
        );
    }
    .catalog-container::after {
        right: 0;
        background: linear-gradient(
            to left,
            rgba(244, 247, 248, 0.9),
            transparent
        );
    }
}
svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/*
* Custom Product Details
*/
.product-detail .pdetail {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}
/* IMAGE GALLERY */
.product-detail .gallery {
    flex: 1 1 350px;
    max-width: 500px;
}
.product-detail .main-image {
    background-color: transparent;
    max-width: 500px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    cursor: pointer;
}
.product-detail .main-image img {
    max-width: 500px;
    max-height: 500px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    background-color: transparent;
}
.product-detail .main-image:hover img {
    transform: scale(1.05);
}
.product-detail .thumbnails {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.product-detail .thumbnail {
    flex: 1 0 70px;
    max-width: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}
.product-detail .thumbnail.selected {
    border-color: #0078d7;
}
.product-detail .thumbnail img {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: cover;
    align-items: center;
}
/* PRODUCT DETAILS */
.product-detail .details {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}
.product-detail .pdetail-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #222;
}
.product-detail .description,
.product-detail .shipping {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}
.product-detail .contactus {
    margin-top: 1rem;
}
.contactus .btn-contactus {
    background: green;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

/* Recommended products section */
.recommended {
    max-width: 960px;
    margin: 0 auto;
}
.recommended h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.recommend-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recommend-item:hover,
.recommend-item:focus {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    outline: none;
}
.recommend-item img {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.recommend-item p {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    margin: 0;
}
.recommend-item span {
    font-size: 0.785rem;
    font-weight: 600;
    color: #666;
    margin: 0;
}
/* Responsive */
@media (max-width: 768px) {
    .pdetail {
        flex-direction: column;
        align-items: center;
    }
    .gallery,
    .details {
        max-width: 100%;
        flex: none;
    }
    .thumbnails {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .thumbnail {
        flex: 0 0 auto;
    }
}
.container-contactus {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    animation: fadeInUp 1s ease forwards;
}
.contactus .left,
.contactus .right {
    padding: 40px 50px;
    flex: 1 1 400px;
    min-width: 280px;
}
.contactus .left {
    background: #122845;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.contactus .left h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 1.6px;
}
.contactus .left p.intro {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #fff;
    max-width: 380px;
}
.contactus .contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.contactus .info-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
    gap: 15px;
    color: #fff;
}
.contactus .info-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke: #cfc0f7;
    stroke-width: 1.8;
    fill: none;
}
/* Right column - form */
.contactus .right h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #122845;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
}
.contactus form {
    display: flex;
    flex-direction: column;
}
.contactus label {
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 18px;
    color: #122845;
}
.contactus input[type='text'],
.contactus input[type='email'],
.contactus textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 40px;
    width: 100%;
}
.contactus input[type='text']:focus,
.contactus input[type='email']:focus,
.contactus textarea:focus {
    border-color: #764ba2;
    outline: none;
    box-shadow: 0 0 8px rgba(118, 75, 162, 0.33);
}
.contactus textarea {
    min-height: 100px;
    font-family: 'Poppins', sans-serif;
}
.contactus .btn-contactus {
    margin-top: 30px;
    padding: 14px 20px;
    font-size: 1.1rem;
    color: white;
    background: #122845;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1.2px;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 240px;
    align-self: center;
}
.contactus .btn-contactus:hover {
    background: #122845;
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(90, 45, 130, 0.3);
}
.contactus .btn-contactus:active {
    transform: translateY(-1px);
    box-shadow: none;
}
@media (max-width: 900px) {
    .contactus .container-contactus {
        flex-direction: column;
        border-radius: 15px;
        padding: 0;
    }
    .contactus .left,
    .contactus .right {
        padding: 30px 35px;
        min-width: 100%;
    }
    .contactus .left {
        order: 1;
    }

    .contactus .right {
        order: 2;
    }
    .contactus .left p.intro {
        max-width: 100%;
    }
    button {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contactus .left h2,
    .contactus .right h2 {
        font-size: 1.6rem;
    }
    .contactus .left p.intro {
        font-size: 1rem;
    }
    .contactus label {
        margin-top: 14px;
        font-size: 0.95rem;
    }
    .contactus input[type='text'],
    .contactus input[type='email'],
    .contactus textarea {
        font-size: 0.95rem;
        min-height: 36px;
    }
    .contactus btn-contactus {
        font-size: 1rem;
        padding: 12px 18px;
    }
    .contactus .info-item {
        font-size: 0.9rem;
    }
    .contactus .info-item svg {
        width: 20px;
        height: 20px;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.btn-login {
    position: relative;
    background: #0078d7;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}
.btn-login:hover {
    background: #0056b3;
    color: #fff;
}
.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}
.category-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-box:hover,
.category-box:focus {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.category-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 0.5rem;
}
.category-name {
    font-weight: 600;
    font-size: 1.25rem;
    color: #444;
}
/* Responsive text scaling on very small devices */
@media (max-width: 460px) {
    .category-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }
    .cat .category-box {
        padding: 1rem;
    }
    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }
    .category-name {
        font-size: 1rem;
    }
}
.container-vm {
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 4rem 0 6rem 0;
}
.box-vm {
    padding: 2rem 3rem 3.5rem;
    background: white;
    color: #2c3e50;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    gap: 3.5rem;
}
.section-vm {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.section-vm h2 {
    font-weight: 700;
    font-size: 1.9rem;
    margin: 0 0 0.8rem;
    position: relative;
    color: #32445c;
}
/* Underline accent for each section title */
.section-vm h2::after {
    content: '';
    width: 72px;
    height: 4px;
    background: #f49f04;
    display: block;
    border-radius: 3px;
    margin-top: 5px;
    transition: width 0.3s ease;
}
.section-vm:hover h2::after {
    width: 110px;
}
/* Vision paragraph */
.section-vm.visi p {
    font-size: 1.15rem;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: #333;
    user-select: text;
}
/* Mission list styling */
.section-vm.misi p {
    font-size: 1.15rem;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: #333;
    user-select: text;
}
.section-vm.misi ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.section-vm.misi ul li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1rem;
    font-size: 1.12rem;
    line-height: 1.5;
    color: #444;
}
.section-vm.misi ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 14px;
    height: 14px;
    background: #f49f04;
    border-radius: 50%;
    box-shadow: 0 0 8px #f49f04;
    animation: pulsing 1.4s ease-in-out infinite;
    transform-origin: center;
}
.section-vm.misi ul li:nth-child(1)::before {
    animation-delay: 0s;
}
.section-vm.misi ul li:nth-child(2)::before {
    animation-delay: 0.25s;
}
.section-vm.misi ul li:nth-child(3)::before {
    animation-delay: 0.5s;
}
.section-vm.misi ul li:nth-child(4)::before {
    animation-delay: 0.75s;
}
.section-vm.misi ul li:nth-child(5)::before {
    animation-delay: 1s;
}
@keyframes pulsing {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}
.divider-rgb {
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #f49f04, #2563eb);
    border-radius: 2px;
    margin: 0 10px;
}
@media (max-width: 720px) {
    .box-vm {
        flex-direction: column;
        gap: 2.5rem;
    }
    .divider-rgb {
        width: 100%;
        height: 4px;
        margin: 0;
    }
}
@media (max-width: 360px) {
    .box-vm {
        padding: 1.5rem 1.2rem 2rem;
    }
    .section-vm h2 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    .section-vm p,
    .section-vm ul li {
        font-size: 1rem;
    }
}
.small-images {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    gap: 12px;
    justify-content: start;
    align-items: center;
}
.small-images img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px #32445c;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}
.small-images img:hover,
.small-images img:focus {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(171, 71, 243, 0.6);
    border-color: #32445c;
    outline: none;
    z-index: 5;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
/* 5 per row on large screens */
/* Images style */
.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(171, 71, 243, 0.1), inset 0 0 15px #f7e7ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover,
.gallery-grid img:focus {
    transform: scale(1.05);
    box-shadow: 0 0 18px #32445c, inset 0 0 20px #ebd7ff;
    outline: none;
    z-index: 10;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}
@media (max-width: 720px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: #32445c;
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
    padding: 15px;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 0 30px #fad89a;
    object-fit: contain;
    animation: scaleIn 0.3s ease forwards;
}
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
