/* ── Reset theme interference ─ */
.wmp-hero,
.wmp-product-section {
    width: 100%;
    box-sizing: border-box;
}

/* ── Hero: featured image full-width 100vh  */
.wmp-hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.wmp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, transparent 60%, rgba(0,0,0,0.45) 100% );
}

/* ── Product section: two-column layout ─ */
.wmp-product-section {
    display: flex;
    gap: 20px;
    padding: 60px 0;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Left: gallery ─ */
.wmp-gallery {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.wmp-main-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wmp-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.wmp-main-image img.wmp-fading {
    opacity: 0;
}


.wmp-thumb:hover {
    transform: scale(1.01);
}

/* ── Right: product details  */
.wmp-details {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.wmp-short-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* ── Form  */
.wmp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wmp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;

}

.wmp-field label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    display: flex;
}

.wmp-field select,
.wmp-field input[type="number"] {
    padding: 10px 14px;
    border: 1px solid #ddd;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wmp-field select:focus,
.wmp-field input[type="number"]:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
    outline: none;
    background: #fff;
}

.wmp-price-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f5f3ff;
}

.wmp-price-preview .wmp-label {
    font-size: 0.9rem;
    color: #555;
}

.wmp-price-preview .wmp-price {
    font-weight: 700;
    color: #797979; 
    font-size: 1.5rem;
}


.summary.entry-summary{
    width:100% !important;
}


.wmp-radio-label:has(input:checked) {
    border: 2px solid white;
    background: #333;
}


.wmp-radio-label {
    border: 2px solid #444;
    padding: 14px 20px;
    cursor: pointer;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.wmp-material-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wmp-radio-label:hover {
border: 2px solid white;
}

.wmp-radio-label input {
    display: none;
}

.wmp-material-name {
    font-weight: 600;
    margin-bottom: 4px;
    color:#fff;
}

.wmp-material-price {
    font-size: 13px;
    color: #ddd;
}

/*  Selected state */
.wmp-radio-label.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

.wmp-radio-label.active .wmp-material-price {
    color: #ddd;
}
.wmp-material-radio-group{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.wmp-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    cursor: help;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border-radius: 50%;
    font-size: 0.9rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.wmp-info-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.wmp-spec-tooltip {
    position: absolute;
    bottom: 140%;
    right: -10px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    min-width: 280px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.wmp-spec-tooltip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    border-radius: 12px 12px 0 0;
}

.wmp-spec-tooltip ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wmp-spec-tooltip li {
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    color: #ddd;
    text-align: left;
}

.wmp-spec-tooltip li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #7c3aed;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.1;
}

.wmp-info-icon:hover .wmp-spec-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}
/*  Price animation */
.wmp-price {
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.wmp-price.updated {
    transform: scale(1.1);
    color: green;
}
.wmp-dimension-group {
    display: flex;
    gap: 10px;
}

.wmp-dimension-group input {
    width: 100px;
}


/* LEFT */
.wmp-left {
    flex: 6;
}

/* RIGHT */
.wmp-right {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wmp-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
}

.wmp-thumb-item {
    width: 100%;
}
.wmp-thumb {
    width: 130px;
    height: 130px !important;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.wmp-thumb.active {
    border-color: black;
}

/* Details */
.wmp-title {
    font-size: 28px;
    font-weight: 600;
}

.wmp-short-desc {
    color: #666;
}

.wmp-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

#wmp-main-img {
    width: 100%;
    display: block;
}

#wmp-wallpaper-preview {
    display: none;
    max-width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    border: 2px solid rgba(255,255,255,0.3);
    box-sizing: border-box;
}

#wmp-wallpaper-preview:active {
    cursor: grabbing;
}

