.elementor-10044 .elementor-element.elementor-element-916d0f2{--display:flex;}.elementor-10044 .elementor-element.elementor-element-539afc1{--display:flex;}.elementor-10044 .elementor-element.elementor-element-e70e661{--display:flex;}/* Start custom CSS for html, class: .elementor-element-9cb4d66 */#floatingPriceBox{
  position:fixed;
  right:1200px;
  top:3%;
  background:#111;
  color:#fff;
  padding:15px 20px;
  border-radius:10px;
  z-index:9999;
  box-shadow:0 6px 20px rgba(0,0,0,.3);
}
#floatingPriceBox .title{ font-size:13px; opacity:.8; }
#livePrice{ font-size:22px; font-weight:bold; margin-top:6px; }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-1cb302b *//* ===== 3D CUSHION PREVIEW STYLES ===== */
.cushion-3d-preview {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.cushion-3d-preview h3 {
    margin: 0 0 20px 0;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.preview-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;   /* equal height */
}




/* 3D Viewport */
.cushion-viewport {
    flex: 1 1 auto;   
    min-width: 0;  
    height: 450px;
    position: relative;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #475569;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3);
}

/* 3D Scene */
.scene-3d {
    width: 100%;
    height: 100%;
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* Base 3D Container */
.shape-3d-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 3D CUBOID (Rectangle) ===== */
.cuboid-3d {
    transform-style: preserve-3d;
}

.cuboid-face {
    position: absolute;
    background: var(--fabric-color-1, #4b5563);
    border: 1px solid rgba(0,0,0,0.2);
    box-sizing: border-box;
    backface-visibility: hidden;
}

.cuboid-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fabric-pattern);
    background-size: var(--fabric-size);
    background-blend-mode: multiply;
    opacity: 0.9;
}

/* ===== 3D SPHERE (Round) ===== */
.sphere-3d {
    position: relative;
    transform-style: preserve-3d;
}

.sphere-surface {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        var(--fabric-color-1) 0%,
        var(--fabric-color-2) 70%,
        var(--fabric-dark) 100%);
}

.sphere-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fabric-pattern);
    background-size: var(--fabric-size);
    border-radius: 50%;
    background-blend-mode: overlay;
    opacity: 0.8;
}

/* ===== 3D TRIANGLE ===== */
.triangle-prism-3d {
    transform-style: preserve-3d;
}

.triangle-base {
    position: absolute;
    background: var(--fabric-color-1);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.triangle-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fabric-pattern);
    background-size: var(--fabric-size);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background-blend-mode: multiply;
}

/* ===== 3D TRAPEZIUM ===== */
.trapezium-prism-3d {
    transform-style: preserve-3d;
}

.trapezium-base {
    position: absolute;
    background: var(--fabric-color-1);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.trapezium-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fabric-pattern);
    background-size: var(--fabric-size);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    background-blend-mode: multiply;
}

/* ===== 3D L-SHAPE ===== */
.lshape-prism-3d {
    transform-style: preserve-3d;
    position: relative;
}

.lshape-part {
    position: absolute;
    background: var(--fabric-color-1);
}

.lshape-part::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fabric-pattern);
    background-size: var(--fabric-size);
    background-blend-mode: multiply;
}

/* ===== 3D T-SHAPE ===== */
.tshape-prism-3d {
    transform-style: preserve-3d;
    position: relative;
}

.tshape-part {
    position: absolute;
    background: var(--fabric-color-1);
}

.tshape-part::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fabric-pattern);
    background-size: var(--fabric-size);
    background-blend-mode: multiply;
}

/* ===== FABRIC PATTERNS ===== */

/* Solid Fabric */
.fabric-solid {
    --fabric-pattern: none;
    --fabric-size: auto;
}

/* Stripe Fabric */
.fabric-stripe {
    --fabric-pattern: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        var(--fabric-color-2) 10px,
        var(--fabric-color-2) 20px
    );
    --fabric-size: 40px 40px;
}

/* Dot Fabric */
.fabric-dot {
    --fabric-pattern: radial-gradient(
        circle at 25% 25%,
        var(--fabric-color-2) 2px,
        transparent 3px
    );
    --fabric-size: 20px 20px;
}

/* Pattern Fabric */
.fabric-pattern {
    --fabric-pattern: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        var(--fabric-color-2) 5px,
        var(--fabric-color-2) 10px
    );
    --fabric-size: 20px 20px;
}

/* ===== 3D TIES ===== */
.tie-3d {
    position: absolute;
    width: 12px;
    height: 30px;
    background: linear-gradient(to bottom, #92400e, #78350f, #92400e);
    border-radius: 6px;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 20;
}

.tie-3d::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 15px;
    top: -7px;
    left: -4px;
    background: #b45309;
    border-radius: 4px;
    transform: rotateX(30deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===== 3D PIPING ===== */
.piping-3d {
    position: absolute;
    border: 3px solid #dc2626;
    box-sizing: border-box;
    border-radius: 4px;
    z-index: 10;
}

/* ===== 3D ZIPPER ===== */
.zipper-3d {
    position: absolute;
    background: linear-gradient(90deg, #475569, #64748b, #94a3b8, #64748b, #475569);
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    z-index: 15;
    border-radius: 3px;
}

/* Controls */
.controls-3d {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    gap: 10px;
}

.rotation-controls, .zoom-controls, .auto-rotate-control {
    display: flex;
    gap: 100px;
    background: rgba(15, 23, 42, 0.9);
    padding: 10px 25px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.controls-3d button {
    padding: 8px 15px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.controls-3d button:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Info Panel */
.preview-info {
    flex: 0 0 320px;       /* fixed width panel */
    max-width: 320px;
    padding: 25px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid #475569;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.preview-info h4 {
    color: #60a5fa;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.preview-info p {
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #374151;
    font-size: 14px;
    line-height: 1.5;
}

.preview-info strong {
    color: #cbd5e1;
    min-width: 100px;
    display: inline-block;
    font-weight: 500;
}

.preview-info span {
    color: #e2e8f0;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1100px) {
    .preview-wrapper {
        flex-direction: column;
    }
    
    .cushion-viewport {
        min-width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .cushion-3d-preview {
        padding: 15px;
    }
    
    .cushion-viewport {
        height: 350px;
    }
}/* End custom CSS */