* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Chewy', cursive;
    background: #f9f5ea;
    box-sizing: border-box;
}

.mobile-nav { 
    display: none;
} 

.hamburger { 
    display: none; 
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 0 100px 0 80px;
    background: #f9f5ea;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.nav-link, 
.drop-btn {
    text-decoration: none;
    color: #28529a;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 21px;
}

.navbar a.nav-link,
.navbar a.nav-link:visited,
.navbar a.nav-link:focus {
    text-decoration: none;
    color: #28529a;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    font-size: 21px;
}

.navbar a.nav-link:hover {
    color: #F7C0C3;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.nav-link:hover, .drop-btn:hover {
    color: #F7C0C3;
}

.navbar ul li {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar .cart {
    position: relative;   
    margin-left: -100px;    
}

.dropdown {
    position: relative;
}

.drop-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px 20px;
    line-height: 1;
}

.chevron {
    font-size: 16px;
    display: inline-block;
    transition: transform 0.3s ease;
    line-height: 1;
}

.dropdown.active .chevron {
    transform: rotate(180deg);
}

header.navbar nav ul li.dropdown {
    position: relative;
}

header.navbar nav ul li .dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 290px;
    background: #f9f5ea;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 9999; 
    padding: 15px 0;
}

.dropdown-menu li {
    list-style: none;
    margin-bottom: 10px;
}

.dropdown-menu li:last-child {
    margin-top: -8px;   
    margin-bottom: 5px; 
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #28529a;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.dropdown-menu a:hover {
    color: #F7C0C3;
}

header.navbar nav ul li.dropdown.active .chevron {
    transform: rotate(180deg);
}

header.navbar nav ul li.dropdown.active .dropdown-menu {
    display: flex;
    visibility: visible;
    opacity: 1;
}

.cart {
    position: relative;
    display: inline-block;
}

.cart i {
    font-size: 28px;
    color: #28529a; 
}

#cart-count {
    position: absolute;
    background: pink;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 7px;
    top: -15px;
    right: -15px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    transition: opacity 0.3s ease;
}

.order-review-panel {
    position: fixed;
    top: 0;
    right: -630px;
    width: 630px;
    height: 100vh; 
    background-color: #ffffff;
    z-index: 2001;
    display: flex;
    flex-direction: column; 
    transition: right 0.3s ease;
    overflow: hidden;
}
      
.order-review-panel.open {
    right: 0;
        
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
   padding: 40px 60px 0;
}

.review-title {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a;
    margin: 0;
}

