/* Desertwebz design: styles for the shop's own markup that the new design doesn't have.
   The shop's Bootstrap modals (add to cart, order details, the messages after a form)
   keep their HTML and their scripts; they get the design's popup look here. */

.modal { position: fixed; inset: 0; z-index: 1050; display: none; overflow-x: hidden; overflow-y: auto; outline: 0; }
.modal.show { display: flex !important; align-items: center; justify-content: center; padding: calc(24 * var(--u, 1px)); }
.modal-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgba(7, 16, 30, .8); }
.modal-backdrop.fade { opacity: 0; transition: opacity .3s; }
.modal-backdrop.show { opacity: 1; }
.modal.fade .modal-dialog { transform: translateY(16px); transition: transform .4s ease; }
.modal.show .modal-dialog { transform: none; }
.modal-dialog { position: relative; width: 100%; max-width: 560px; margin: auto; pointer-events: none; }
.modal-dialog.modal-lg { max-width: 800px; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: #fff; border-radius: 16px; padding: 32px 24px; box-shadow: 0 16px 48px -8px #07101e2e; color: #0b1626; font-family: Inter, system-ui, sans-serif; text-align: center; }
@media (min-width: 768px) { .modal-content { padding: 48px; } }
.modal-header, .modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-body { position: relative; }
body.modal-open { overflow: hidden; }
.c-preloader { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; }
.close, .btn-close { background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: #56656f; }

/* the message popups (registration, contact, captcha, payment …): the design's popup text */
.contact_success_label { display: none; }
.contact_success_title, .register-cont h3, .modal-content h2, .modal-content h3, .modal-content h4 { margin: 0 0 16px; font-size: 32px; font-weight: 300; line-height: 1.2; letter-spacing: -.8px; color: #0b1626; }
@media (min-width: 768px) { .contact_success_title, .register-cont h3, .modal-content h2, .modal-content h3, .modal-content h4 { font-size: 40px; letter-spacing: -1px; } }
.contact_success_text, .register-cont p, .modal-content p { margin: 0 0 24px; font-size: 17px; line-height: 1.5; color: #56656f; }
.contact_success_btn, .primary-btn, .modal-content .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: #07101e; color: #e6f1f4; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .3s; }
.contact_success_btn:hover, .primary-btn:hover, .modal-content .btn:hover { background: #1c7880; color: #e6f1f4; }
.contact_success_arrow { display: none; }

/* account tabs that the shop switches with ?tab= */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* product cards: the picture opens the product too (the title is the other link) */
.card > .card-img-link > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease, ease); }
.card:hover > .card-img-link > img { transform: scale(1.04); }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); min-height: calc(56 * var(--u)); padding: 0 calc(28 * var(--u)); border: 0; border-radius: calc(999 * var(--u)); font: inherit; font-size: max(12px, calc(16 * var(--u))); font-weight: 500; line-height: calc(24 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); white-space: nowrap; cursor: pointer; transition: background-color .3s, box-shadow .3s, color .3s; }
.x-btn--dark { background: #07101e; color: #e6f1f4; }
.x-btn--dark:hover { background: #1c7880; }
.x-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: calc(24 * var(--u)); background: rgba(7, 16, 30, .8); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.x-modal.is-open { opacity: 1; visibility: visible; }
.x-modal__box { display: flex; flex-direction: column; align-items: center; gap: calc(24 * var(--u)); width: 100%; max-width: calc(560 * var(--u)); padding: calc(32 * var(--u)) calc(24 * var(--u)); border-radius: calc(16 * var(--u)); background: #fff; text-align: center; box-shadow: 0 calc(16 * var(--u)) calc(48 * var(--u)) calc(-8 * var(--u)) #07101e2e; transform: translateY(calc(16 * var(--u))); transition: transform .4s var(--ease, ease); }
.x-modal.is-open .x-modal__box { transform: none; }
.x-modal__icon { display: block; width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.x-modal h2 { align-self: stretch; margin: 0; font-size: max(12px, calc(32 * var(--u))); font-weight: 300; line-height: calc(38.4 * var(--u)); letter-spacing: calc(-0.8 * var(--u)); color: #0b1626; }
.x-modal p { align-self: stretch; margin: 0; font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); color: #56656f; }
.x-modal .x-btn { align-self: stretch; }
@media (min-width: 768px) {
.x-modal__box { padding: calc(48 * var(--u)); }
.x-modal h2 { font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1 * var(--u)); }
}
.oo-rate .x-btn { margin-top: calc(16 * var(--u)); }
@media (min-width: 768px) {
.oo-rate .x-btn { margin-top: 0; }
}
.ac-row .x-btn { align-self: flex-start; margin-top: calc(8 * var(--u)); }
@media (min-width: 768px) {
.ac-row .x-btn { margin: 0 0 0 auto; }
.ac-row .w-act .x-btn { margin: 0; }
}
.ac-row .x-btn[disabled] { cursor: default; box-shadow: none; }
.yd-form .x-btn { width: 100%; }
@media (min-width: 768px) {
.yd-form .x-btn { width: auto; align-self: flex-start; }
}
.co-go .x-btn { width: 100%; }
@media (min-width: 768px) {
.co-go .x-btn { width: auto; }
}
.x-modal h2, .x-modal p { margin: 0; font-weight: 400; }
.au-form .x-btn { width: 100%; }
.st-more .x-btn { width: 100%; }
@media (min-width: 768px) {
.st-more .x-btn { width: auto; }
}
.x-btn--light { background: #f0f4f5; color: #0b1626; }
.x-btn--light:hover { background: #e2ebee; }

/* the add-to-cart popup */
.dw-cartpop { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
@media (min-width: 768px) { .dw-cartpop:not(.dw-cartpop--done) { flex-direction: row; align-items: stretch; text-align: left; gap: 32px; } }
.dw-cartpop__img { width: 180px; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.dw-cartpop__form { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; }
.dw-cartpop__tag { font-size: 12px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase; color: #1c7880; }
.dw-cartpop h2 { margin: 0; font-size: 28px; font-weight: 300; line-height: 1.2; letter-spacing: -.6px; color: #0b1626; }
.dw-cartpop p { margin: 0; font-size: 17px; color: #56656f; }
.dw-cartpop .dw-cartpop__price { font-size: 24px; color: #0b1626; }
.dw-cartpop__qty { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #56656f; }
.dw-cartpop__qty input { width: 72px; height: 44px; padding: 0 12px; border: 1px solid #d5dee2; border-radius: 999px; font: inherit; text-align: center; }
.dw-cartpop .x-btn { width: 100%; }

/* the header lives in the layout on every page, the home page included: its wrapper takes no space
   (the home stylesheet gives every .hero.stars a full screen; the header's items are fixed) */
body .hero.stars.dw-nav { position: static !important; height: 0 !important; min-height: 0 !important; padding: 0 !important; background: none !important; overflow: visible !important; }
