@import url('https://cdn.jsdelivr.net/npm/@glidejs/glide@3.6.0/dist/css/glide.core.min.css');

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    position: relative !important;
}

.model-unic-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 100 !important;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
    animation: pulseGlow 2s ease-in-out infinite !important;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}

.model-unic-badge-img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
}

.model-unic-badge-text {
    color: white !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
}

@media (max-width: 768px) {
    .model-unic-badge {
        top: 8px !important;
        left: 8px !important;
        padding: 6px 10px !important;
    }

    .model-unic-badge-img {
        width: 16px !important;
        height: 16px !important;
    }

    .model-unic-badge-text {
        font-size: 10px !important;
    }
}

.custom-pdp-alert {
    width: 100%;
    background: linear-gradient(to bottom, black, transparent),    linear-gradient(to right, black, transparent),    red !important;
    padding: 18px 25px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    position: sticky;
    top: 107px;
    z-index: 999;
    overflow: hidden;
}

.custom-pdp-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.custom-pdp-alert-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.alert-icon {
    color: white;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.alert-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.alert-link {
    color: white;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.alert-link:hover {
    opacity: 0.8;
    color: white;
}

.alert-link:visited {
    color: white;
}

.model-unic-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content-wrapper {
    position: relative;
    max-width: 900px;
    width: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.modal-image-container {
    width: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.modal-images-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
}

.modal-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.modal-image {
    height: 380px !important;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-image-1 {
    z-index: 1;
}

.modal-image-item:first-child {
    margin-right: -80px;
}

.modal-image-2 {
    z-index: 2;
    margin-top: 40px;
}

.modal-image-link {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    background: white;
    border: 2px solid #000;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.modal-image-link:visited {
    color: #000;
}

.modal-image-link:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-image-link:hover:visited {
    color: white;
}

.modal-text {
    padding: 40px;
    background: white;
}

.modal-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: center;
}

.modal-statement {
    font-style: italic;
    margin-top: 20px !important;
}

@media (max-width: 768px) {
    .custom-pdp-alert {
        padding: 15px 20px;
        top: 87px;
    }

    .alert-text {
        font-size: 17px;
    }

    .alert-icon {
        width: 20px;
        height: 20px;
    }

    .modal-content-wrapper {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-image-container {
        padding: 30px 20px;
        overflow-x: hidden;
    }

    .modal-images-wrapper {
        max-width: 100%;
    }

    .modal-image-item {
        width: auto;
    }

    .modal-image-item:first-child {
        margin-right: -40px;
        margin-left: -60px;
    }

    .modal-image-item:last-child {
        margin-right: -60px;
    }

    .modal-image {
        height: 210px !important;
        width: auto;
    }

    .modal-image-2 {
        margin-top: 40px;
    }

    .modal-image-link {
        font-size: 15px;
        padding: 8px 16px;
    }

    .modal-text {
        padding: 25px;
    }

    .modal-text p {
        font-size: 18px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 15px;
        right: 15px;
    }
}


.mag-post-single,
.post-thumbnail,
.woocommerce-tabs,
.related.products,
.entry-header,
.entry-footer,
.woocommerce-breadcrumb,
.woo-variation-product-gallery,
.woo-variation-gallery-wrapper,
.woocommerce-product-gallery {
    display: none !important;
}

.summary .variations_form,
.summary .cart {
    display: none !important;
}

.summary.entry-summary {
    float: none !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 !important;
}

body.single-product {
    overflow-x: hidden !important;
}

.ascendoor-wrapper {
    padding: 0 !important;
    max-width: 100% !important;
}

.entry-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.entry-content > .woocommerce {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.custom-pdp-full-container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.custom-carousel-glide {
    width: 100vw;
    height: 85vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.glide__track {
    height: 100%;
    width: 100%;
}

.glide__slides {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.glide__slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transform: scale(0.85);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.glide__slide--active {
    opacity: 1;
    transform: scale(1.02);
    z-index: 10;
}

.carousel-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.carousel-slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 95%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    pointer-events: none;
    user-select: none;
}

.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.glide__arrow:hover {
    background: #000;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.glide__arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transition: border-color 0.3s ease;
}

.glide__arrow:hover::before {
    border-color: white;
}

.glide__arrow--left::before {
    transform: rotate(135deg);
    margin-left: 3px;
}

.glide__arrow--right::before {
    transform: rotate(-45deg);
    margin-right: 3px;
}

.glide__arrow--left {
    left: 25px;
}

.glide__arrow--right {
    right: 25px;
}

.custom-product-info-centered {
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-product-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 0;
    width: 100%;
}

.custom-product-title {
    font-size: 42px;
    margin: 0;
    color: #000;
    font-weight: bold;
    letter-spacing: -0.5px;
    text-align: center;
}

.custom-product-price {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    color: #000;
    white-space: nowrap;
}

.custom-variations {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-end;
}

.custom-attribute {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-attribute label {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.custom-attribute-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-attribute-btn {
    padding: 12px 24px;
    border: 1px solid #000;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
    color: #000;
}

.custom-attribute-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.custom-attribute-btn.selected {
    background: #000;
    color: white;
}

.custom-add-to-cart-wrapper {
    display: flex;
    align-items: flex-end;
}

.custom-add-to-cart {
    background: #000;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.custom-add-to-cart:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.custom-add-to-cart.added {
    background: #27ae60;
}

.custom-add-to-cart:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.custom-simple-product-cart {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.custom-simple-product-cart .custom-add-to-cart-wrapper {
    display: flex;
    justify-content: center;
}

.custom-simple-product-cart .custom-add-to-cart {
    padding: 14px 50px;
    font-size: 17px;
}

.custom-info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 60px 0;
    margin-left: auto;
    margin-right: auto;
}

.custom-info-box {
    display: flex;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    min-height: 140px;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.custom-info-box-image {
    height: 100%;
    width: 30%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px 0px 25px;
    background: #000;
}

.custom-info-box-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 17px;
}

.custom-info-box-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-info-box-title {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.custom-info-box-price {
    color: #e74c3c;
    margin-left: 5px;
}

.custom-info-box-description {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
    margin: 0;
}

.custom-product-description-section {
    padding: 0 20px;
}

.description-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.product-description-content {
    text-align: left;
    color: #333;
    font-size: 18px;
    line-height: 1.9;
    max-width: 1000px;
    margin: 0 auto;
}

.product-description-content p {
    margin: 0 0 25px 0;
}

.expandable-boxes-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(474px, 1fr)) !important;
    gap: 20px;
    max-width: 100vw;
    margin: 60px auto;
    padding: 0 20px;
    justify-items: center;
}

.expandable-box {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100%;
}

.expandable-box-link {
    display: block;
    width: 100%;
    padding: 40px 45px;
    background: white;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    border: 3px solid #000;
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
}

.expandable-box-link:visited,
.expandable-box-link:focus,
.expandable-box-link:active {
    color: #fff;
    outline: none;
}

.expandable-box-link:hover {
    background-color: #000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    outline: none;
}

.expandable-content {
    width: 100%;
    background: #f9f9f9;
    border: 3px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 35px;
    box-sizing: border-box;
    margin-top: -12px;
}

.expandable-content p {
    margin: 0 0 18px 0;
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

.expandable-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.expandable-content table th,
.expandable-content table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    color: #333;
}

.expandable-content table th {
    background: #000;
    color: #fff;
    font-weight: bold;
}

.expandable-content ul,
.expandable-content ol {
    margin: 20px 0;
    padding-left: 30px;
    color: #333;
}

.expandable-content li {
    margin-bottom: 12px;
    color: #333;
    line-height: 1.8;
}

.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #e0e0e0;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 18px 25px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-bottom-bar.visible {
    transform: translateY(0);
}

.sticky-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.sticky-bar-image {
    width: 70px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sticky-bar-details {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
}

.sticky-bar-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sticky-bar-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.sticky-bar-price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.sticky-bar-attributes {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-left: auto;
}

.sticky-bar-attribute {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sticky-bar-attribute-label {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
    margin: 0;
    text-align: left;
}

.sticky-bar-attribute-buttons {
    display: flex;
    gap: 10px;
}

.sticky-bar-attribute-btn {
    padding: 8px 12px;
    border: 1px solid #000;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
    color: #000;
}

.sticky-bar-attribute-btn:hover {
    background: #f5f5f5;
}

.sticky-bar-attribute-btn.selected {
    background: #000;
    color: white;
}

.sticky-bar-cart-btn {
    background: #000;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    height: 31px;
    margin-bottom: -28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-bar-cart-btn:hover {
    background: #333;
}

.sticky-bar-cart-btn.added {
    background: #27ae60;
}

.sticky-bar-cart-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .glide__arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .custom-product-header {
        gap: 20px;
    }

    .custom-product-title {
        font-size: 32px;
    }

    .custom-product-price {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .expandable-boxes-grid {
        grid-template-columns: repeat(auto-fit, minmax(50%, 1fr)) !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .custom-info-boxes-grid {
        margin: 0;
    }
    .custom-carousel-glide {
        height: 70vh;
    }

    .glide__slide {
        height: 70vh;
    }

    .glide__arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .glide__arrow--left {
        left: 15px;
    }

    .glide__arrow--right {
        right: 15px;
    }

    .custom-product-header {
        flex-direction: column;
        gap: 15px;
    }

    .custom-product-title {
        font-size: 26px;
    }

    .custom-product-price {
        font-size: 24px;
    }

    .custom-variations {
        flex-direction: column;
        gap: 35px;
        align-items: center;
    }

    .custom-attribute {
        width: 100%;
    }

    .custom-add-to-cart-wrapper {
        width: 100%;
        justify-content: center;
    }

    .custom-add-to-cart {
        width: 100%;
        max-width: 400px;
    }

    .custom-info-boxes-grid {
        grid-template-columns: 1fr;
    }

    .custom-add-to-cart {
        width: 100%;
        padding: 18px 50px;
        font-size: 18px;
    }

    .description-title {
        font-size: 26px;
    }

    .expandable-box-link {
        font-size: 18px;
        padding: 20px 30px;
    }

    .expandable-boxes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sticky-bar-content {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .sticky-bar-details {
        width: 100%;
    }

    .sticky-bar-attributes {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-left: 0;
    }

    .sticky-bar-attribute {
        flex-direction: row;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .sticky-bar-attribute-label {
        text-align: left;
        min-width: 40px;
    }

    .sticky-bar-attribute-buttons {
        gap: 8px;
    }

    .sticky-bar-cart-btn {
        width: 100%;
        padding: 16px;
        margin-bottom: 0;
        height: auto;
    }
    .sticky-bar-attribute-btn {
        min-width: 32px;
    }
}