.close-review-btn {
    width: 60px;
    height: 60px;
    background-color: #28529a;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}

.close-review-btn::after {
    content: '×'; 
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
        }

.review-product-list {
    flex: 1; 
    overflow-y: auto; 
    padding: 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
        

.review-product-item {
    display: flex;
    align-items: center;
    gap: 25px; 
    width: 100%;
}

.review-product-img {
    width: 181px;
    height: 175px;
    border-radius: 19px;
    object-fit: cover;
    flex-shrink: 0;
}

.review-item-details {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    flex-grow: 1;
}

.review-item-name {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a;
    margin: 0;
}

.review-quantity-delete {
    display: flex;
    align-items: center;
    gap: 20px;
}

.review-quantity-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 186px;
    height: 55px;
    background-color: #ffffff;
    border: 2px solid #28529a;
    border-radius: 20px;
    padding: 0 15px;
}

.review-qty-btn {
    background: none;
    border: none;
    font-family: 'Chewy', cursive;
    font-size: 24px; 
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a;
    cursor: pointer;
}

.review-qty-number {
    font-size: 24px;
    color: #28529a;
}

 .delete-item-btn {
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#reviewPanel {
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.review-separator {
   width: 100%; 
    border: 0;
    border-top: 5px solid #f9f5ea;
    margin: 0;
}

.review-footer {
    margin-top: auto; 
    padding-top: 20px;
    border-top: 1px solid #eee;
    background: white; 
}

.review-footer-box {
   width: 100%;
    background-color: #ffffff;
    border-top: 5px solid #f9f5ea;
    padding: 20px 60px 30px; 
    display: flex;
    flex-direction: column;
    gap: 12px; 
    flex-shrink: 0; 
}

.review-subtotal-title, 
.review-subtotal-price {
    font-size: 32px; 
    margin: 0;
}

.review-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-subtotal-title {
    font-size: 38px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a;
    margin: 0;
}

.review-subtotal-price {
    font-size: 38px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #486fb2;
}

.review-summary-box {
    margin-top: 40px; 
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
}

.review-disclaimer {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #486fb2;
    margin: 0;
}

.review-delivery-title {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a; 
    margin: 5px 0 0; 
}

.review-pill-btn {
   width: 100%;
    height: 55px;
    background-color: #ffffff;
    border: 2px solid #28529a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    gap: 10px;
    color: #28529a;
    font-family: 'Chewy', cursive;
}

.icon-stroke {
    stroke: #28529a;
    stroke-width: 2;
    fill: none;
}
        
.review-checkout-btn {
    width: 100%;
    max-width: 400px;
    height: 80px;
    background-color: #486fb2;
    border-radius: 300px;
    border: none;
    cursor: pointer;
    margin: 10px auto 0; 
    font-family: 'Chewy', cursive;
    font-size: 24px;
    color: #f9f5ea;
    transition: background-color 0.3s ease;
}

.review-checkout-btn:hover {
    background-color: #28529a; 
    transform: scale(1.02);
}

.custom-input {
   border: none; 
    color: #28529a !important; 
    font-family: 'Chewy', cursive; 
    font-size: 18px;
    cursor: pointer;
    background: transparent;
    outline: none;
    width: 100%;
}

.custom-input::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: static; 
    right: 0;
    top: 0;
    width: auto;
}

.products-section {
    background-color: #ffffff;
    padding: 100px 20px 150px; 
    text-align: center;
    font-family: 'Chewy', cursive;
}

.products-container {
    max-width: 1300px; 
    margin: 0 auto;
}

.products-title {
    font-size: 64px;
    line-height: 1.5;
    letter-spacing: 0.03em; 
    position: relative;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.products-title .stroke {
    color: transparent;
    -webkit-text-stroke: 8px #28529a;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.products-title .fill {
    color: #f9f5ea;
    position: relative;
    display: block;
    z-index: 2;
}

.products-subtitle {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    position: relative;
    display: block;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 40px;
    font-family: 'Chewy', cursive;
}

.products-subtitle .stroke {
    color: transparent;
    -webkit-text-stroke: 6px #f9f5ea; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.products-subtitle .fill {
    color: #486fb2; 
    position: relative;
    display: block;
    z-index: 2;
}

.note-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px; 
    margin-bottom: 80px;
}

.info-icon {
    width: 24px;
    height: 24px;
    background-color: #f7c0c3; 
    color: #28529a; 
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-text {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #486fb2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 401px);
    gap: 70px 45px; 
    justify-content: center;
    width: 100%;
}

.product-item {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: top;
}

.image-card {
    width: 401px;
    height: 406px;
    background-color: #f9f5ea;
    border-radius: 19px;
    position: relative;
    overflow: hidden;
    display: block;
    line-height: 0;
    font-size: 0;
    transition: opacity 0.3s ease;
    margin: 0 auto;
}

.image-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    position: absolute;
}

.stock-pill {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 125px;
    height: 30px;
    background-color: #486fb2;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    border-radius: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.stock-pill.sold-out {
    background-color: #f7c0c3; 
    color: #ffffff; 
}

.item-name {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a;
    margin: 25px 0 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.item-price {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #486fb2;
}

.product-item:hover .image-card {
    opacity: 0.7; 
}

.product-item:hover {
    transform: translateY(-8px);
}

.design-section {
    background-color: #f7c0c3;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.design-container {
    width: 1293px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.design-header-wrapper {
    width: 100%;
    text-align: left; 
    margin-bottom: 50px;
}

.design-title {
    font-size: 50px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.design-title .stroke {
    color: transparent;
    -webkit-text-stroke: 8px #28529a;
    position: absolute;
    left: 0;
    z-index: 1;
}

.design-title .fill {
    color: #f9f5ea;
    position: relative;
    z-index: 2;
}

.design-description {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a;
    text-align: center; 
    width: 100%; 
    display: block;
}

.canvas-container {
    width: 791px;
    height: 791px;
    background-color: #ffffff;
    border: 1px solid #28529a;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 40px;
    touch-action: none; 
}

#fatcaronCanvas {
    display: block;
    cursor: crosshair;
}

.color-palette {
    display: flex;
    justify-content: space-between; 
    width: 1293px; 
    margin-bottom: 60px;
}

.design-form .input-wrapper {
    margin-bottom: 25px;
}

.tool-btn {
    width: 184px;
    height: 63px;
    border-radius: 20px;
    border: 2px solid #28529a;
    background: #fff;
    font-family: 'Chewy', cursive;
    font-size: 20px;
    color: #28529a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    background-color: #f9f5ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 82, 154, 0.2);
}

.tool-btn.active-tool {
    background-color: #28529a;
    color: #ffffff;
    border-color: #486fb2;
}
.color-btn {
    width: 184px;
    height: 63px;
    border-radius: 20px;
    border: 2px solid #28529a;
    background: #fff;
    font-family: 'Chewy', cursive;
    font-size: 20px;
    color: #28529a;
    cursor: pointer;
}

.input-wrapper input,
.input-wrapper textarea,
.submit-idea-btn {
    width: 100%;
    max-width: 602px;
}

.input-wrapper input {
    width: 602px;
    height: 92px;
    background: #f9f5ea;
    border: 2px solid #28529a;
    border-radius: 20px;
    padding: 0 25px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #486fb2;
    font-family: 'Chewy', cursive;
}

.input-wrapper textarea {
    width: 602px;
    height: 173px;
    background: #f9f5ea;
    border: 2px solid #28529a;
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 30px;
    font-size: 18px;
    color: #486fb2;
    font-family: 'Chewy', cursive;
    resize: none;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #486fb2;
    opacity: 1; 
}

.submit-idea-btn {
    width: 606px;
    height: 77px;
    background: #28529a;
    color: #f9f5ea;
    border-radius: 20px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    font-family: 'Chewy', cursive;
}

.share-modal {
    display: none;
    position: fixed;
    z-index: 3000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.share-content {
    width: 100%;
    max-width: 650px; 
    height: auto;  
    max-height: 95vh;
    background: #ffffff;
    border-radius: 19px;
    padding: 30px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.share-title {
    font-size: 36px; 
    color: #28529a;
    margin-bottom: 20px;
    text-align: center;
}

.design-preview-box {
    width: 300px;  
    height: 300px;
    border: 2px solid #28529a;
    border-radius: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    overflow: hidden;
}

#canvasPreview {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;     
}

.share-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.share-row {
    display: flex;
    justify-content: center;
    gap: 15px; 
    width: 100%;
}

.pink-share-btn {
    background-color: #f7c0c3;
    color: white;
    border: none;
    border-radius: 25px; 
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pink-share-btn:hover {
    transform: scale(1.05);
}

.pink-share-btn.long {
    width: 320px;
    height: 50px;
}

.pink-share-btn.small {
    width: 152px;
    height: 50px;
}

.pink-share-btn.close-btn {
    width: 180px;
    height: 45px;
    margin-top: 10px;
}

.made-with-care-section {
    background-color: #f7c0c3; 
    padding: 100px 20px 180px; 
    display: flex;
    justify-content: center;
    font-family: 'Chewy', cursive;
}

.care-container {
    width: 100%;
    max-width: 1293px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.care-header-wrapper {
    width: 100%;
    text-align: left; 
    margin-bottom: 90px; 
}

.care-title {
    font-size: 50px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
}

.care-title .stroke {
    color: transparent;
    -webkit-text-stroke: 8px #28529a;
    position: absolute;
    left: 0;
    z-index: 1;
}

.care-title .fill {
    color: #f9f5ea; 
    position: relative;
    z-index: 2;
}

.care-grid {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    margin-top: 50px; 
}

.care-box {
    width: 394px;
    height: 484px;
    background-color: #f9f5ea; 
    border-radius: 19px;
    position: relative; 
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.care-circle {
    width: 172px;
    height: 172px;
    background-color: #ffffff; 
    border-radius: 50%;
    position: absolute;
    top: -86px; 
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    border: none;
}

.care-circle img {
    width: 205px; 
    height: 205px;
    object-fit: contain; 
}


.care-content {
    width: 100%;
    text-align: center;
    padding-top: 110px; 
    padding-left: 15px;
    padding-right: 15px;
}

.care-number {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #f7c0c3; 
    -webkit-text-stroke: 3px #28529a; 
    margin-bottom: 25px;
    display: block;
}

.care-item-title {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #28529a; 
    margin-bottom: 20px;
}

.care-item-desc {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #486fb2; 
    display: block;
    width: 100%;
    white-space: normal;
    margin: 0 auto;
}

#bttButton {
    position: fixed;
    bottom: 30px; 
    right: 30px;  
    z-index: 2000;
    width: 60px;  
    height: 60px;
    background-color: #28529a; 
    color: #ffffff; 
    border-radius: 50%; 
    cursor: pointer;
    border: none;    
    outline: none;  
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

#bttButton::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #ffffff; 
    margin-top: -5px; 
}

#bttButton:hover {
    transform: scale(1.1); 
    background-color: #486fb2; 
}

#bttButton.show-btt {
    opacity: 1;
    visibility: visible;
}


.footer {
    width: 100%;
    background: #f9f5ea;
    padding: 60px 0; 
    display: flex;
    margin: 0;
    border: none;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    max-width: 100%; 
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 80px 0 250px; 
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;  
    align-items: flex-start;
    flex: 0 0 350px;
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 0;
    padding-top: 0;
}

.footer-left .footer-logo {
    width: 180px;
    margin-bottom: 10px;
    margin-top: 0;
    display: block;
}

.footer-section h4 {
    font-size: 28px;
    color: #28529a;
    margin-bottom: 5px;
    letter-spacing: 3%;
    line-height: 1.5;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 3%;
    color: #486fb2;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 13px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.insta svg {
    stroke: #28529a; 
}

.xhs-blue-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;  
    height: 44px; 
    background: #28529a; 
    border-radius: 13px; 
    overflow: hidden;
}

.xhs-img {
    width: 30px; 
    height: 30px;
    display: block;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 82, 154, 0.2);
}

.footer-copy {
    font-size: 24px;
    color: #28529a;
    margin-top: 40px;
    letter-spacing: 3%;
    line-height: 1.5;
    white-space: nowrap;
    width: max-content;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    margin-left: 300px; 
    align-items: flex-start; 
}

.footer-right h4 {
    font-size: 28px;
    color: #28529a;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 0.8;
    letter-spacing: 3%;
    margin-top: 0;
    display: block;
}

.footer-right .footer-links a {
    display: block;
    font-size: 28px;
    line-height: 1.5;
    color: #28529a;
    text-decoration: none;
    margin-bottom: 10px;
    letter-spacing: 3%;
}

.footer-right .footer-links a:hover {
    color: #f7c0c3; 
    transition: color 0.3s ease;
}

.footer-right .footer-policies button {
    display: block;
    font-size: 20px;
    color: #486fb2;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    margin-bottom: 10px;
    font-family: 'Chewy', cursive;
}

.footer-right .footer-policies button:hover {
    text-decoration: underline;
}

.popup {
   display: none; 
    position: fixed; 
    z-index: 3000; 
    left: 0; top: 0;
    width: 100%; height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(3px); 
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content { 
   background-color: #f9f5ea; 
    padding: 30px; 
    border: 4px solid #28529a; 
    width: 90%; 
    max-width: 400px;
    height: auto; 
    min-height: 200px;
    max-height: 85vh; 
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.policy-body {
    flex-grow: 1;
    overflow-y: hidden; 
    margin-top: 25px; 
    margin-bottom: 20px;
    padding-right: 0; 
    line-height: 1.6;
    font-size: 16px;
}

.popup-footer {
    text-align: center;
    padding-top: 10px;
    border-top: 2px dashed #28529a; 
}

.close-btn-bottom {
    background-color: #28529a;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-family: 'Chewy', cursive;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-btn-bottom:hover {
    background-color: #ffb6c1; 
    transform: scale(1.05);
}

.close-popup {
    position: absolute;
    top: 5px; 
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #28529a;
    line-height: 1;
}

.close-popup:hover {
    color: #f7c0c3;
}

@media screen and (max-width: 768px) { 

body {
    overflow-x: hidden;
    width: 100vw;
}

.desktop-nav { 
    display: none !important; 
} 

.hamburger { 
    display: block !important; 
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 245px;
    background-color: #f9f5ea;
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding-bottom: 20px;
}

.mobile-nav.active {
    display: flex;
}

.nav-close-row {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
}

.close-trigger {
    font-size: 18px;
    color: #28529a;
    cursor: pointer;
}

.nav-divider {
    width: 100%;
    height: 1px;
    background-color: #28529a;
}

.nav-item {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
    color: #28529a;
    text-decoration: none;
}

.navbar {
    width: 100% !important;
    max-width: 100vw !important;
    height: 60px !important;
    padding: 0 15px !important;
    position: fixed !important;
    top: 0;
    left: 0;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #f9f5ea !important;
    z-index: 2000;
}

.navbar ul,
.navbar nav,
.nav-link {
    display: none !important;
}

.hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 3px;
    width: 14px;
}

.hamburger span {
    width: 14px;
    height: 2px;
    background-color: #28529a;
}

.navbar .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    margin: 0;
}

.navbar .logo img {
    width: 60px;
    height: 60px;
}

.navbar .cart {
    display: flex !important;
    width: 17px;
    height: 17px;
    position: relative;
}

.navbar .cart svg, 
.navbar .cart i {
    width: 17px;
    height: 17px;
    font-size: 17px;
    }

#cart-count {
    width: 9px;
    height: 9px ;
    min-width: 9px;
    font-size: 5px;
    background: #F7C0C3;
    top: -4px;
    right: -5px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    }

.order-review-panel {
    width: 100%;
    max-width: 85%;
    height: 100dvh; 
    position: fixed;
    top: 0;
    right: -85%;
    background-color: #ffffff; 
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
}

.order-review-panel.open {
    right: 0;
}

.review-header {
    flex-shrink: 0 !important;
    padding: calc(20px + env(safe-area-inset-top)) 20px 10px 20px !important;
    background-color: #ffffff ;
}

.review-header, .review-product-list, .review-footer-box {
        padding: 15px !important;
}

.review-product-list {
    flex-grow: 1 ;
    overflow-y: auto ;
    padding: 10px 20px ;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.review-title {
    font-size: 24px !important;
}

.close-review-btn {
    width: 45px !important;
    height: 45px !important;
    border-radius: 10px !important;
}

.close-review-btn::after {
    font-size: 30px !important;
}

.review-product-item {
    gap: 15px !important;
    align-items: flex-start !important;
}

.review-product-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px;
}

.review-item-info {
    flex: 1;
}

.review-item-name {
    font-size: 16px !important; 
    margin-bottom: 5px !important;
}

.review-quantity-container {
     width: 90px; 
    height: 30px;
}

.review-qty-btn, .review-qty-number {
    font-size: 16px;
}

.delete-item-btn svg {
    width: 24px;
    height: 24px;
}

.review-footer-box {
    flex-shrink: 0;
    background-color: #ffffff;
    border-top: 2px solid #f9f5ea;
    padding: 15px 20px calc(20px + env(safe-area-inset-bottom)) 20px !important;
}
.review-subtotal-title {
    font-size: 24px;
}

.review-subtotal-price {
    font-size: 24px;
}

.review-subtotal-title, .review-subtotal-price {
    font-size: 20px;
}

.review-disclaimer {
    font-size: 12px;
    margin-bottom: 10px;
}

.review-delivery-title {
    font-size: 16px;
    margin-top: 0;
}

.review-pill-btn {
    height: 40px;
    font-size: 12px;
    margin-bottom: 8px ;
}

.review-checkout-btn {
    height: 55px;
    font-size: 18px;
    margin-top: 10px;
    border-radius: 50px;
}

.review-pill-btn,
.review-checkout-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.toggle-btn {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #28529a;
    color: #28529a;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    background-color: #f9f5ea;
    padding-bottom: 10px;
}

.dropdown-content a {
    display: block;
    padding: 8px 40px;
    font-size: 16px;
    color: #28529a;
    text-decoration: none;
}

.products-section {
    padding: 80px 2px 10px;
    overflow-x: hidden;
}

.products-title {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.products-title .stroke {
    -webkit-text-stroke: 4px #28529a;
}

.products-subtitle {
    font-size: 11px;
    width: 100%;
    max-width: 320px; 
    margin: 0 auto 25px;
    line-height: 1.5;
    text-align: center;
    position: relative; 
    display: block;
    min-height: 55px;
}
    
.products-subtitle .stroke {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    color: transparent;
    -webkit-text-stroke: 2px #f9f5ea;
    pointer-events: none;
}

.products-subtitle br {
    display: block;
    content: "";
    margin: 0;
}

.products-subtitle .fill {
    display: block;
    position: relative;
    z-index: 2;
    color: #28529a;
}

.product-item:hover,
.product-item:active {
    transform: translateY(-8px);
    z-index: 99;
}

.product-item:hover .image-card,
.product-item:active .image-card {
    opacity: 0.7;
}

.note-container {
    margin-bottom: 40px;
    gap: 8px;
}

.info-icon {
    width: 18px;
    height: 18px;
    font-size: 12px;
}

.note-text {
    font-size: 11px;
}

.product-grid {
    display: grid;
    grid-template-columns: 140px 140px;
    gap: 30px 15px;
    justify-content: space-between;
    width: 100%;
    max-width: 310px; 
    margin: 0 auto;
    padding: 0 5px;
}

.product-item:nth-child(3) {
    grid-column: 1;
    justify-self: start;
    margin-left: 0;
}

.product-item {
    width: 100%;
    max-width: 145px;
    margin: 0 auto;
}

.image-card {
    width: 145px;
    height: 147px;
    border-radius: 19px;
    overflow: hidden;
    position: relative;
    background-color: #f9f5ea;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.stock-pill {
    top: 10px;
    left: 10px;
    width: 64px;
    height: 19px;
    font-size: 6px;
    border-radius: 300px;
}

.item-name {
    font-size: 12px;
    margin: 10px 0 2px;
    white-space: normal;
    text-align: center;
}

.item-price {
    font-size: 9px;
    text-align: center;
}

.design-section {
    width: 100%;
    min-height: auto;
    background-color: #f7c0c3;
    padding: 60px 0 40px;
    display: block;
    margin: 0 auto;
    overflow-x: hidden;
}

.design-container {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.design-header-wrapper {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 15px;
    width: 100%;
}

.design-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
    display: block;
    color: #f9f5ea;
    width: 100%;
}

.design-title .stroke {
    -webkit-text-stroke: 4px #28529a;
    paint-order: stroke fill;
    display: inline-block;
}

.design-description {
    font-size: 9px;
    width: 100%;
    max-width: 339px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: block;
    color: #28529a;
    white-space: normal;
}

.design-description br {
    display: block;
    margin-top: 5px;
}

.canvas-container {
    width: 100%;
    max-width: 263px;
    height: 263px !important;
     margin: 0 auto 30px;
    border: 2px solid #28529a;
    border-radius: 50%;
    overflow: hidden;
}

#fatcaronCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 35px;
}

.tool-btn {
    width: calc(100% - 10px) !important; 
    margin: 0 auto;
    height: 47px;
    border-radius: 5px;
    font-size: 12px;
    background-color: #f9f5ea;
    border: 1px solid #28529a;
}

.tool-btn:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: 50%; 
}
.tool-btn:nth-child(5) {
    grid-column: 2 / 3;
    margin-left: 50%;
}

.tool-btn:nth-child(4),
.tool-btn:nth-child(5) {
    width: calc(100% - 10px) !important;
    justify-self: center;
}

.design-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    gap: 0px;
}