#wmp-preview-hint {
    display: none;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    letter-spacing: 0.05em;
}
.wmp-preview-controls {
    /*position: absolute;*/
    /*bottom: 40px;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    display: flex;
    justify-content:center;
    gap: 12px;
    z-index: 10;
}

.wmp-preview-btn {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.wmp-preview-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.wmp-preview-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

#wmp-ruler-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 5;
    border-top: 1px solid #000;
}

.wmp-ruler-tick {
    position: absolute;
    bottom: 0;
    width: 1px;
    background: #000;
}

.wmp-ruler-tick.major {
    height: 15px;
}

.wmp-ruler-tick.minor {
    height: 8px;
}

.wmp-ruler-label {
    position: absolute;
    bottom: 16px;
    font-size: 9px;
    color: #000;
    transform: translateX(-50%);
}

#wmp-breadths-overlay {
    position: absolute;
    top: 0;
    left: -2px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.wmp-breadth-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    border-left: 2px solid rgb(0 255 40 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmp-breadth-label {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    transform: rotate(-90deg);
}
.single_add_to_cart_button:disabled[disabled]{
    background-color:black !important;
}

/* TAGS */
.wmp-tag-list {
    margin-bottom: 20px;
}

.wmp-tag-btn {
    margin: 5px;
    padding: 8px 16px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 20px;
}

.wmp-tag-btn.active {
    background: #000;
    color: #fff;
}

/* PRODUCT ROW */
.wmp-product-row {
    display: flex;
    align-items: stretch;
}

/* IMAGE 60% */
.wmp-product-img {
    width: 65%;
}

.wmp-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO 40% */
.wmp-product-info {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px;
    border-bottom:1px solid #fff;
}

.wmp-product-info h3 {
    text-align: right;
}
.wmp-product-row {
    display: flex;
    align-items: center;
    /*margin-bottom: 40px;*/
}

/* Default: Image Left, Text Right */
.wmp-product-row.row-normal {
    flex-direction: row;
}

/* Alternate: Image Right, Text Left */
.wmp-product-row.row-reverse {
    flex-direction: row-reverse;
}
.wmp-product-row.row-reverse .wmp-product-info {
    justify-content:start;
}

.wmp-tag-link {
    white-space: nowrap;
    text-decoration: none;
    padding: 2px 16px;
    color: #aaa;
    transition: 0.3s;
}

.wmp-tag-link:hover {
    color: #fff;
}
.wmp-tag-section{
    margin-top:25px;
    display: flex;
    flex-direction: column;
    gap: 20px;

}
.wmp-tag-section hr{
    margin-top:16px;
}
.wmp-products-list{
    display:flex;
    flex-direction:column;
    gap:200px;
}
/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
.wmp-tag-nav, .wmp-tag-title, .wmp-tag-desc{
    padding:0px 80px;
}

/* TAG HERO SECTION */
.wmp-tag-hero {
    width: 100%;
    height: 900px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: #fff;
    text-align: center;
}

.wmp-tag-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.wmp-tag-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.wmp-tag-hero .wmp-tag-title {
    font-size: 3rem;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wmp-tag-hero .wmp-tag-desc {
    font-size: 1.2rem;
    margin-top: 10px;
    padding: 0;
}

/* PRODUCT GRID */
.wmp-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 80px;
}

.wmp-product-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wmp-product-card-info {
    text-align: center;
}

.wmp-product-card-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.wmp-card-sku {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* CAROUSEL */
.wmp-product-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
}

.wmp-carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.wmp-carousel-item {
    min-width: 100%;
    height: 100%;
}

.wmp-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wmp-carousel-prev,
.wmp-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
}

.wmp-carousel-prev:hover,
.wmp-carousel-next:hover {
    background: rgba(0,0,0,0.8);
}

.wmp-carousel-prev { left: 10px; }
.wmp-carousel-next { right: 10px; }
.wmp-tag-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.wmp-tag-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.wmp-related-grid {
    display: flex;
    justify-content:space-between;
}
.wmp-related-item img {
    width: 100%;
    height: auto;
}
.wmp-related-products{
    margin:30px 60px;
}
.wmp-related-item h6{
    margin-top:20px;
}
.wmp-related-products h5{
    margin-bottom:25px;
}

.wc_payment_method label{
    color: #fff;
}
.wmp-row { 
    display:flex; 
    gap:10px; 
    margin-bottom:10px; 
    
}
.wmp-row input { 
    flex:1; 
    
}

