/* Apply styles to selected text */
::selection {
    background-color: rgba(0, 0, 0, 0.7); /* Deep black background with 0.7 opacity */
    color: white; /* Base text color */

    /* Create a rainbow-like glow using multiple text shadows */
    text-shadow:
        0 0 5px red,
        0 0 10px orange,
        0 0 15px yellow,
        0 0 20px green,
        0 0 25px blue,
        0 0 30px indigo,
        0 0 35px violet;
}
#colorSelection{
    z-index: 99; 
    position: relative;
    margin-top: -215px;
}
/* Optional: Add transition for smooth background changes */
.roundSofaColorChooser {
    transition: transform 0.2s, box-shadow 0.2s;
}
.roundSofaColorChooser:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.roundSofaColorChooser{
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3), 0px 0px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.4);
}

#address-modal {
    align-items: flex-start; /* Remove center alignment to allow scrolling */
    inset: 0;
    overflow-y: auto; 
    padding: 20px; 
}

#white-background-overlay-modal {
    max-height: 90vh; 
    overflow-y: auto;
}
#tsparticles{
    z-index: 9999999999999999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}
#number-of-items-cart-icon{
    display: none;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

#overlay.show {
    opacity: 1;
    pointer-events: auto;
}

#cart-container-wrapper {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px; 
    height: 100vh; 
    overflow-y: auto;
    z-index: 1001;
    display: flex;
    flex-direction: column; 
    background: #fff;
    transition: right 0.3s ease-in-out;
}

#cart-container-wrapper.open {
    right: 0;
}

#cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 20px; 
}

.cart-item {
    padding-bottom: 10px; 
}

.cart-footer {
    padding: 20px;
    background-color: #fff; /* White background */
    color: #000; /* Black text */
}
.cart-header {
    padding-top: 20px;
    padding-left: 20px;
}
.checkout-btn {
    background-color: #0070f3; /* Shopify blue */
    color: #fff;
    border: none;
    cursor: pointer;
}

.checkout-btn:hover {
    background-color: #005bb5;
}

.continue-shopping {
    margin-top: 10px;
}

/* Discount Banner */
.discount-banner {
    animation: pulse 2s infinite;
}

/* Price Display */
.price-display .line-through {
    text-decoration: line-through;
}

/* Option Boxes */
.option-box {
    background-color: #2d2d2d;
    transition: background-color 0.3s, transform 0.3s;
}

.option-box.selected {
    background-color: #3b82f6; /* Tailwind's blue-500 */
    color: white;
    border-color: #2563eb; /* Tailwind's blue-600 */
}


/* Shopping cart end */

.pickerWrapper button{
    width: 1.8vw; 
    height: 1.8vw;
}
.clickable{
    position: relative;
    z-index: 9999;
}
@font-face {
    font-family: 'Titillium Web SemiBold';
    font-style: normal;
    font-weight: 600;
    src: local('Titillium Web SemiBold'), local('TitilliumWeb-SemiBold'),
         url('/fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Titillium Web Bold';
    font-style: normal;
    font-weight: 600;
    src: local('Titillium Web Bold'), local('TitilliumWeb-Bold'),
         url('/fonts/TitilliumWeb-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'RobotoSlab-Regular';
    font-style: normal;
    font-weight: 600;
    src: local('RobotoSlab-Regular'), local('RobotoSlab-Regular'),
         url('/fonts/RobotoSlab-Regular.ttf') format('truetype');
}
#colorPicker{
    position: absolute;
    top: 450px;
    left: 28%;
}

h2, p, blockquote {
    font-family: 'RobotoSlab-Regular', sans-serif;
    font-weight: 600;
    font-style: normal;
}
h1, h3 {
    font-family: 'Titillium Web Bold', sans-serif;
    font-weight: 600;
}
#svgsGallery .tagPreview{
    background-repeat: no-repeat;
    background-size: 40%;
}
#svgsGallery .tagPreviewAnchor{
    background-color: white;
}
.tagPreview{
    height: 220px; 
    width: 616px; 
    background-size: cover; background-position: center;
}
.tagPreviewAnchor.svgs{
    height: 260px;
}
.iconWrapper svg {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    vertical-align: inherit;
}
#slider, #tilingSlider {
    margin-top: 0px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