.input-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.input-wrapper input {
    width: 100%;
    max-width: 339px;
    height: 62px;
    font-size: 12px;
    padding: 10px 15px;
    background: #f9f5ea;
    border: 2px solid #28529a;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 0px;
}

.input-wrapper textarea {
    width: 100%;
    max-width: 339px;
    height: 141px;
    font-size: 12px;
    padding: 15px;
    background: #f9f5ea;
    border: 2px solid #28529a;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: opx;
    margin-bottom: 8px;
}

.submit-idea-btn {
    width: 100%;
    max-width: 339px;
    height: 62px;
    font-size: 14px;
    border-radius: 5px;
    margin-top: 8px;
    display: block;
}

.share-content {
    width: 85%;
    padding: 15px;
    max-height: 90vh;
    border-radius: 15px;
    justify-content: flex-start;
}

.share-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.design-preview-box {
    width: 100%;
    max-width: 180px;
    margin-bottom: 10px;
    border-width: 1px;
}

.share-buttons-container {
    gap: 8px;
    margin-top: 5px;
}

.pink-share-btn.long {
    width: 100%;
    max-width: 220px;
    height: 40px;
    font-size: 12px;
}

.pink-share-btn.small {
    width: 100%;
    max-width: 105px;
    height: 40px;
    font-size: 11px;
}