/* ── Responsive ─*/
@media ( max-width: 768px ) {
    .wmp-product-section {
        flex-direction: column;
        padding: 30px 4%;
    }

    .wmp-gallery {
        position: static;
    }

    .wmp-title {
        font-size: 1.5rem;
    }
    .wmp-tag-nav, .wmp-tag-title, .wmp-tag-desc{
        padding:0px 16px;
    }
    .wmp-products-list{
        gap:50px;
    }
    .wmp-products-list .wmp-product-row{
        align-items: start;
        flex-direction: column-reverse;
    }
    .wmp-products-list .wmp-product-img{
        width:100%;
    }
    .wmp-product-info{
        padding:16px;
    }
    .wmp-right {
        width:100%;
    }

}

/* RESPONSIVE STYLES */
@media screen and (max-width: 1024px) {
    .wmp-tag-nav, .wmp-tag-title, .wmp-tag-desc, .wmp-products-grid {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width: 768px) {
    .wmp-tag-nav, .wmp-tag-title, .wmp-tag-desc, .wmp-products-grid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wmp-products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wmp-tag-hero {
        height: 200px;
        margin-bottom: 25px;
    }

    .wmp-tag-hero .wmp-tag-title {
        font-size: 2rem;
    }

    .wmp-tag-hero .wmp-tag-desc {
        font-size: 1rem;
    }

    .wmp-carousel-prev, .wmp-carousel-next {
        padding: 5px;
    }
}

/* ── Icons single product layout ── */
.wmp-icon-product-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wmp-icon-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wmp-icon-details .cart{
    display:flex;
    gap:10px;
}
.wmp-icon-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.wmp-icon-desc {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.7;
}

.wmp-icon-details .single_add_to_cart_button {
    margin-top: 8px;
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #000;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.wmp-icon-details .single_add_to_cart_button:hover {
    background: #000;
    color: #fff;
}

@media ( max-width: 768px ) {
    .wmp-icon-product-section {
        padding: 0 20px;
        margin: 40px auto;
    }
}

/* ── Icons product detail page ───────────────────────────────────────────── */
/* All styles scoped to .wmp-is-icons so they only apply on icons product pages */

.wmp-is-icons .site-main{
    padding:100px 20px !important;
}

/* ── Modal ─ */
.wmp-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wmp-modal-content {
    background: #111;
    width: 100%;
    max-width: 1200px;
    height: 95vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.wmp-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 1001;
    transition: transform 0.2s;
}

.wmp-modal-close:hover {
    transform: scale(1.2);
}

.wmp-modal-header {
    padding: 10px;
    text-align: center;
}

.wmp-modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.wmp-modal-header p {
    color: #aaa;
    margin: 10px 0 0;
    font-size: 0.95rem;
}

.wmp-modal-body {
    flex: 1;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#wmp-modal-preview-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#wmp-modal-wallpaper-preview {
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    cursor: grab;
    user-select: none;
    background-repeat: no-repeat;
    border: 2px solid rgba(255,255,255,0.2);
    box-sizing: border-box;
}

#wmp-modal-wallpaper-preview:active {
    cursor: grabbing;
}

.wmp-modal-preview-hint {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
}

.wmp-modal-footer {
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.wmp-modal-footer .wmp-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.wmp-modal-footer .wmp-btn:hover {
    background: #ddd;
}

/* ── Ruler & Breadths Modal specifics ─ */
#wmp-modal-ruler-overlay,
#wmp-modal-breadths-overlay {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#wmp-modal-ruler-overlay {
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #000;
    display: flex;
    align-items: flex-end;
    z-index: 10;
    top: auto;
    bottom: 0;
}

#wmp-modal-breadths-overlay {
    z-index: 9;
}

.wmp-breadth-label {
    position: absolute;
    top: 50%;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    transform: translateY(-50%) rotate(-90deg);
}

.wmp-ruler-tick {
    position: absolute;
    bottom: 0;
    width: 1px;
    background: #000;
}

.wmp-ruler-tick.major { height: 18px; }
.wmp-ruler-tick.minor { height: 8px; }


