@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
:root{--ink:#3b2b2f;--pink:#f7dfe2;--rose:#d88999;--cream:#fffaf7;--line:#eadfe0;--muted:#8c7d80;--dark:#302326}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",Arial,sans-serif}.wrap{width:min(1160px,calc(100% - 28px));margin:auto}a{text-decoration:none;color:inherit}.topbar{position:sticky;top:0;z-index:20;background:rgba(255,250,247,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:grid;grid-template-columns:16px auto 16px;align-items:center;text-align:center;line-height:1}.brand-main{font-family:"Playfair Display",serif;font-size:24px;letter-spacing:3px}.brand-sub{grid-column:2;font-size:9px;letter-spacing:3px;margin-top:5px;color:#8f6f76}.brand-flower{font-size:12px;color:var(--rose)}nav{display:flex;gap:28px;font-size:13px}nav a:hover{color:var(--rose)}.cart-pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 15px;color:var(--ink);cursor:pointer}.cart-pill b{background:var(--pink);border-radius:50%;padding:3px 7px;margin-left:4px}.hero{padding:72px 0;background:linear-gradient(120deg,#fff8f6,#f8e7e9)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}.tiny{font-size:10px;font-weight:700;letter-spacing:2.4px;color:#a17f86;margin-bottom:14px}.hero h1{font-family:"Playfair Display",serif;font-size:clamp(43px,6vw,76px);line-height:1.02;font-weight:500;margin:0 0 25px;letter-spacing:-2px}.hero h1 i{font-weight:500;color:#9b6d77}.hero p{color:#796b6e;line-height:1.8;max-width:590px}.hero-buttons{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}.btn{border:0;min-height:48px;padding:0 21px;border-radius:9px;font-weight:700;cursor:pointer;font-family:inherit}.dark{background:var(--dark);color:white}.light{background:white;border:1px solid var(--line)}.hero-art{min-height:410px;border-radius:28px;background:radial-gradient(circle at 30% 25%,#fff 0 8%,transparent 9%),linear-gradient(145deg,#eabcc4,#f8e6e7 55%,#d7a0ab);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 25px 70px rgba(115,65,76,.16);position:relative;overflow:hidden}.hero-art:before,.hero-art:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.55);border-radius:50%}.hero-art:before{top:-80px;left:-70px}.hero-art:after{right:-80px;bottom:-70px}.ornament{font-family:"Playfair Display",serif;text-align:center;font-size:48px;letter-spacing:6px;color:#55393f;line-height:1.1}.ornament span{font-size:24px;letter-spacing:3px}.hero-note{margin-top:35px;font-size:11px;letter-spacing:1px;color:#745b60}.benefits{background:white;border-bottom:1px solid var(--line)}.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr)}.benefits-grid div{padding:22px 16px;border-right:1px solid var(--line);display:flex;gap:10px;align-items:center;font-size:13px}.benefits-grid div:first-child{border-left:1px solid var(--line)}.benefits-grid b{color:var(--rose);font-size:18px}.section{padding:85px 0}.section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section h2,.contact-card h2{font-family:"Playfair Display",serif;font-size:46px;font-weight:500;margin:0}.soft{color:var(--muted);font-size:13px;line-height:1.7}.catalog-head{margin-bottom:25px}.cats{display:flex;gap:7px;overflow:auto}.cat{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:999px;padding:10px 15px;cursor:pointer;color:var(--ink)}.cat.active,.cat:hover{background:var(--pink);border-color:#edc6cc}.tools input,.checkout-modal input,.checkout-modal textarea{font:inherit;border:1px solid var(--line);background:white;border-radius:9px;padding:13px 14px;outline:none}.tools input{min-width:260px}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer;transition:.2s;box-shadow:0 8px 30px rgba(70,40,45,.04)}.product:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(70,40,45,.1)}.photo{height:390px;background:#eee;position:relative;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.tag{position:absolute;left:12px;top:12px;background:#fff9;border-radius:999px;padding:7px 10px;font-size:10px}.pinfo{padding:16px}.pname{font-weight:700}.pmeta{color:var(--muted);font-size:12px;margin-top:5px}.price{font-weight:700;font-size:18px;margin-top:9px}.empty{text-align:center;padding:50px;color:var(--muted)}.hidden{display:none!important}.dark-section{background:var(--dark);color:#fff;padding:80px 0}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}.dark-section h2{font-family:"Playfair Display",serif;font-size:48px;font-weight:500;margin:0}.dark-section p{color:#ddd;line-height:1.8}.pale{color:#e9b8c1}.contact-card{background:#f7e6e7;border:1px solid #efd5d9;border-radius:22px;padding:45px;display:flex;align-items:center;justify-content:space-between;gap:30px}.address{font-size:19px}.contact-buttons{display:flex;gap:9px;flex-wrap:wrap}.contact{padding:13px 16px;background:#fff;border:1px solid #ead2d6;border-radius:9px;font-size:13px;font-weight:700}.contact.dark{border-color:var(--dark)}.contact.tg{background:#5baed0;color:#fff;border-color:#5baed0}footer{border-top:1px solid var(--line);padding:25px 0;font-size:12px;color:var(--muted)}.foot{display:flex;justify-content:space-between}.modal{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px}.shade{position:absolute;inset:0;background:#2b1e21aa;backdrop-filter:blur(4px)}.modal-box{position:relative;z-index:1;background:#fff;border-radius:18px;max-width:850px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 30px 100px #0004}.x{position:absolute;right:12px;top:10px;width:38px;height:38px;border:0;background:white;border-radius:50%;font-size:27px;cursor:pointer;z-index:2}.product-modal{display:grid;grid-template-columns:1fr 1fr}.product-modal>div:first-of-type{min-height:520px;background:#eee}.product-modal>div:first-of-type img{width:100%;height:100%;object-fit:cover}.modal-content{padding:45px}.modal-content h3,.cart-modal h3,.checkout-modal h3{font-family:"Playfair Display",serif;font-size:34px;margin:0 0 10px;font-weight:500}.modal-content p{line-height:1.7;color:var(--muted)}.modal-content label{display:block;font-size:12px;font-weight:700;margin:25px 0 9px}.sizes{display:flex;flex-wrap:wrap;gap:8px}.size{padding:10px 15px;border:1px solid var(--line);background:white;border-radius:8px;cursor:pointer}.size.selected{background:var(--pink);border-color:#dba4ad}.full{width:100%;margin-top:22px}.hint{font-size:12px;color:var(--muted);margin-top:10px;text-align:center}.cart-modal,.checkout-modal{padding:40px;max-width:620px}.cart-line{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.cart-line img{width:58px;height:70px;object-fit:cover;border-radius:7px}.remove{border:0;background:none;color:#a66;cursor:pointer}.cart-summary{display:flex;justify-content:space-between;padding:18px 0;font-size:17px}.checkout-modal form{display:grid;gap:12px}.choice{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;padding:4px 0}.choice label{background:#fff5f6;border:1px solid var(--line);padding:10px 12px;border-radius:9px}.checkout-modal textarea{min-height:90px;resize:vertical}.success{background:#e6f6ea;border:1px solid #b9dfc2;padding:12px;border-radius:9px;color:#34613e}.error{background:#fff0f0;border:1px solid #edc4c4;padding:12px;border-radius:9px;color:#8c4444}@media(max-width:850px){nav{display:none}.hero{padding:45px 0}.hero-grid{grid-template-columns:1fr;gap:30px}.hero-art{min-height:330px}.benefits-grid{grid-template-columns:repeat(2,1fr)}.products{grid-template-columns:repeat(2,1fr)}.photo{height:320px}.about-grid{grid-template-columns:1fr;gap:25px}.contact-card{display:block}.contact-buttons{margin-top:25px}.section-title{display:block}.section-title .soft{margin-top:8px}.product-modal{grid-template-columns:1fr}.product-modal>div:first-of-type{min-height:350px}}@media(max-width:520px){.wrap{width:calc(100% - 20px)}.nav{height:67px}.brand-main{font-size:19px}.brand-sub{font-size:7px}.cart-pill{padding:9px 10px}.hero h1{font-size:43px}.ornament{font-size:35px}.ornament span{font-size:18px}.benefits-grid{grid-template-columns:1fr 1fr}.benefits-grid div{font-size:11px;padding:17px 10px}.section{padding:60px 0}.section h2,.contact-card h2,.dark-section h2{font-size:37px}.products{grid-template-columns:1fr 1fr;gap:10px}.photo{height:230px}.pinfo{padding:12px}.pname{font-size:13px}.price{font-size:15px}.tools input{width:100%;min-width:0}.cats{width:100%}.contact{width:100%;text-align:center}.contact-card{padding:30px 22px}.modal{padding:8px}.modal-content{padding:28px 22px}.cart-modal,.checkout-modal{padding:30px 20px}.foot{flex-direction:column;gap:8px}}

.contact-people{display:grid;grid-template-columns:1fr 1fr;gap:10px}.person{background:#fff;border:1px solid #ead2d6;border-radius:13px;padding:13px;min-width:190px}.person b{display:block;margin-bottom:7px}.person span{display:block;font-size:13px;margin-bottom:9px}.copy-phone{border:0;background:none;padding:0;color:var(--ink);font:inherit;cursor:pointer;text-decoration:underline dotted}.mini-contact{display:inline-block;padding:7px 9px;border-radius:7px;font-size:11px;font-weight:700;margin-right:5px}.mini-contact.tg{background:#5baed0;color:#fff}.mini-contact.vb{background:#7d52a0;color:#fff}.choice-title{font-size:12px;font-weight:700;margin-top:6px}.np-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-select select{width:100%;padding:13px;border:1px solid var(--line);border-radius:9px;background:white;font:inherit}.success-box{max-width:480px;padding:42px;text-align:center}.success-icon{width:66px;height:66px;margin:0 auto 18px;border-radius:50%;background:#e5f5e9;color:#3f8a53;display:grid;place-items:center;font-size:36px;font-weight:700}.success-box h3{font-family:"Playfair Display",serif;font-size:34px;font-weight:500;margin:0 0 12px}.success-box p{color:var(--muted);line-height:1.6}.success-order{display:inline-block;margin:10px 0;padding:9px 14px;border-radius:999px;background:#f7e6e7;font-weight:700}
@media(max-width:650px){.contact-people{grid-template-columns:1fr}.person{min-width:0}.np-fields{grid-template-columns:1fr}}

.person-links{display:flex;gap:7px;align-items:center;flex-wrap:wrap}

.card-box{padding:13px 15px;background:#fff5f6;border:1px solid var(--line);border-radius:9px;line-height:1.7}.receipt-box{display:grid;gap:7px;font-size:12px;font-weight:700}.receipt-box input{padding:9px}.np-hint{grid-column:1/-1;margin-top:-5px}.order-payment-status{display:inline-block;padding:5px 9px;border-radius:999px;background:#fff5d8}.receipt-preview{max-width:260px;max-height:320px;border-radius:10px;border:1px solid var(--line);margin-top:8px}.payment-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}

/* Product gallery layout fix */
.product-modal{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;overflow:hidden}
.product-modal #modalPhoto{grid-column:1;grid-row:1;min-width:0;min-height:0!important;height:520px;background:#f3eeee;overflow:hidden}
.product-modal #modalPhoto img{display:block;width:100%;height:100%;object-fit:contain}
.product-modal #modalGallery{grid-column:1;grid-row:2;min-width:0;max-width:100%;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:10px 12px 14px;background:#fff}
.product-modal #modalGallery .gallery-thumb{flex:0 0 auto;width:64px;height:80px}
.product-modal #modalGallery .gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.product-modal .modal-content{grid-column:2;grid-row:1 / span 2;min-width:0;overflow-wrap:anywhere}
@media(max-width:850px){
  .product-modal{grid-template-columns:1fr;grid-template-rows:auto auto auto;overflow:auto}
  .product-modal #modalPhoto{grid-column:1;grid-row:1;height:390px}
  .product-modal #modalGallery{grid-column:1;grid-row:2}
  .product-modal .modal-content{grid-column:1;grid-row:3}
}
@media(max-width:520px){
  .product-modal #modalPhoto{height:360px}
  .product-modal #modalGallery .gallery-thumb{width:58px;height:72px}
}

.nav-actions{display:flex;align-items:center;gap:7px}.lang-pill,.fav-pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 12px;color:var(--ink);cursor:pointer;font-weight:700}.fav-pill b{background:var(--pink);border-radius:50%;padding:2px 6px;margin-left:2px}.smart-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:9px}.smart-filter{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;cursor:pointer;font:inherit;color:var(--ink)}.smart-filter.active{background:var(--pink);border-color:#e2b5bd}
.product{position:relative}.product .favorite-btn{position:absolute;right:10px;top:10px;z-index:3;width:36px;height:36px;border:1px solid #eadfe0;background:#fffdfd;border-radius:50%;cursor:pointer;font-size:19px;line-height:1}.product .favorite-btn.active{background:#f7dfe2}.badge-row{position:absolute;left:12px;top:12px;display:flex;gap:5px;flex-wrap:wrap;max-width:75%}.tag{position:static}.product-badge{background:#302326;color:#fff;border-radius:999px;padding:6px 9px;font-size:10px}.product-badge.sale{background:#d88999}.price-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.old-price{text-decoration:line-through;color:#a9999d;font-size:13px}.new-price{font-weight:700;font-size:18px}.modal-price-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.modal-old-price{text-decoration:line-through;color:#a9999d}.modal-gallery{grid-column:1;padding:0 14px 14px;display:flex;gap:8px;overflow:auto;background:#eee}.modal-gallery .gallery-thumb{border:1px solid transparent;background:#fff;padding:0;width:72px;height:86px;flex:0 0 auto;border-radius:7px;overflow:hidden;cursor:pointer}.modal-gallery .gallery-thumb.selected{border-color:#d88999}.modal-gallery img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.nav-actions{gap:4px}.lang-pill,.fav-pill,.cart-pill{padding:9px 10px}.product-modal{display:block}.product-modal>div:first-of-type{min-height:330px}.modal-gallery{padding:8px;}.modal-content{padding:25px 20px}.modal-gallery .gallery-thumb{width:60px;height:72px}}

/* Stable product modal: background never moves while the product is scrolled */
body.modal-open{overflow:hidden;overscroll-behavior:none}
.modal-box{overflow:hidden}
.product-modal{max-height:92vh;overscroll-behavior:contain}
.product-modal #modalPhoto{height:520px;max-height:62vh;overflow:hidden}
.product-modal #modalGallery{overscroll-behavior:contain;scrollbar-width:thin}
.product-modal .modal-content{max-height:92vh;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:760px){
  .product-modal{max-height:94vh}
  .product-modal #modalPhoto{height:52vh;max-height:520px;min-height:300px}
  .product-modal .modal-content{max-height:none;overflow:visible}
  .modal{overscroll-behavior:none}
}

/* Clear language switch */
.lang-switch{display:flex;gap:3px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:999px;padding:3px}
.lang-switch button{border:0;background:transparent;border-radius:999px;padding:7px 9px;font:700 11px inherit;color:var(--muted);cursor:pointer}
.lang-switch button.active{background:var(--pink);color:var(--ink)}

/* Final photo grid sizing: uploaded photos always fill the same visual frame */
.photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.product-modal #modalPhoto{width:100%;display:flex;align-items:center;justify-content:center;background:#f3eeee}
.product-modal #modalPhoto img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center}
.product-modal #modalGallery{width:100%;box-sizing:border-box}
.product-modal #modalGallery .gallery-thumb{overflow:hidden}
@media(max-width:760px){
  .product-modal #modalPhoto{width:100%;height:390px;min-height:0;max-height:55vh}
  .product-modal #modalPhoto img{width:100%;height:100%;object-fit:cover;object-position:center}
}
@media(max-width:520px){
  .product-modal #modalPhoto{width:100%;height:360px;min-height:0;max-height:52vh}
}


/* Product modal mobile scroll + selection + add-to-cart flow */
.color-choice{
  padding:10px 14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:9px;
  cursor:pointer;
  transition:.15s ease;
}
.color-choice:hover{border-color:#dba4ad}
.color-choice.selected{
  background:var(--pink);
  border-color:#c98591;
  box-shadow:0 0 0 2px #c9859140;
  font-weight:700;
}
.color-choice.disabled,.size.disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through}
.size.selected{
  background:var(--pink);
  border-color:#c98591;
  box-shadow:0 0 0 2px #c9859140;
  font-weight:700;
  transform:translateY(-1px);
}
.hint{
  min-height:18px;
  font-weight:600;
}
.cart-added-modal{
  padding:34px 28px 28px;
  max-width:460px;
  text-align:center;
}
.cart-added-modal .success-icon{
  width:54px;height:54px;border-radius:50%;
  display:grid;place-items:center;
  margin:4px auto 14px;
  background:#e6f6ea;border:1px solid #b9dfc2;color:#34613e;
  font-size:28px;font-weight:800;
}
.cart-added-modal h3{font-family:"Playfair Display",serif;font-size:30px;margin:0 0 10px;font-weight:500}
.added-text{color:var(--muted);line-height:1.6;margin:0 0 18px}
.added-actions{display:grid;gap:8px}
.btn.light{
  background:#fff5f6;
  color:var(--ink);
  border:1px solid #e2b5bd;
}
.product-modal .modal-content{min-height:0}

/* On small screens the whole product card scrolls as one continuous column.
   This fixes the clipped bottom controls on phones. */
@media(max-width:850px){
  .modal{
    padding:8px;
    align-items:center;
    overflow:hidden;
  }
  .modal-box.product-modal{
    display:flex;
    flex-direction:column;
    width:100%;
    max-height:94vh;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .product-modal #modalPhoto{
    flex:0 0 auto;
    height:min(52vh,390px);
    min-height:260px;
    max-height:none;
  }
  .product-modal #modalGallery{
    flex:0 0 auto;
    overflow-x:auto;
    overflow-y:hidden;
  }
  .product-modal .modal-content{
    flex:0 0 auto;
    max-height:none;
    overflow:visible;
    padding:26px 20px 30px;
  }
  .product-modal .full{
    margin-bottom:4px;
  }
}
@media(max-width:520px){
  .modal-box.product-modal{max-height:94vh}
  .product-modal #modalPhoto{height:340px;min-height:240px}
  .product-modal .modal-content{padding:22px 18px 30px}
  .product-modal .modal-content h3{font-size:32px}
  .cart-added-modal{padding:30px 20px 22px}
  .cart-added-modal h3{font-size:26px}
}