.pink-share-btn.close-btn {
    width: 100%;
    max-width: 120px;
    height: 35px;
    margin-top: 5px;
}

.share-row {
    gap: 10px;
    justify-content: center;
}

.made-with-care-section {
    padding: 60px 0 80px;
    width: 100%;
    overflow: hidden;
}

.care-container {
    width: 100%;
    padding: 0 20px;
}

.care-header-wrapper {
    text-align: left;
    margin-bottom: 60px;
}

.care-title {
    font-size: 24px;
}

.care-title .stroke {
    -webkit-text-stroke: 4px #28529a;
}

.care-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    margin-top: 40px;
}

.care-box {
    width: 100%;
    max-width: 270px;
    height: 280px;
    border-radius: 19px;
}


.care-circle {
    width: 111px;
    height: 111px;
    top: -55px;
}

.care-circle img {
    width: 80%;
    height: 80%;
}

.care-content {
    padding-top: 70px;
}

.care-number {
    font-size: 18px;
    -webkit-text-stroke: 2px #28529a;
    margin-bottom: 10px;
}

.care-item-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.care-item-desc {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    max-width: 220px;
    margin: 0 auto;
}

footer {
    width: 100%;
    padding: 40px 20px;
    background-color: #f9f5ea;
    height: auto;
    min-height: 550px;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-left,
.footer-right {
    width: 100%;
    max-width: 100%;
}

.footer-left,
.footer-right {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


.footer-left {
    flex: 1;
    gap: 20px;
}

.footer-left .footer-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.footer-logo-link {
    display: inline-block;
    width: auto;
}

.footer-section h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.footer-section p {
    font-size: 9px;
    line-height: 1.4;
    margin-bottom: 10px;
}


.footer-socials {
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.social-icon svg {
    width: 32px;
    height: 32px;
}

.xhs-blue-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.xhs-img {
    width: 22px;
    height: 22px;
}

.footer-copy {
    font-size: 9px;
    margin-top: 20px;
    white-space: normal;
}


.footer-right {
    flex: 1;
    margin-left: 0;
}

.footer-right h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-right .footer-links a {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    display: block;
}

.footer-right .footer-policies {
    margin-top: 5px;
}

.footer-right .footer-policies button {
    font-size: 10px;
    margin-bottom: 5px;
    display: block;
}
    
#policy-popup .popup-content {
    max-width: 320px;
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 70vh;
    padding: 25px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
}

#policy-text strong {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

#policy-text span {
    font-size: 14px;
    line-height: 1.5;
    display: block;
    text-align: left;
}

#policy-popup .popup-footer {
    width: 100%;
    display: block;
    border-top: 2px dashed #28529a;
    margin-top: 15px;
    padding-top: 15px;
    text-align: center;
}

