/* Swiftly Atelier — premium marketplace refresh.
   Presentation-only layer: the existing SellAuth logic, forms, cart, modals,
   customer pages, and section switching remain in their original files. */
:root{
  --sw-bg:#090811;
  --sw-bg-soft:#10101a;
  --sw-surface:#15131f;
  --sw-surface-strong:#1b1828;
  --sw-surface-hover:#211d30;
  --sw-border:rgba(212,203,244,.115);
  --sw-border-strong:rgba(190,153,255,.30);
  --sw-text:#fcfaff;
  --sw-muted:#aca7bb;
  --sw-purple:#9e79f7;
  --sw-pink:#e776d7;
  --sw-magenta:#cc69eb;
  --sw-success:#76dfb0;
  --sw-shadow:0 24px 74px rgba(0,0,0,.32);
  --sw-radius:20px;
  --sw-radius-lg:28px;
  --sw-accent-gradient:linear-gradient(115deg,#a28bff 3%,#d888ed 58%,#f09acb 100%);
}
html{scroll-padding-top:88px}
body.swiftly-theme{
  color:#faf8ff;
  background:
    radial-gradient(ellipse 700px 470px at 50% -140px,rgba(136,89,219,.14),transparent 85%),
    radial-gradient(ellipse 570px 500px at 100% 31%,rgba(146,71,189,.065),transparent 85%),
    #090811!important;
  -webkit-font-smoothing:antialiased;
}
body.swiftly-theme::before{
  opacity:.19;
  background-size:68px 68px;
  background-image:linear-gradient(rgba(244,232,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(244,232,255,.04) 1px,transparent 1px);
  mask-image:linear-gradient(to bottom,#000,transparent 85%);
}
body.swiftly-theme .bg-image{opacity:.045!important;filter:blur(2px) saturate(.6)}
body.swiftly-theme ::selection{background:rgba(182,127,248,.42);color:#fff}
body.swiftly-theme h1,body.swiftly-theme h2,body.swiftly-theme h3{letter-spacing:-.045em}
body.swiftly-theme p{color:var(--sw-muted)}
body.swiftly-theme .container{max-width:1280px}
body.swiftly-theme .btn-primary:not(.variant),body.swiftly-theme .btn.btn-primary:not(.variant){
  background:linear-gradient(115deg,#956cf0,#c361db)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 12px 30px rgba(133,80,225,.20)!important;
}
body.swiftly-theme .btn-primary:not(.variant):hover,body.swiftly-theme .btn.btn-primary:not(.variant):hover{box-shadow:0 16px 36px rgba(133,80,225,.28)!important;filter:brightness(1.07)}
body.swiftly-theme .btn-outline-primary,body.swiftly-theme .btn.btn-outline-primary{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(221,214,244,.13)!important;
  color:#ece7f8!important;
}
body.swiftly-theme .btn-outline-primary:hover,body.swiftly-theme .btn.btn-outline-primary:hover{
  background:rgba(158,121,247,.10)!important;
  border-color:rgba(194,158,245,.34)!important;
  color:#fff!important;
}
body.swiftly-theme .form-control,body.swiftly-theme .form-select,body.swiftly-theme .choices__inner{
  background:#16141f!important;border-color:rgba(220,210,243,.14)!important;
  border-radius:12px!important;color:#f9f6ff!important;
}
body.swiftly-theme .form-control:focus,body.swiftly-theme .form-select:focus{
  border-color:rgba(174,132,245,.65)!important;
  box-shadow:0 0 0 4px rgba(146,104,238,.11)!important;
}
body.swiftly-theme .modal-content,body.swiftly-theme .offcanvas{
  background:#14111e!important;border-color:rgba(225,208,250,.14)!important;
  box-shadow:0 28px 85px rgba(0,0,0,.52)!important;
}
body.swiftly-theme .swiftly-search-modal .modal-content{
  background:linear-gradient(155deg,#1b1729,#11101b 66%)!important;
  border:1px solid rgba(207,174,246,.20)!important;
  border-radius:23px!important;
}
body.swiftly-theme .swiftly-search-modal .swiftly-search-submit{background:linear-gradient(120deg,#936bed,#c064d8)}
body.swiftly-theme .swiftly-search-chip{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.11)}
body.swiftly-theme .swiftly-search-chip:hover{background:rgba(151,105,239,.14);border-color:rgba(183,147,244,.4)}
/* Category switching uses the existing sections.js and hidden-state mechanism. */
body.swiftly-theme [data-swiftly-sections] [data-section-tabs]{gap:9px;margin:0 0 24px;align-items:center}
body.swiftly-theme [data-swiftly-sections] [data-section-choice]{
  min-height:41px;padding:10px 17px;
  color:#bab3ca;background:rgba(255,255,255,.025);
  border-color:rgba(225,211,253,.11);border-radius:12px;
  font-size:.82rem;font-weight:700;
}
body.swiftly-theme [data-swiftly-sections] [data-section-choice]:hover{
  color:#fff;background:rgba(155,106,239,.10);border-color:rgba(177,143,243,.32)
}
body.swiftly-theme [data-swiftly-sections] [data-section-choice][aria-pressed="true"]{
  color:#fff;background:linear-gradient(105deg,rgba(148,103,236,.28),rgba(196,94,200,.18));
  border-color:rgba(174,136,243,.50);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 4px 15px rgba(89,46,145,.11)
}
body.swiftly-theme [data-swiftly-sections] [data-section-title]{font-weight:770;font-size:1.6rem}
body.swiftly-theme [data-swiftly-sections] [data-section-status]{color:#aca3bc}
body.swiftly-theme [data-swiftly-sections] [data-section-empty]{background:#13111c;border-style:dashed;border-color:rgba(221,208,241,.16);padding:42px 20px}
/* Make listing detail feel like one cohesive retail experience. */
body.swiftly-theme .swiftly-products-page-bg{padding-top:20px}
body.swiftly-theme .swiftly-products-shell{width:min(1280px,calc(100% - 36px))}
body.swiftly-theme .swiftly-products-hero{
  border-radius:25px;padding:36px 39px;margin-bottom:25px;
  background:radial-gradient(600px 280px at 100% 0%,rgba(154,93,244,.13),transparent 75%),linear-gradient(145deg,#191524,#12111c 80%);
  border:1px solid rgba(215,191,246,.15);box-shadow:none;
}
body.swiftly-theme .swiftly-products-badge{font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#d7c0fb;background:rgba(174,120,242,.10);border-color:rgba(191,157,249,.20)}
body.swiftly-theme .swiftly-products-hero h1{font-size:clamp(2.2rem,4.6vw,3.65rem);font-weight:790;letter-spacing:-.065em}
body.swiftly-theme .swiftly-products-hero p,body.swiftly-theme .swiftly-main-header p{color:#aaa3b9}
body.swiftly-theme .swiftly-products-layout{gap:20px}
body.swiftly-theme .swiftly-sidebar,body.swiftly-theme .swiftly-products-main .swiftly-panel,
body.swiftly-theme .swiftly-product-page .swiftly-panel{
  border-color:rgba(221,207,246,.13);border-radius:21px;
  background:linear-gradient(150deg,rgba(255,255,255,.047),rgba(255,255,255,.017));
  box-shadow:0 16px 46px rgba(0,0,0,.13);
}
body.swiftly-theme .swiftly-cat-link{border-radius:11px}
body.swiftly-theme .swiftly-filter-btn{background:linear-gradient(110deg,#916def,#c266d8)!important;border-radius:12px!important;box-shadow:0 12px 24px rgba(133,80,225,.13)}
body.swiftly-theme .swiftly-products-grid{gap:16px}
body.swiftly-theme .swiftly-product-page .swiftly-title{letter-spacing:-.047em}
body.swiftly-theme .swiftly-product-page .swiftly-info-panel{background:linear-gradient(156deg,#1b1827,#12111d 86%)}
body.swiftly-theme .swiftly-product-page .swiftly-gallery-panel{overflow:hidden}
body.swiftly-theme .swiftly-product-page .swiftly-before-buy{border-color:rgba(214,197,245,.12);background:rgba(255,255,255,.025)}
body.swiftly-theme .swiftly-product-page .swiftly-product-confidence{border-color:rgba(211,198,243,.1)}
/* Consistent branded surfaces on cart, customer, checkout and account pages. */
body.swiftly-theme .cart .cart-item-bg,body.swiftly-theme .cart .form,
body.swiftly-theme .swiftly-account-data-panel,body.swiftly-theme .swiftly-wallet-card,
body.swiftly-theme .swiftly-topup-card{
  background:linear-gradient(150deg,#181522,#12111c)!important;
  border-color:rgba(217,203,243,.13)!important;
  border-radius:21px!important;
}
body.swiftly-theme .swiftly-account-page-hero{
  background:radial-gradient(530px 210px at 100% 0%,rgba(163,95,230,.15),transparent 76%),linear-gradient(145deg,#1b1729,#11101b);
  border-color:rgba(206,175,248,.16);
}
body.swiftly-theme .swiftly-checkout-progress>div.active span{background:rgba(154,114,238,.19);border-color:rgba(194,158,245,.26)}
body.swiftly-theme .feedback-card,body.swiftly-theme .feedbacks .card{
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.017))!important;
  border-color:rgba(219,201,245,.12)!important;
  border-radius:18px!important;
  box-shadow:0 14px 32px rgba(0,0,0,.12)!important;
}
body.swiftly-theme .feedback-card:hover,body.swiftly-theme .feedbacks .card:hover{border-color:rgba(183,139,243,.36)!important}
body.swiftly-theme .swiftly-footer{
  margin-top:38px;background:radial-gradient(500px 300px at 50% 0%,rgba(139,72,217,.085),transparent 85%),#0d0c15;
  border-color:rgba(219,208,246,.11)
}
body.swiftly-theme .swiftly-footer::before{background:linear-gradient(90deg,transparent,rgba(181,132,239,.74),transparent);box-shadow:0 0 24px rgba(144,93,235,.25)}
body.swiftly-theme .swiftly-footer-inner{padding-top:61px;padding-bottom:28px}
body.swiftly-theme .swiftly-footer-brand img{width:45px;height:45px}
body.swiftly-theme .swiftly-footer-brand strong{font-size:1.25rem;letter-spacing:-.045em}
body.swiftly-theme .swiftly-footer-copy{max-width:365px;color:#a69eb4;line-height:1.75}
body.swiftly-theme .swiftly-footer h4{color:#eee8fa;font-size:.74rem;letter-spacing:.13em}
body.swiftly-theme .swiftly-footer-links{gap:13px}
body.swiftly-theme .swiftly-footer-links a{color:#a9a2b8;font-size:.87rem}
body.swiftly-theme .swiftly-footer-links a:hover{color:#e5c8ff}
body.swiftly-theme .swiftly-footer-bottom{border-color:rgba(225,209,249,.09);color:#8e879f;font-size:.78rem}
body.swiftly-theme :is(a,button,input,select,summary,textarea):focus-visible{outline:2px solid #c099fc!important;outline-offset:3px!important}
@media(min-width:992px){body.swiftly-theme .swiftly-products-shell{margin-top:22px}}
@media(max-width:767px){
 body.swiftly-theme .swiftly-products-shell{width:min(1280px,calc(100% - 24px))}
 body.swiftly-theme .swiftly-products-hero{padding:26px 23px;border-radius:20px}
 body.swiftly-theme .swiftly-products-hero h1{font-size:clamp(2.25rem,9vw,3.1rem)}
 body.swiftly-theme .swiftly-footer-inner{padding-top:43px}
 body.swiftly-theme [data-swiftly-sections] [data-section-tabs]{gap:7px}
 body.swiftly-theme [data-swiftly-sections] [data-section-choice]{min-height:38px;padding:8px 13px;font-size:.78rem}
}
@media(prefers-reduced-motion:reduce){body.swiftly-theme *,body.swiftly-theme *::before,body.swiftly-theme *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
