.product-section {
    padding: 40px 0 60px;
}

/* ===== Breadcrumb ===== */
.custom-breadcrumb {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
}

.fixclass {
    position: sticky;
    top: 150px;
    align-self: flex-start;
    height: fit-content;
}

.custom-breadcrumb a {
    color: #b8b8b8;
    text-decoration: none;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: #fe6f61;
}

.custom-breadcrumb span.sep {
    margin-right: 12px;
    color: #b8b8b8;
}

.custom-breadcrumb .active {
    color: #111;
}

/* ===== Product image ===== */
.product-image {
    padding: 0px 0px;
    animation: floatImg 4s ease-in-out infinite;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

@keyframes floatImg {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ===== Product info ===== */
.product-title-sub {
    font-size: 20px;
    font-weight: 100;
    color: #9e9e9e;
    margin-bottom: 20px;
}

.product-title {
    font-size: 40px;
    font-weight: 600;
    color: #111;
    margin-bottom: 14px;
}

.product-ltr {
    font-size: 22px;
    font-weight: 600;
    color: #52658c;
    padding-bottom: 4px;
}

.product-desc {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 16px;
}

.stars {
    color: #f5c518;
    font-size: 16px;
    margin-right: 6px;
}

.review-count {
    color: #666;
    font-size: 14px;
}

.price-current {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-right: 10px;
}

.price-old {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
    margin-right: 14px;
}

.discount-txt {
    color: #666;
    font-size: 14px;
}

/* ===== Color swatches ===== */
.pick-color-label {
    font-weight: 700;
    color: #111;
    margin: 22px 0 12px;
    font-size: 16px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    border-color: #333;
    transform: scale(1.15);
}

/* ===== Quantity Box ===== */
.qty-box {
    display: flex;
    align-items: center;
    width: fit-content;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-box button {
    width: 42px;
    height: 42px;
    border: none;
    background: #f7f7f7;
    color: #111;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.qty-box button:hover {
    background: #111;
    color: #fff;
}

select,
.form-control,
.form-select,
textarea,
input {
    height: 55px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    width: 100%;
}


.qty-box input[type="number"] {
    width: 55px;
    height: 42px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    background: #fff;
    outline: none;
    padding: 0;
    border-radius: 0;
    -moz-appearance: textfield;
}

/* Remove Chrome number arrows */
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stock-text {
    color: #444;
    font-size: 14px;
}

/* ===== Buttons ===== */
.btn-buy,
.btn-cart {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 15px;
    min-width: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-buy {
    background: #fe6f61;
    color: #fff;
    border: 1px solid #fe6f61;
}

.btn-buy:hover {
    background: #52658c;
    transform: translateY(-2px);
    border-color: #52658c;
}

.btn-cart {
    background: #fff;
    color: #52658c;
    border: 1px solid #52658c;
}

.btn-cart:hover {
    background: #f0f6ff;
    transform: translateY(-2px);
}

hr.divider {
    margin: 30px 0;
    border-color: #e2e2e2;
}

/* ===== Feature list ===== */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    margin-top: 20px;
    transition: transform 0.3s ease;
    padding: 20px;
    background-color: #f0f6fa;
    border-radius: 15px;
}

.feature-item:hover {
    transform: translateX(6px);
}

.feature-item i {
    font-size: 22px;
    color: #52658c;
    margin-top: 4px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.15);
}

.feature-item h6 {
    font-weight: 700;
    color: #111;
    margin: 0 0 3px;
    font-size: 16px;
}

.feature-item p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* ===== Related posts header ===== */
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 20px;
}

.related-title {
    font-size: 40px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.carousel-nav {
    display: inline-flex;
    gap: 8px;
}

.nav-arrow {
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #fe6f61;
    color: #fff;
}


.pcolorc {
    background-color: #f2f2f2;
}

/* ===== Related cards ===== */
.related-card {
    border: 0px solid #e6e6e6;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding: 40px;
    background: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin: 5px;
}

.related-card:hover {
    transform: translateY(-8px);
}

.related-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fe6f61;
    color: #fff;
    padding: 3px 12px;
    font-size: 13px;
    z-index: 999;
    border-radius: 2px;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.related-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
}

.related-price {
    font-weight: 700;
    color: #111;
    margin-right: 8px;
}

.related-old {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

/* ===== Fade-in for whole page ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.30s;
}

.delay-3 {
    animation-delay: 0.45s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .custom-breadcrumb {
        font-size: 15px;
    }
    .fixclass{
        position: static;
    }

    .product-title {
        font-size: 26px;
    }

    .price-current {
        font-size: 24px;
    }

    .price-old {
        font-size: 18px;
    }

    .btn-buy,
    .btn-cart {
        min-width: 0;
        flex: 1;
        margin-bottom: 8px;
    }

    .related-card img {
        height: 160px;
    }
}

.more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
}

.more-content.open {
    max-height: 1500px;
}

.toggle-btn {
    margin-top: 15px;
    background: none;
    border: none;
    color: #52658c;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.toggle-btn:hover {
    text-decoration: underline;
}

.texture-image {
    position: absolute;
    right: 15%;
    top: 26%;
}

.texture-image img {
    max-width: 80px;
    transform: rotate(calc(192deg * 0.20));
    /* Equal to -72deg */

}


.marquee-section {
    background: #52658c;
    /* brown color from image */
    overflow: hidden;
    padding: 30px 0;
    width: 100%;
    position: relative;
}

/* Fade edges (optional soft blend on sides) */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, #7a5a3d, transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, #7a5a3d, transparent);
}

/* Track that scrolls */
.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}

/* Pause on hover (nice UX touch) */
.marquee-section:hover .marquee-track {
    animation-play-state: paused;
}

/* Each group of items */
.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-item {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 0 30px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Dot separator */
.marquee-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    margin-right: 30px;
    display: inline-block;
}

/* ===== Animation ===== */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* moves exactly one group */
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
    .marquee-section {
        padding: 16px 0;
    }

    .marquee-item {
        font-size: 14px;
        padding: 0 18px;
    }

    .marquee-item::before {
        width: 5px;
        height: 5px;
        margin-right: 18px;
    }

    .marquee-track {
        animation-duration: 22s;
        /* slightly faster on mobile */
    }
}