#policy-popup .close-btn-bottom {
    display: inline-block;
}

#policy-popup .close-popup {
    font-size: 26px;
    top: 10px;
    right: 15px;
    z-index: 10;
}

#bttButton {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-width: 2px;
}

#bttButton::after {
    border-left-width: 8px;
    border-right-width: 8px;
    border-bottom-width: 14px;
    margin-top: -3px;
}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {

body {
    width: 100%;
    overflow-x: hidden;
}

.mobile-nav, 
.hamburger { 
    display: none !important; 
}

.desktop-nav { 
    display: block !important; 
}

   
.navbar {
    position: sticky; 
    height: 80px; 
    padding: 0 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

    
.navbar .logo {
    position: static !important;
    transform: none !important;
    margin-right: auto;
}

.navbar .logo img {
    width: 100px; 
    height: auto;
}

.nav-link {
    display: flex;
    font-size: 17px; 
    color: #28529a;
    text-decoration: none;
    padding: 8px 10px; 
    white-space: nowrap; 
}

.navbar .cart {
    display: flex;
    margin-left: 10px; 
}

.navbar .cart i {
    font-size: 28px !important;
    width: auto;
    height: auto;
}

#cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    background: #F7C0C3;
    top: -8px;
    right: -10px;
    display: flex;
}

.order-review-panel {
    width: 450px; 
    max-width: 450px;
    right: -450px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
}

.order-review-panel.open {
    right: 0;
}

.review-header {
    padding: 30px 40px 10px 40px;
}

.review-product-list {
    padding: 20px 40px;
}

.review-product-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
}