#svgImage svg {
    width: 100%;
    height: auto; /* Adjust this to maintain aspect ratio or set to 100% to fill the container */
}
.colorPicker{
    position: absolute;
    width: 375px;
}

.tagPreviewAnchor{
    position: relative; 
    width: 612px; 
    height: 220px; 
    overflow: hidden;
}

.tagPreviewBg{
    height: 220px; width: 612px;
}
#topHeader{
    position: relative;
    z-index: 995;
    margin-top: -100px;
}

#search-results{
    background: white;
    width: 100%;
    height: auto;
    position: absolute;
    top: 90px;
    border-radius: 10px;
    z-index: 999;
    padding: 10px;
}
.shadow-strong-black{
    text-shadow: 0px 0px 10px rgba(0,0,0,0.8), 0px 0px 30px rgba(0,0,0,0.8), 0px 0px 1px rgba(0,0,0,0.9), 0px 0px 2px rgba(0,0,0,0.9), 0px 0px 15px rgba(0,0,0,0.2);
}
.grid-sizer { width: 20%; }
#marketingText{
    margin-top: -10px;
}
#wallpapersGrid .grid-item{
    box-shadow: inset 0 0 0 7px #14171c;
    background-size: cover;
}

header {
    top: 0;
    transition: top 1s ease; 
    border-bottom: 1px solid rgb(41, 41, 41);
}

.hide-header {
    top: -120px;
}
.text-justify {
    text-align: justify;
}

#canvasPreviewSofaWrapper{
    position: relative;
    overflow: hidden;
    height: 1200px;
    margin-top: 52px;
}
#floor {
    display: none;
    position: absolute;
    top: 900px;
    left: -1100px;
    height: 100px;
    width: 100%;
}
#floor img{
    max-width: fit-content;
    transform-origin: top left;
    transform: scale(0.8);
}
#floor div{
    background-image: url(/imgs/sofa/321-diffuse.jpg);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    margin: auto;
    background-size: 30%;
}
#floor-texture{
    display: nonee;
    mask-image: linear-gradient(to top, rgba(255, 255, 255, 0) 25%, rgba(0, 0, 0, 1) 30%);
}
#floor-blur{
    display: nonee;
    filter: blur(7px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 1) 70%);
}
#wall {
    height: 1000px;
    width: 3000px;
    position: absolute;
    top: 0;
    left: 0px;
    background-image: url(/imgs/sofa/white-wall-textures.jpg);
    background-size: 11%;
}
#wall-gradient{
    background: linear-gradient(
        to bottom,
        #ffffff 0%,        /* Starts with white at the top */
        #000000 99%         /* Ends with white at the bottom */
    );
    height: 100%;
    width: 100%;
    mix-blend-mode: multiply;
    opacity: 0.3;
}
#sofaWrapper {
    position: relative; width: 1800px; height: 684px;
    margin-top: 400px;
    transform: scale(0.4);
    transform-origin: top left;
    cursor: pointer;
    left: -40px;
    top: -73px;
    display: none;
}
#edgeContour{
    width: 9000px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 880px;
    filter: blur(15px);
    left: -500px;
    display: none;
}
.woodTop, .woodBottom{
    width: 225px;
}
#fadeOut {
    background: linear-gradient(
        to bottom,
        #2f3847 0%,       
        rgba(255, 255, 255, 0) 2%, /* Transition to transparent */
        rgba(255, 255, 255, 0) 90%, /* Stay transparent until the bottom 10% */
        #14171c 99%         /* Ends with white at the bottom */
    );
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#pictureWrapper{
    position: absolute; 
    top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    transform: scale(0.9);
}
#pictureWrapper .picture{
    margin: 20px;
}
#pictureWrapper .picture img{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#blogPost {
    /* Base styling for the blog post container */
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Blog title styling */
#blogPost h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: #333333;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Subheadings styling */
#blogPost h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid #4CAF50;
    padding-left: 12px;
}

/* Subheadings styling */
#blogPost h3 {
    font-size: 1.1rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ba1a55;
    padding-left: 12px;
}

/* Paragraph text styling */
#blogPost p {
    line-height: 1.7;
    font-size: 1rem;
    color: #444444;
    margin-bottom: 1.5rem;
}

