/**
 * Index Page Styles - Forever Shine
 * Extracted from index.php for proper separation of concerns
 */

/* ========== Gold Price Button ========== */
.gold-price-btn {
    background: linear-gradient(180deg, #1b1b1b 0%, #000 100%);
    color: #e7c77b;
    font-family: 'Cormorant Infant', serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 10px;
    text-decoration: none !important;
    border: 1.8px solid transparent;
    background-clip: padding-box;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 230, 160, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.9),
        0 4px 10px rgba(180, 140, 60, 0.45);
    transition: all 0.35s ease;
}

.gold-price-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1.6px;
    background: linear-gradient(
        135deg,
        #fff3c4,
        #f5d77a,
        #c9a24f,
        #f5d77a,
        #fff3c4
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gold-price-btn:hover {
    color: #fff8dc;
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 190, 0.35),
        0 6px 18px rgba(255, 215, 140, 0.55);
    transform: translateY(-1px);
}

.gold-price-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.gold-price-btn:hover i {
    transform: translateX(4px);
}

/* ========== Banner Text Styles ========== */
.banner-swiper .swiper-slide .text_lines h3 p,
#slider .sliderCont .slides .text_lines h3 p {
    font-size: 30px;
    font-family: 'Cormorant Infant', serif;
    text-transform: uppercase;
}

.product .productInner .imgHov img {
    width: 45%;
    aspect-ratio: 3 / 3;
}

.only_products {
    height: 330px;
}

#brands .brands ul {
    float: none;
    display: flex;
    justify-content: center;
}

.m-category .owl-nav {
    text-align: center;
    height: 1px;
    display: flex !important;
    justify-content: center;
}

a.register {
    background: #000;
    border-radius: 39px;
    border: none;
    outline: none;
    right: 13%;
    position: absolute;
}

a.register:hover {
    background: transparent;
    border-radius: 39px;
    border: 2px solid #000;
    outline: none;
    font-weight: 600;
    color: #000;
}

a.register {
    background: #000;
    border-radius: 39px;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 20px;
    outline: none;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

/* ========== Banner Swiper Styles ========== */
.banner-swiper-container {
    width: 100%;
    height: 470px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

@media screen and (max-width: 991px) {
    .banner-swiper-container {
        height: 500px;
    }
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-swiper .swiper-slide img,
.banner-swiper .swiper-slide picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-swiper .swiper-slide picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-swiper .swiper-slide .youtube-banner-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.banner-nav-next,
.banner-nav-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.banner-nav-next:hover,
.banner-nav-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.banner-nav-next::after,
.banner-nav-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.banner-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.banner-swiper .swiper-slide .text_lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    pointer-events: none;
}

.banner-swiper .swiper-slide .text_lines .container {
    pointer-events: auto;
}

@media screen and (max-width: 768px) {
    .banner-swiper-container {
        height: 160px;
    }

    .banner-swiper {
        height: 100%;
    }

    .banner-swiper .swiper-wrapper {
        height: 100%;
    }

    .banner-swiper .swiper-slide {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banner-swiper .swiper-slide img,
    .banner-swiper .swiper-slide picture,
    .banner-swiper .swiper-slide picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .banner-swiper .swiper-slide .youtube-banner-container {
        width: 100%;
        height: 100%;
        min-height: 0px !important;
        position: relative;
        background: #000;
    }

    .banner-swiper .swiper-slide .youtube-banner-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 56.25vw;
        min-height: 100%;
        min-width: 177.77vh;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .banner-nav-next,
    .banner-nav-prev,
    .banner-pagination {
        display: none !important;
    }
}

.sliderCont {
    height: 570px;
    margin-top: 10px !important;
}

@media screen and (max-width: 768px) {
    a.register,
    a.register {
        background: #000;
        border-radius: 39px;
        font-size: 10px;
        border: none;
        outline: none;
        padding-top: 2px;
        padding-bottom: 2px;
        position: absolute;
        top: unset;
        border: 30px;
        bottom: 30px;
        right: 36px;
    }

    a.register:hover,
    a.register:hover {
        background: transparent;
        border-radius: 39px;
        border: 2px solid #000;
        outline: none;
        font-weight: 600;
        color: #000;
    }
}

/* Mobile Banner Text Styles */
@media screen and (max-width: 768px) {
    .banner-swiper .swiper-slide .text_lines h3 p,
    #slider .sliderCont .slides .text_lines h3 p {
        font-size: 9px;
        font-family: 'Cormorant Infant', serif;
        text-transform: uppercase;
    }

    h3.banner-contetn {
        right: 20px;
        line-height: 1;
        text-align: right;
        top: 30px;
        position: absolute;
    }

    .banner-swiper .swiper-slide .text_lines h6,
    .slides .text_lines h6 {
        font-size: 14px;
        top: 15px;
        right: 30px;
        position: absolute;
        font-weight: 300;
        letter-spacing: 1px;
    }
}

.sliderCont {
    height: 167px !important;
    margin-top: 10px !important;
}

.h11 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ========== Inquiry Buttons ========== */
.inquiry-buttons-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.inquiry-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    min-width: 250px;
}

.inquiry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), transparent);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    pointer-events: none;
}