.review-item-name {
    font-size: 20px;
}

.review-footer-box {
    padding: 20px 40px;
}

.products-section {
        padding: 80px 20px 100px;
    }

.products-container {
    max-width: 100%;
}

.products-title {
    font-size: 52px;
}

.products-subtitle {
    font-size: 24px;
    max-width: 800px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    max-width: 900px; 
    margin: 0 auto;
    justify-items: center; 
}

.product-item {
    width: 100%;
    max-width: 280px; 
}

.image-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.01; 
    border-radius: 15px;
    margin: 0 auto;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-name {
    font-size: 16px; 
    margin: 15px 0 2px;
    text-align: center;
    white-space: normal; 
}

.item-price {
    font-size: 17px;
    text-align: center;
}

.note-container {
    margin-bottom: 60px;
}

.note-text {
    font-size: 16px;
}

.stock-pill {
    width: 100px;
    height: 26px;
    font-size: 11px;
    top: 15px;
    left: 15px;
}

.design-section {
    padding: 60px 40px;
}

.design-container {
    width: 100%;
    max-width: 950px; 
}

.design-title {
    font-size: 42px; 
}

.design-title .stroke {
    -webkit-text-stroke: 6px #28529a;
}

.design-description {
    font-size: 24px;
    margin-bottom: 30px;
}

.canvas-container {
    max-width: 550px; 
    height: 550px;
    margin-bottom: 30px;
}

.color-palette {
    max-width: 800px;
    justify-content: center;
    gap: 12px;
}

.tool-btn, .color-btn {
    width: 140px; 
    height: 50px;
    font-size: 18px;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    max-width: 1020px; 
    background: #f9f5ea;
    border: 2px solid #28529a;
    display: block;
    margin: 0 auto;
    font-family: 'Chewy', cursive;
    color: #486fb2;
    box-sizing: border-box; 
}

