/* ============================================================
   MODERN LOOK - loaded after styles.css on every page.
   Softer rounded shapes, gentle shadows, smoother buttons.
   To go back to the old look: delete this file and the
   <link rel="stylesheet" href="modern.css"> line in each page
   (or ask Claude to revert to the "before-modern-look" tag).
   ============================================================ */

:root{
  --r-sm: 10px;      /* inputs, small buttons */
  --r-md: 14px;      /* images, cards */
  --r-lg: 20px;      /* panels */
  --r-pill: 999px;   /* pill buttons */
  --shadow-soft: 0 0 0 1px rgba(30,27,23,.04), 0 2px 6px rgba(30,27,23,.06), 0 12px 32px rgba(30,27,23,.10);
  --shadow-lift: 0 0 0 1px rgba(30,27,23,.05), 0 4px 10px rgba(30,27,23,.08), 0 20px 44px rgba(30,27,23,.16);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Header: light frosted bar ---------- */
.site-header{
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}

/* ---------- Buttons: rounded, calmer lettering ---------- */
.btn{
  border-radius: var(--r-pill);
  padding: 15px 30px;
  font-size: 12.5px; letter-spacing: .1em; font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover{ background: #35302A; color: var(--white); border-color: #35302A; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30,27,23,.16); }
.btn:active{ transform: translateY(0); box-shadow: none; }
.btn.outline:hover{ background: var(--ink); color: var(--white); }
.btn:disabled{ opacity: .3; }
.btn:disabled:hover{ transform: none; box-shadow: none; background: var(--ink); color: var(--ivory); }
.custom-teaser .btn:hover{ background: transparent; color: var(--ivory); border-color: var(--ivory); box-shadow: none; }

/* Home page "Instantly Get a Quote": white pill, normal lettering, arrow in a dark circle */
.custom-teaser .btn.teaser-btn{
  gap: 14px; padding: 7px 7px 7px 24px;
  background: #FFFFFF; color: #1A1A1A; border: none;
  font-size: 15px; letter-spacing: .01em; text-transform: none; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.custom-teaser .btn.teaser-btn:hover{
  background: #FFFFFF; color: #1A1A1A; border: none;
  transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.32);
}
.teaser-btn-arrow{
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1A1A1A; color: #FFFFFF;
  transition: transform .25s var(--ease);
}
.custom-teaser .btn.teaser-btn:hover .teaser-btn-arrow{ transform: translateX(3px); }
/* Custom orders "Build My Quote": dark pill, normal lettering, arrow in a white circle */
.btn.quote-btn{
  gap: 14px; padding: 7px 7px 7px 24px;
  background: #1A1A1A; color: #FFFFFF; border: none;
  font-size: 15px; letter-spacing: .01em; text-transform: none; font-weight: 500;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.btn.quote-btn:hover{
  background: #1A1A1A; color: #FFFFFF; border: none;
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
.quote-btn-arrow{
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFFFFF; color: #1A1A1A;
  transition: transform .25s var(--ease);
}
.btn.quote-btn:hover .quote-btn-arrow{ transform: translateY(2px); }

@media (prefers-reduced-motion: reduce){
  .btn.quote-btn:hover, .btn.quote-btn:hover .quote-btn-arrow{ transform: none; }
  .custom-teaser .btn.teaser-btn, .teaser-btn-arrow{ transition: none; }
  .custom-teaser .btn.teaser-btn:hover, .custom-teaser .btn.teaser-btn:hover .teaser-btn-arrow{ transform: none; }
}

/* ---------- Dress cards and photos ---------- */
.card .frame{
  border-radius: var(--r-md); border-color: transparent;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover .frame{ border-color: transparent; box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card .frame img{ transition: transform .6s var(--ease); }
.card:hover .frame img{ transform: scale(1.03); }
.section.quote-paths .path-card{ border-radius: var(--r-md); box-shadow: var(--shadow-soft); }

.gallery-main{ border-radius: var(--r-lg); border-color: transparent; overflow: hidden; box-shadow: var(--shadow-soft); }
.gallery-thumbs button{ border-radius: var(--r-sm); overflow: hidden; padding: 0; transition: border-color .2s ease, opacity .2s ease; opacity: .7; }
.gallery-thumbs button:hover, .gallery-thumbs button.active{ opacity: 1; }
.gallery-thumbs button.active{ border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.gallery-thumbs svg{ padding: 8px; }

/* ---------- "How does the rental work" ---------- */
.process-accordion summary{
  border-radius: var(--r-pill);
  background: #F0F0F0; color: #1A1A1A;
  border: 1px solid #F0F0F0;
  letter-spacing: .08em; font-weight: 500;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.process-accordion summary:hover{ background: #E6E6E6; border-color: #E6E6E6; }
.process-accordion summary::after{ color: #1A1A1A; }
.process-accordion[open] summary{ background: #F0F0F0; color: #1A1A1A; border-color: #F0F0F0; }
.process-accordion[open] summary:hover{ background: #E6E6E6; border-color: #E6E6E6; }
.process-accordion[open] summary::after{ color: #1A1A1A; }
.process-accordion .body{ padding: 20px 6px 0; }

/* ---------- Booking form card ---------- */
.booking-panel{
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 30px 28px;
}
.booking-panel h3{
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  letter-spacing: 0; text-transform: none; margin-bottom: 20px;
}
.field-label{ font-size: 11px; font-weight: 500; letter-spacing: .12em; margin: 24px 0 10px; }
.booking-panel > .field-label:first-of-type{ margin-top: 0; }

/* Choice buttons: separate white buttons with a soft shadow; they lift on hover,
   the chosen one gets a dark outline and light grey fill */
.pill-group{ flex-wrap: nowrap; gap: 8px; margin-bottom: 10px; }
.pill{
  flex: 1 1 0; min-width: 0;
  border: 1px solid #ECECEC; border-radius: 18px;
  background: #FFFFFF; color: #1A1A1A;
  padding: 13px 8px; font-size: 13px; font-weight: 400; line-height: 1.3;
  box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 6px 16px rgba(0,0,0,.08);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.pill:hover:not(.active):not(.pill-disabled){
  border-color: #D4D4D4; transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 12px 24px rgba(0,0,0,.12);
}
.pill:active:not(.pill-disabled){ transform: translateY(0); }
.pill.active{
  background: #F4F4F4; border-color: #1A1A1A; color: #1A1A1A; font-weight: 500;
  box-shadow: inset 0 0 0 1px #1A1A1A, 0 6px 16px rgba(0,0,0,.10);
}
.pill .pill-sub{ color: #7A7A7A; opacity: 1; font-weight: 400; }
.pill.active .pill-sub{ color: #555555; }
.pill.pill-disabled{ background: #FAFAFA; box-shadow: none; opacity: .45; }
.pill.pill-disabled:hover{ border-color: #E4E4E4; }
@media (prefers-reduced-motion: reduce){ .pill, .pill:hover:not(.active){ transform: none; transition: none; } }
.pill:focus-visible{ outline: 2px solid #1A1A1A; outline-offset: 1px; }
.size-pill{ border-radius: var(--r-sm); }
.size-pill.active{ background: #F4F4F4; border-color: #1A1A1A; color: #1A1A1A; box-shadow: inset 0 0 0 1px #1A1A1A; font-weight: 500; }
/* "pick this first" nudge in grey instead of clay */
@keyframes needs-attention{
  0%, 100%{ box-shadow: 0 0 0 0 transparent; }
  20%, 60%{ box-shadow: 0 0 0 3px #E2E2E2, 0 0 0 4px #1A1A1A; }
}

/* Calendar: round days */
.cal-head{ margin-bottom: 12px; }
.cal-head button{
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); display:flex; align-items:center; justify-content:center;
  transition: border-color .2s ease, background-color .2s ease;
}
.cal-head button:hover{ border-color: var(--ink); background: var(--ivory); }
.cal-head .cal-label{ font-size: 17px; }
.cal-grid{ gap: 3px; }
.cal-day{ border-radius: 50%; background: transparent; transition: background-color .15s ease, border-color .15s ease; }
.cal-day.locked{ background: transparent; }
.cal-day.selectable:hover{ border-color: var(--ink); }
.cal-day.start, .cal-day.end{ background: var(--ink); color: var(--white); }
.cal-day.in-range{ background: #E2E2E2; border-radius: 8px; }
.cal-locked-msg{ border-radius: var(--r-sm); border-left: none; }

.date-readout{
  background: var(--ivory); border: none; border-radius: var(--r-md);
  padding: 14px 16px; margin-top: 18px;
}
.date-readout strong{ font-weight: 500; }

/* Calendar + rental start/return dates: one light-grey block, all neutral greys */
.cal-section{
  background: #F4F4F4; border-radius: var(--r-md);
  padding: 16px 14px 14px; color: #1A1A1A;
}
.cal-section .cal-head{ margin-bottom: 14px; }
.cal-section .cal-head .cal-label{ font-size: 16px; color: #1A1A1A; }
.cal-section .cal-head button{
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: #FFFFFF; color: #1A1A1A;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.cal-section .cal-head button:hover{ background: #E8E8E8; border: none; box-shadow: none; }
.cal-section .cal-grid{ gap: 4px; }
.cal-section .cal-grid .dow{
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; color: #8A8A8A; padding-bottom: 8px;
}
/* day tiles: rounded squares; free days are white, others fade back */
.cal-section .cal-day{
  border: none; border-radius: 10px; font-size: 13px;
  background: transparent; color: #1A1A1A;
  transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.cal-section .cal-day.selectable{ background: #FFFFFF; font-weight: 500; }
.cal-section .cal-day.selectable:hover{ box-shadow: inset 0 0 0 1.5px #1A1A1A; }
.cal-section .cal-day.disabled,
.cal-section .cal-day.locked{ color: #C2C2C2; text-decoration: none; background: transparent; }
.cal-section .cal-day.in-range{ background: #DCDCDC; color: #1A1A1A; border-radius: 10px; }
.cal-section .cal-day.start,
.cal-section .cal-day.end{ background: #1A1A1A; color: #FFFFFF; font-weight: 500; box-shadow: none; }
.cal-section .cal-legend{ color: #7A7A7A; margin-top: 12px; }
.cal-section .cal-locked-msg{ background: #E6E6E6; color: #1A1A1A; }
.cal-section .date-readout{
  background: transparent; border-radius: 0;
  padding: 14px 2px 0; margin-top: 14px;
  border-top: 1px solid #E2E2E2;
}
.cal-section .date-readout div span{ color: #7A7A7A; }
.cal-section .date-readout strong{ color: #1A1A1A; }

/* Text boxes */
#courier-branch-section input, .text-input{
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#courier-branch-section input:focus, .text-input:focus{ border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30,27,23,.07); }
.courier-return-info{ border-left: none; border-radius: var(--r-md); background: var(--ivory); padding: 14px 16px; }

.total-row{ border-top-color: var(--line-soft); margin: 26px 0 18px; padding-top: 18px; }
.total-row .amount{ font-size: 28px; }
.notice{ border-radius: var(--r-sm); border-color: var(--line-soft); }
.pill-note{ font-style: normal; }

/* ---------- Other boxes and panels ---------- */
.empty-state{ border-radius: var(--r-md); }
.account-menu{ border-radius: var(--r-md); overflow: hidden; border-color: var(--line-soft); box-shadow: var(--shadow-lift); }
.confirm-popup{ border-radius: var(--r-lg); }
.confirm-popup-back{ border-radius: 50%; }
.confirm-popup-back:hover{ background: var(--ivory); }
.admin-modal{ border-radius: var(--r-lg); }
.checkout-panel .admin-thumb{ border-radius: var(--r-sm); overflow: hidden; }

/* ---------- Off-white background everywhere; white blocks lifted with shadows ---------- */
:root{
  --ivory:     #FDFDFD;   /* page background: just off pure white, no beige */
  --ivory-2:   #F4F4F4;   /* small grey notes and badges */
  --ivory-3:   #FFFFFF;
  --line:      #E6E6E6;
  --line-soft: #EFEFEF;
}
.section.tint, .section.quote-paths{ background: var(--ivory); }
.site-footer{ background: var(--ivory); }

/* every white block gets a soft shadow instead of a beige backdrop */
.card .frame,
.section.tint .frame,
.option-card,
.admin-card,
.admin-photo{
  border-color: transparent !important;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}
.section.tint .frame{ overflow: hidden; }
.option-card{ border: 1px solid transparent !important; transition: box-shadow .2s var(--ease), border-color .2s var(--ease), opacity .2s ease; }
.option-card:hover{ box-shadow: var(--shadow-lift); }
.option-card.active{ border-color: var(--ink) !important; }
.admin-card{ border-radius: var(--r-lg); }

/* sign in, account and checkout forms sit in a white card */
.auth-panel{
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 36px 32px;
}
.auth-panel.checkout-panel{ max-width: 560px; }

@media (max-width: 560px){
  .auth-panel{ padding: 26px 18px; border-radius: 18px; }
  .booking-panel{ padding: 24px 18px; border-radius: 18px; }
  .booking-panel h3{ font-size: 20px; }
  .total-row .amount{ font-size: 22px; }
}
@media (prefers-reduced-motion: reduce){
  .btn, .card .frame, .card .frame img{ transition: none; }
  .btn:hover, .card:hover .frame{ transform: none; }
  .card:hover .frame img{ transform: none; }
}

/* White blocks: pure white so they stand out from the off-white page */
.booking-panel, .auth-panel, .admin-card, .admin-modal, .confirm-popup,
.option-card, .section.quote-paths .path-card, .card .frame, .gallery-main{ background: var(--white); }
.site-header{ background: rgba(255,255,255,.92); }

/* Footer contact: email on the left, Instagram on the right of the same line,
   Terms & Conditions on the left of the line below */
.footer-grid > div:has(> .footer-insta){
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; column-gap: 16px;
}
.footer-grid > div:has(> .footer-insta) > h4{ flex-basis: 100%; }
.footer-grid > div:has(> .footer-insta) > .footer-terms-link{ flex-basis: 100%; text-align: left; }

/* Admin dashboard: very light cream page so the white blocks stand out */
body.admin-page{ background: #FAF8F3; }
/* Keep the layout still when switching between sections:
   always reserve the scrollbar space, and give every page heading the same height */
html:has(body.admin-page){ scrollbar-gutter: stable; }
@media (min-width: 701px){
  body.admin-page .admin-head{ min-height: 68px; }
}

/* Admin dashboard buttons: raised grey 3D buttons instead of black.
   Main buttons: mid-grey gradient; outline buttons: lighter grey-white. Both press down when clicked. */
body.admin-page .btn{
  background: linear-gradient(180deg, #F3F3F3 0%, #DCDCDC 100%);
  color: #1A1A1A; border: 1px solid #C4C4C4; border-radius: 12px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.10);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
body.admin-page .btn:hover{
  background: linear-gradient(180deg, #F7F7F7 0%, #E2E2E2 100%);
  color: #1A1A1A; border-color: #B8B8B8;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 4px rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.14);
}
body.admin-page .btn:active{
  transform: translateY(1px);
  background: linear-gradient(180deg, #D8D8D8 0%, #E6E6E6 100%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
}
body.admin-page .btn.outline{
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F1F1 100%);
  border-color: #D6D6D6; color: #3A3A3A;
}
body.admin-page .btn.outline:hover{ background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%); color: #1A1A1A; }
body.admin-page .btn:disabled,
body.admin-page .btn:disabled:hover{
  background: #ECECEC; color: #9A9A9A; border-color: #DDDDDD;
  transform: none; box-shadow: none; opacity: 1;
}

/* Dress booking page: soft cream page so the white booking block stands out */
body.booking-page,
body.booking-page .site-footer{ background: #FAF8F3; }
body.booking-page .site-footer{ border-top-color: #EEEAE1; }