.inquiry-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    pointer-events: none;
}

.inquiry-btn:hover {
    background: linear-gradient(135deg, #ff7a4a 0%, #ffa01e 50%, #ff7a4a 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.inquiry-btn:active {
    transform: translateY(-1px);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.inquiry-btn i {
    font-size: 20px;
    display: inline-block;
}

.inquiry-btn .btn-text {
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    font-weight: 800;
}

.inquiry-btn-resell {
    background: linear-gradient(135deg, #2d8659 0%, #1e6b47 50%, #1a4d3a 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(15, 61, 42, 0.4);
}

.inquiry-btn-resell:hover {
    background: linear-gradient(135deg, #3a9d6b 0%, #2d8659 50%, #1e6b47 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(15, 61, 42, 0.5);
}

.inquiry-btn-design {
    background: linear-gradient(135deg, #2d8659 0%, #1e6b47 50%, #1a4d3a 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(15, 61, 42, 0.4);
}

.inquiry-btn-design:hover {
    background: linear-gradient(135deg, #3a9d6b 0%, #2d8659 50%, #1e6b47 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(15, 61, 42, 0.5);
}

/* Gold / Platinum / Silver Price Button overrides */
.gold-price-btn {
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: 'Cormorant Infant', serif;
}

.gold-price-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.gold-price-btn:hover {
    background: linear-gradient(135deg, #FFC700 0%, #FFD700 25%, #FFC700 50%, #D4AF37 75%, #B8860B 100%) !important;
    color: #1a1a1a !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(184, 134, 11, 0.5) !important;
    transform: translateY(-2px);
}

.gold-price-btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 -2px 4px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(15, 61, 42, 0.3) !important;
}

.platinum-price-btn {
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: 'Cormorant Infant', serif;
}

.platinum-price-btn:hover {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 25%, #C0C0C0 50%, #A9A9A9 75%, #808080 100%) !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
}

.silver-price-btn {
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: 'Cormorant Infant', serif;
}

.silver-price-btn:hover {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 25%, #C0C0C0 50%, #A9A9A9 75%, #808080 100%) !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .inquiry-buttons-container {
        gap: 20px;
        margin: 30px 0;
    }

    .inquiry-btn {
        min-width: 200px;
        padding: 15px 30px;
        font-size: 16px;
    }

    .inquiry-btn .btn-text {
        font-size: 16px;
    }

    .inquiry-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .inquiry-buttons-container {
        gap: 15px;
        margin: 20px 0;
        flex-direction: column;
        align-items: center;
    }

    .inquiry-btn {
        min-width: 100%;
        max-width: 300px;
        padding: 15px 25px;
        font-size: 15px;
    }

    .inquiry-btn .btn-text {
        font-size: 15px;
    }

    .inquiry-btn i {
        font-size: 16px;
    }
}

/* ========== Modal Styles ========== */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #c1a89f 0%, #b99589 100%);
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    border-bottom: none;
}

.modal-header .close {
    color: #fff;
    opacity: 0.9;
    font-size: 28px;
    font-weight: 300;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-title {
    font-weight: 700;
    font-size: 20px;
}

.modal-body {
    padding: 30px;
    min-height: 200px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 20px;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.upload-area {
    position: relative;
    width: 100%;
}

.upload-placeholder {
    border: 2px dashed #c1a89f;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-placeholder:hover {
    border-color: #b99589;
    background: #f5f5f5;
}

.image-preview-container {
    margin-top: 15px;
}

.image-preview-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

.delete-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.delete-image-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.metal-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.metal-option {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.metal-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.metal-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.metal-option input[type="radio"]:checked + .metal-label {
    border-color: #c1a89f;
    background: linear-gradient(135deg, #f8f4f2 0%, #f0e8e4 100%);
    color: #c1a89f;
    box-shadow: 0 2px 8px rgba(193, 168, 159, 0.3);
}

.metal-label:hover {
    border-color: #c1a89f;
    background: #fafafa;
}

.metal-option.is-invalid .metal-label {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.field-error {
    display: flex;
    align-items: center;
    gap: 5px;
}

.metal-label i {
    margin-right: 8px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #c1a89f;
    box-shadow: 0 0 0 3px rgba(193, 168, 159, 0.1);
    outline: none;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-left: none;
    color: #666;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #c1a89f 0%, #b99589 100%);
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b99589 0%, #a88275 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 168, 159, 0.4);
}

.price-breakdown {
    margin-top: 10px;
}

.price-breakdown > div {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.price-breakdown div[style*="display:flex"] {
    padding: 8px 0;
    font-size: 15px;
}

.price-breakdown strong {
    color: #333;
    font-weight: 700;
}

.price-breakdown .final-price {
    font-size: 24px;
    color: #28a745;
}

.images-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-preview-item .delete-image-item-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.image-preview-item .delete-image-item-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.invoice-preview-wrapper {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.delete-invoice-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.delete-invoice-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Platinum / Silver metallic button styles */
.platinum-price-btn {
    background: linear-gradient(180deg, rgb(255 255 255 / 0%), rgb(210 210 210 / 0%));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #2a2a2a;
    font-family: 'Cormorant Infant', serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 12px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(180, 180, 180, 0.8),
        0 6px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
}

.platinum-price-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1.4px;
    background: linear-gradient(
        135deg,
        #ffffff,
        #dcdcdc,
        #b5b5b5,
        #e6e6e6,
        #ffffff
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.platinum-price-btn:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.platinum-price-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.platinum-price-btn:hover i {
    transform: translateX(4px);
}

.silver-price-btn {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #2b2b2b;
    font-family: 'Cormorant Infant', serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 14px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(160, 160, 160, 0.6),
        0 6px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
}

.silver-price-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1.5px;
    background: linear-gradient(
        135deg,
        #ffffff,
        #dcdcdc,
        #bfbfbf,
        #eeeeee,
        #ffffff
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.silver-price-btn:hover {
    background: rgba(245, 245, 245, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.silver-price-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.silver-price-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .metal-type-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-dialog {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }

    .modal-content {
        max-height: calc(100vh - 20px);
        display: flex;
        flex-direction: column;
    }

    .modal-header {
        flex-shrink: 0;
    }

    .modal-body {
        overflow-y: auto;
        overflow-x: hidden;
        max-height: calc(100vh - 200px);
        padding: 20px 15px;
        -webkit-overflow-scrolling: touch;
    }

    .modal-footer {
        flex-shrink: 0;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .modal-body {
        max-height: calc(100vh - 180px);
        padding: 15px 10px;
    }
}

/* ========== View More Button ========== */
.view-more-btn:hover {
    background: linear-gradient(135deg, #b99589 0%, #a88275 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 168, 159, 0.4) !important;
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .sectionTitle {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .view-more-btn-header {
        display: none !important;
    }

    .view-more-btn-mobile-wrapper {
        display: block !important;
    }

    .view-more-btn-mobile {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ========== Banner Countdown ========== */
.banner-countdown-container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    z-index: 10;
    position: relative;
    width: 100%;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.67);
    padding: 12px 18px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
}

.countdown-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    color: #c1a89f;
    line-height: 1.2;
    font-family: 'Cormorant Infant', serif;
    display: block;
}

.countdown-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .banner-countdown-container {
        justify-content: center !important;
        gap: 6px !important;
        margin-top: 8px !important;
        padding: 0 5px !important;
        width: 100% !important;
        position: relative !important;
        bottom: 50px;
        right: -140px;
    }

    .banner-swiper .swiper-slide .text_lines {
        padding: 15px 10px !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .banner-swiper .swiper-slide .text_lines .container {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .banner-swiper .swiper-slide .text_lines .container h3.banner-contetn {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        text-align: center !important;
        margin-bottom: 8px !important;
        font-size: 14px !important;
        width: 100% !important;
    }

    .countdown-item {
        min-width: 30px !important;
        max-width: 20px;
        padding: 6px 4px !important;
        flex: 0 0 auto !important;
    }

    .countdown-value {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    .countdown-label {
        font-size: 4px !important;
        margin-top: 2px !important;
        letter-spacing: 0.3px !important;
    }
}

@media (max-width: 480px) {
    .banner-countdown-container {
        gap: 6px !important;
        margin-top: 8px !important;
        padding: 0 5px;
        right: -120px;
    }

    .countdown-item {
        min-width: 30px !important;
        max-width: 20px;
        padding: 6px 4px !important;
    }

    .countdown-value {
        font-size: 10px !important;
    }

    .countdown-label {
        font-size: 4px !important;
        margin-top: 2px;
    }

    .banner-swiper .swiper-slide .text_lines .container h3.banner-contetn {
        font-size: 12px !important;
        margin-bottom: 8px;
    }
}

@media (max-width: 360px) {
    .banner-countdown-container {
        gap: 4px !important;
    }

    .countdown-item {
        min-width: 40px !important;
        max-width: 45px;
        padding: 5px 3px !important;
    }

    .countdown-value {
        font-size: 14px !important;
    }

    .countdown-label {
        font-size: 7px !important;
    }
}

/* ========== Blog Slider ========== */
#homeBlog {
    display: block !important;
    visibility: visible !important;
}
.blog_j_img {
    width: 100%;
    height: 331px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog_j_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-slider .blog_inner {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
    margin: 10px;
}

/* ========== Share Popup ========== */
.share-popup .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.share-product-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========== Testimonial: smooth white area transition on hover ========== */
/* When hovering over a user image, the white background blob smoothly moves behind that user */
#testiTab li.tab_arrow {
    transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1), margin-left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
#testiTab li:nth-child(1):hover ~ li.tab_arrow {
    left: 10%;
    margin-left: -85px;
}
#testiTab li:nth-child(2):hover ~ li.tab_arrow {
    left: 30%;
    margin-left: -85px;
}
#testiTab li:nth-child(3):hover ~ li.tab_arrow {
    left: 50%;
    margin-left: -85px;
}
#testiTab li:nth-child(4):hover ~ li.tab_arrow {
    left: 70%;
    margin-left: -85px;
}
#testiTab li:nth-child(5):hover ~ li.tab_arrow {
    left: 90%;
    margin-left: -85px;
}

/* ========== Resell modal: side-by-side uploads + compact previews ========== */
#resellModal .resell-upload-split-row {
    margin-left: -10px;
    margin-right: -10px;
}

#resellModal .resell-upload-split-col {
    padding-left: 10px;
    padding-right: 10px;
}

#resellModal .resell-upload-section-title {
    font-size: 15px;
    margin-bottom: 10px;
}

#resellModal .resell-upload-hint {
    margin: 0 0 8px 0;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}

#resellModal .resell-upload-placeholder {
    padding: 53px 12px;
}

#resellModal .resell-upload-placeholder-icon {
    font-size: 32px;
    color: #c1a89f;
    margin-bottom: 8px;
    display: block;
}

#resellModal .resell-upload-placeholder-text {
    margin: 0;
    color: #666;
    font-size: 13px;
}

#resellModal .resell-upload-placeholder-sub {
    color: #999;
    font-size: 12px;
}

#resellModal .resell-cert-file-row {
    padding: 8px 10px;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#resellModal .resell-cert-file-icon {
    font-size: 22px;
    color: #c1a89f;
    margin-right: 0;
    flex-shrink: 0;
}

#resellModal .resell-cert-file-name {
    color: #333;
    font-weight: 600;
    font-size: 12px;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

#resellModal .resell-cert-delete-btn {
    width: 26px;
    height: 26px;
    margin-left: auto;
    flex-shrink: 0;
}

#resellModal .resell-cert-image-preview-host {
    margin-top: 8px;
}

#resellCertificateImagePreview>.resell-cert-thumb {
    /*max-width: 64px;*/
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    object-fit: contain;
    display: block;
}

#resellModal .resell-product-preview-wrap {
    margin-top: 8px;
}

#resellModal .resell-product-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 6px;
    margin-top: 8px;
}

#resellModal .resell-product-preview-grid .image-preview-item img {
    height: 52px;
}

#resellModal .resell-product-preview-grid .image-preview-item .delete-image-item-btn {
    width: 20px;
    height: 20px;
    font-size: 10px;
    top: 2px;
    right: 2px;
}

@media (max-width: 767px) {
    #resellModal .resell-upload-split-col + .resell-upload-split-col {
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid #eee;
    }
}