.submit-idea-btn {
    width: 100%;
    max-width: 602px; 
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-family: 'Chewy', cursive;
}

.input-wrapper input {
    height: 100px;
    border-radius: 46px; 
    padding: 0 40px; 
    margin-bottom: 25px;
    font-size: 20px;
}

.submit-idea-btn {
    width: 100%;
    max-width: 500px; 
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #486fb2;
    opacity: 0.7;
}


.input-wrapper textarea {
    height: 200px; 
    border-radius: 40px; 
    padding: 25px 40px;
    margin-bottom: 40px;
    font-size: 20px;
    resize: none;
}

.submit-idea-btn {
    width: 100%;
    max-width: 500px; 
    height: 80px;
    background: #28529a;
    color: #f9f5ea;
    border-radius: 40px;
    border: none;
    font-size: 26px;
    cursor: pointer;
    font-family: 'Chewy', cursive;
    display: block;
    margin: 0 auto;
}

.submit-idea-btn:hover {
    transform: translateY(-2px);
    background-color: #486fb2;
}


.share-content {
    max-width: 500px;
    padding: 25px;
}

.share-title {
    font-size: 28px;
}

.design-preview-box {
    width: 250px;
    height: 250px;
}

.pink-share-btn.long {
    width: 280px;
}

.pink-share-btn.small {
    width: 135px;
}

.care-container {
    width: 100%;
    max-width: 1000px;
    padding: 0 10px;
}

.care-grid {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: space-between;
    gap: 15px; 
}

.care-box {
   
    width: calc(33.33% - 10px);
    max-width: none;
    height: 450px;
}

.care-circle {
    width: 130px;
    height: 130px;
    top: -65px;
}

.care-circle img {
    width: 160px;
    height: 160px;
}


.care-title {
    font-size: 38px;
}

.care-content {
    padding-top: 80px;
    padding-left: 10px;
    padding-right: 10px;
}

.care-number,
.care-item-title {
    font-size: 24px;
}

.care-item-desc {
    font-size: 14px;
    line-height: 1.4;
}

footer {
    padding: 80px 60px;
    min-height: auto;
}

.footer-container {
    padding: 0 40px; 
    justify-content: center; 
    gap: 80px;
    flex-wrap: nowrap;
}

.footer-left {
    flex: 0 0 320px; 
}

.footer-right {
    margin-left: 0; 
    flex: 0 0 auto;
}

.footer-section h4, 
.footer-right h4, 
.footer-right .footer-links a {
    font-size: 22px; 
}

.footer-section p {
    font-size: 14px; 
}

.footer-copy {
    font-size: 18px; 
    margin-top: 30px;
}

.footer-right .footer-policies button {
    font-size: 16px; 
}


.footer-left .footer-logo {
    width: 150px;
}


.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section p {
    max-width: 350px;
    margin-bottom: 15px;
}

.footer-socials {
    gap: 15px;
}


.footer-right .footer-links a {
    font-size: 18px;
    margin-bottom: 12px;
}

.footer-right .footer-policies button {
    margin-bottom: 8px;
}


#policy-popup {
    display: none; 
    align-items: center;
    justify-content: center;
}

#policy-popup .popup-content {
    width: 450px; 
    max-width: 90%; 
    padding: 35px;
    
    height: auto; 
    max-height: 70vh; 
    
    margin: auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

#policy-text strong {
    font-size: 22px; 
    margin-bottom: 12px;
}

#policy-text span {
    font-size: 15px;
    line-height: 1.5;
}

#policy-popup .close-popup {
    font-size: 28px;
    top: 15px;
    right: 20px;
}

#bttButton {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-width: 2px;
}

#bttButton::after {
    border-left-width: 8px;
    border-right-width: 8px;
    border-bottom-width: 14px;
    margin-top: -3px;
}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {

body {
    width: 100%;
    overflow-x: hidden;
}

.mobile-nav, 
.hamburger { 
    display: none !important; 
}

.desktop-nav { 
    display: block !important; 
}

   
.navbar {
    position: sticky; 
    height: 80px; 
    padding: 0 30px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

    
.navbar .logo {
    position: static !important;
    transform: none !important;
    margin-right: auto;
}

.navbar .logo img {
    width: 100px; 
    height: auto;
}

.nav-link {
    display: flex;
    font-size: 17px; 
    color: #28529a;
    text-decoration: none;
    padding: 8px 10px; 
    white-space: nowrap; 
}

.navbar .cart {
    display: flex;
    margin-left: 10px; 
}

.navbar .cart i {
    font-size: 28px !important;
    width: auto;
    height: auto;
}

#cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    background: #F7C0C3;
    top: -8px;
    right: -10px;
    display: flex;
}

.order-review-panel {
    width: 450px; 
    max-width: 450px;
    right: -450px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
}

.order-review-panel.open {
    right: 0;
}

.review-header {
    padding: 30px 40px 10px 40px;
}

.review-product-list {
    padding: 20px 40px;
}

.review-product-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
}

.review-item-name {
    font-size: 20px;
}

.review-footer-box {
    padding: 20px 40px;
}

.products-section {
        padding: 80px 20px 100px;
    }

.products-container {
    max-width: 100%;
}

.products-title {
    font-size: 52px;
}