/* Image styling */
#blogPost img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#blogPost img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Links styling */
#blogPost a {
    text-decoration: none;
    color: #2196F3;
}

#blogPost a:hover {
    color: #0b7dda;
    text-decoration: underline;
}

/* Enhanced button-like links */
#blogPost .cta-button {
    display: inline-block;
    background-color: #4CAF50;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

#blogPost .cta-button:hover {
    background-color: #388E3C;
}

/* Blockquote styling */
#blogPost blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #666666;
    border-left: 4px solid #2196F3;
    margin: 1.5rem 0;
    padding-left: 12px;
}
#search-form-container-wrapper{
    top: 76px; 
    left: 0;
}
.colorPreview{
    border: 1px solid rgba(255,255,255,0.2);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    #blogPost h1 {
        font-size: 2rem;
    }

    #blogPost h2 {
        font-size: 1.5rem;
    }

    #blogPost p {
        font-size: 0.95rem;
    }

    #blogPost .cta-button {
        font-size: 0.9rem;
    }
}
/* Custom Animation for Menu Items */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Burger Menu Toggle Styles */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 17px;
    width: 19px;
    margin-left: 7px;
  }
  
  .nav-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 100ms ease-in-out;
  }
  
  .nav-toggle:hover {
    cursor: pointer;
  }
  
  /* Transformations for 'X' Animation */
  .nav-toggle .bar.x:nth-of-type(1) {
    transform: rotate(45deg);
    transform-origin: top left;
    width: 21px;
  }
  
  .nav-toggle .bar.x:nth-of-type(2) {
    opacity: 0;
    transform: rotate(0deg);
    width: 0;
  }
  
  .nav-toggle .bar.x:nth-of-type(3) {
    transform: rotate(-45deg);
    transform-origin: bottom left;
    width: 21px;
  }
  
.animate-slide-in {
    animation: slideInLeft 0.5s forwards;
}

@media (max-width: 760px) {
    #canvasPreviewSofaWrapper{
        height: 600px;
    }
}
@media (max-width: 768px) {
    #search-form-container-wrapper{
        top: 56px; 
        left: 0;
    }
    #colorPicker{
        position: absolute;
        top: 550px;
        left: 9%;
    }
    #topHeader{
        margin-top: -150px;
    }

    #pictureWrapper .picture {
        margin: 8px;
    }
    #pictureWrapper .picture:last-child {
        margin-right: 20px;
    }
    #pictureWrapper .picture:first-child {
        margin-left: 20px;
    }
    #floor {
        top: 430px;
    }
    #floor img{
        transform-origin: top left;
        transform: scale(0.2);
    }
    #pictureWrapper {
        top: 10px;
    }
    .tagPreviewAnchor.svgs{
        height: 184px;
    }
    .tagPreviewBg{
        height: 220px; width: 500px;
    }
    #svgsGallery .tagPreview{
        background-size: 80%;
        margin-left: -15px;
    }
    .grid-sizer { width: 50%; }
    .customer-image{
        height: 80px;
        width: 80px;
    }
    .pickerWrapper button{
        width: 7vw; 
        height: 7vw;
    }
    .colorPicker{
        position: fixed!important;
        top: 67svh !important;
        width: auto;
        height: 30svh;
    }
    .colorPicker .twod .bg2, .colorPicker .twod .bg, .colorPicker .oned .bg, .colorPicker .twod{
        height: 28svh!important;
    }
    #search-results{
        height: auto;
        width: 93vw;
        top: 80px;
        margin: 0;
        padding: 1vw;
    }
    #selectedCategory span {
        display: none;
    }
    .tagPreview{
        height: 160px; 
        width: 180px; 
        background-size: cover; background-position: center;
    }
    .tagPreviewAnchor{
        position: relative; 
        width: 180px; 
        height: 160px; 
        overflow: hidden;
    }
    #marketingText{
        margin-top: -70px;
    }
    #menu-overlay{
        z-index: 999;
    }
}
@media (max-width: 420px) {
    #floor {
        top: 500px;
    }
}
@media (max-width: 430px) {
    #floor {
        top: 500px;
    }
    #colorSelection {
        z-index: 99;
        position: relative;
        margin-top: -33px;
        margin-bottom: 50px;
    }
}
@media (max-width: 390px) {
    .tagPreviewAnchor {
        width: 149px;
    }
}