.products-subtitle {
    font-size: 24px;
    max-width: 800px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    max-width: 900px; 
    margin: 0 auto;
    justify-items: center; 
}

.product-item {
    width: 100%;
    max-width: 280px; 
}

.image-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.01; 
    border-radius: 15px;
    margin: 0 auto;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-name {
    font-size: 16px; 
    margin: 15px 0 2px;
    text-align: center;
    white-space: normal; 
}

.item-price {
    font-size: 17px;
    text-align: center;
}

.note-container {
    margin-bottom: 60px;
}

.note-text {
    font-size: 16px;
}

.stock-pill {
    width: 100px;
    height: 26px;
    font-size: 11px;
    top: 15px;
    left: 15px;
}

.design-section {
    padding: 60px 40px;
}

.design-container {
    width: 100%;
    max-width: 950px; 
}

.design-title {
    font-size: 42px; 
}

.design-title .stroke {
    -webkit-text-stroke: 6px #28529a;
}

.design-description {
    font-size: 24px;
    margin-bottom: 30px;
}

.canvas-container {
    max-width: 550px; 
    height: 550px;
    margin-bottom: 30px;
}

.color-palette {
    max-width: 800px;
    justify-content: center;
    gap: 12px;
}

.tool-btn, .color-btn {
    width: 140px; 
    height: 50px;
    font-size: 18px;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    max-width: 1020px; 
    background: #f9f5ea;
    border: 2px solid #28529a;
    display: block;
    margin: 0 auto;
    font-family: 'Chewy', cursive;
    color: #486fb2;
    box-sizing: border-box; 
}

.submit-idea-btn {
    width: 100%;
    max-width: 602px; 
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-family: 'Chewy', cursive;
}

.input-wrapper input {
    height: 100px;
    border-radius: 46px; 
    padding: 0 40px; 
    margin-bottom: 25px;
    font-size: 20px;
}

.submit-idea-btn {
    width: 100%;
    max-width: 500px; 
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #486fb2;
    opacity: 0.7;
}


.input-wrapper textarea {
    height: 200px; 
    border-radius: 40px; 
    padding: 25px 40px;
    margin-bottom: 40px;
    font-size: 20px;
    resize: none;
}

.submit-idea-btn {
    width: 100%;
    max-width: 500px; 
    height: 80px;
    background: #28529a;
    color: #f9f5ea;
    border-radius: 40px;
    border: none;
    font-size: 26px;
    cursor: pointer;
    font-family: 'Chewy', cursive;
    display: block;
    margin: 0 auto;
}

.submit-idea-btn:hover {
    transform: translateY(-2px);
    background-color: #486fb2;
}


.share-content {
    max-width: 500px;
    padding: 25px;
}

.share-title {
    font-size: 28px;
}

.design-preview-box {
    width: 250px;
    height: 250px;
}

.pink-share-btn.long {
    width: 280px;
}

.pink-share-btn.small {
    width: 135px;
}

.care-container {
    width: 100%;
    max-width: 1000px;
    padding: 0 10px;
}

.care-grid {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: space-between;
    gap: 15px; 
}

.care-box {
   
    width: calc(33.33% - 10px);
    max-width: none;
    height: 450px;
}

.care-circle {
    width: 130px;
    height: 130px;
    top: -65px;
}

.care-circle img {
    width: 160px;
    height: 160px;
}


.care-title {
    font-size: 38px;
}

.care-content {
    padding-top: 80px;
    padding-left: 10px;
    padding-right: 10px;
}

.care-number,
.care-item-title {
    font-size: 24px;
}

.care-item-desc {
    font-size: 14px;
    line-height: 1.4;
}

footer {
    padding: 80px 60px;
    min-height: auto;
}

.footer-container {
    padding: 0 40px; 
    justify-content: center; 
    gap: 80px;
    flex-wrap: nowrap;
}

.footer-left {
    flex: 0 0 320px; 
}

.footer-right {
    margin-left: 0; 
    flex: 0 0 auto;
}

.footer-section h4, 
.footer-right h4, 
.footer-right .footer-links a {
    font-size: 22px; 
}

.footer-section p {
    font-size: 14px; 
}

.footer-copy {
    font-size: 18px; 
    margin-top: 30px;
}

.footer-right .footer-policies button {
    font-size: 16px; 
}


.footer-left .footer-logo {
    width: 150px;
}


.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section p {
    max-width: 350px;
    margin-bottom: 15px;
}

.footer-socials {
    gap: 15px;
}


.footer-right .footer-links a {
    font-size: 18px;
    margin-bottom: 12px;
}

.footer-right .footer-policies button {
    margin-bottom: 8px;
}


#policy-popup {
    display: none; 
    align-items: center;
    justify-content: center;
}

#policy-popup .popup-content {
    width: 450px; 
    max-width: 90%; 
    padding: 35px;
    
    height: auto; 
    max-height: 70vh; 
    
    margin: auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

#policy-text strong {
    font-size: 22px; 
    margin-bottom: 12px;
}

#policy-text span {
    font-size: 15px;
    line-height: 1.5;
}

#policy-popup .close-popup {
    font-size: 28px;
    top: 15px;
    right: 20px;
}

#bttButton {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-width: 2px;
}

#bttButton::after {
    border-left-width: 8px;
    border-right-width: 8px;
    border-bottom-width: 14px;
    margin-top: -3px;
}
}