/* Dayro Enterprise: theme, layout, responsive rules and motion. */
:root {
  --paper: #f8f6f1;
  --ink: #252a26;
  --muted: #706e68;
  --bronze: #89613e;
  --line: #dedbd3;
  --green: #566340;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia,'Times New Roman',serif;
}

button,input,select,textarea {
  font: inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

button,a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  color: inherit;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 3px solid #9d744a;
  outline-offset: 4px;
}

.wrap {
  width: min(1320px,90%);
  margin: auto;
}

.header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #dedbd344;
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  width: 310px;
  height: auto;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 15px;
}

.nav a:hover,.footer a:hover {
  color: var(--bronze);
}

.outline {
  padding: 12px 20px;
  border: 1px solid #777b72;
  border-radius: 5px;
  background: transparent;
}

.outline span {
  margin-left: 12px;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: center;
  padding: 20px 0 34px;
}

.hero-copy {
  padding: 45px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font: 11px/1.6 Arial,sans-serif;
  color: var(--bronze);
  margin: 0 0 18px;
}

h1,h2,h3,p {
  font-weight: 400;
}

h1 {
  font-size: clamp(36px,3.6vw,56px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 0 0 18px;
}

.intro {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--ink);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 16px 25px;
  font-size: 15px;
  transition: background .2s,transform .2s;
}

.button:hover {
  background: #3d473c;
  transform: translateY(-1px);
}

figure {
  margin: 0;
}

.hero figure img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
  border-radius: 8px;
}

figcaption {
  text-align: right;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin-top: 9px;
}

.benefits {
  border-block: 1px solid var(--line);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 22px 0;
}

.benefit-grid>div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.benefit-grid>div:last-child {
  border: 0;
}

.benefit-grid p {
  margin: 0;
  font-size: 17px;
}

.benefit-grid small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.line-icon {
  font-size: 38px;
  color: var(--bronze);
}

.collection {
  padding: 58px 0 38px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.section-head .eyebrow {
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(30px,3vw,44px);
  line-height: 1.12;
  letter-spacing: -.9px;
  margin: 0 0 18px;
}

.section-head h2 {
  margin: 0;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filters button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 20px;
  border-radius: 99px;
  white-space: nowrap;
  font-size: 13px;
}

.filters button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 30px 26px;
}

.product-image {
  overflow: hidden;
  border-radius: 7px;
  background: #e9e4da;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  transition: transform .5s;
}

.product:hover .product-image img {
  transform: scale(1.025);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding-top: 14px;
}

.product .eyebrow {
  font-size: 10px;
  margin: 0 0 4px;
}

.product h3 {
  font-size: 20px;
  margin: 0 0 7px;
}

.price {
  font-size: 21px;
  margin: 0;
}

.buy {
  padding: 10px 23px;
  background: transparent;
  border: 1px solid #73766f;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 13px;
}

.buy:hover {
  background: var(--ink);
  color: white;
}

.sample-note {
  font: 11px/1.6 Arial,sans-serif;
  color: var(--muted);
  margin-top: 25px;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: 10px 0 60px;
}

.about>img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  border-radius: 7px;
}

.about p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.about .eyebrow {
  margin-bottom: 12px;
}

.rule {
  height: 1px;
  width: 42px;
  background: var(--bronze);
  margin: 22px 0;
}

.about .button {
  margin-top: 8px;
}

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: 35px 0;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.contact h2 {
  font-size: 29px;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}

.contact p {
  color: #cfcec7;
  margin: 0;
  line-height: 1.5;
}

.whatsapp {
  background: var(--green);
}

.whatsapp:hover {
  background: #687a4d;
}

.contact .button {
  flex-shrink: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0 35px;
}

.footer img {
  width: 250px;
  height: auto;
}

.footer p {
  font-size: 10px;
  letter-spacing: 1px;
  margin: 0 0 0 57px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.footer button {
  background: none;
  border: 0;
  padding: 0;
}

.footer small {
  font: 10px Arial,sans-serif;
  color: var(--muted);
}

dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 35px;
  width: min(560px,calc(100% - 28px));
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 30px 100px #0004;
}

dialog::backdrop {
  background: #181b1977;
  backdrop-filter: blur(4px);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  border: 0;
  font-size: 30px;
  width: 36px;
  height: 36px;
}

.order-product {
  display: flex;
  gap: 20px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  margin: 24px 0 12px;
}

.order-product img {
  object-fit: cover;
  border-radius: 6px;
}

.order-product h3 {
  margin: 0 0 7px;
  font-size: 23px;
}

.order-product p {
  margin: 0 0 6px;
}

.order-product small {
  color: var(--muted);
  font-size: 11px;
}

#order-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

label {
  display: block;
  font: 12px/1.5 Arial,sans-serif;
  margin: 14px 0 0;
}

input,select,textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #d4d0c5;
  border-radius: 4px;
  background: #fffaf6;
  color: var(--ink);
  margin-top: 6px;
  font: 15px Arial,sans-serif;
}

textarea {
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quantity {
  display: flex;
  margin-top: 6px;
  border: 1px solid #d4d0c5;
  border-radius: 4px;
  overflow: hidden;
}

.quantity input {
  border: 0;
  margin: 0;
  text-align: center;
  min-width: 30px;
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quantity input::-webkit-inner-spin-button {
  appearance: none;
}

.quantity button {
  border: 0;
  background: #eee9de;
  padding: 10px 17px;
}

.optional,.fine {
  color: var(--muted);
}

.fine {
  font: 11px/1.65 Arial,sans-serif;
}

.subtotal {
  display: flex;
  justify-content: space-between;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.subtotal strong {
  font-size: 23px;
}

.send {
  width: 100%;
  margin-top: 8px;
}

.notice {
  font: 12px/1.6 Arial,sans-serif;
  background: #eee7d7;
  padding: 12px;
  border-radius: 5px;
}

#info-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

#message-preview {
  margin-top: 15px;
}

#copy-message {
  margin-top: 10px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 40;
}

.skip:focus {
  top: 12px;
}

#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  z-index: 50;
  display: none;
  font: 14px Arial,sans-serif;
}

@media(min-width:1600px) {
  .hero {
    padding-top: 35px;
  }

  .hero figure img {
    aspect-ratio: 1.5;
  }

}

@media(max-width:1000px) {
  .logo {
    width: 250px;
  }

  .nav nav {
    gap: 20px;
  }

  .hero {
    grid-template-columns: 1fr 1.05fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .about {
    gap: 30px;
  }

  .footer {
    flex-wrap: wrap;
  }

  .product h3 {
    font-size: 18px;
  }

  .buy {
    padding: 10px 15px;
  }

  .contact h2 {
    font-size: 25px;
  }

}

@media(max-width:700px) {
  html {
    scroll-padding-top: 80px;
  }

  .wrap {
    width: 90%;
  }

  .nav {
    min-height: 74px;
  }

  .logo {
    width: 235px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 0;
    background: none;
    font-size: 13px;
  }

  .nav nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: var(--paper);
    padding: 25px 5%;
    border-bottom: 1px solid var(--line);
  }

  .nav nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 12px;
  }

  .hero-copy {
    padding: 28px 0 18px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }

  .hero .intro {
    font-size: 17px;
  }

  .hero figure img {
    aspect-ratio: 1.42;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    padding: 6px 0;
  }

  .benefit-grid>div {
    border: 0;
    border-bottom: 1px solid var(--line);
    justify-content: start;
    padding: 15px 20px;
  }

  .line-icon {
    font-size: 30px;
    width: 40px;
    text-align: center;
  }

  .benefit-grid small {
    font-size: 12px;
  }

  .collection {
    padding-top: 38px;
  }

  .filters {
    gap: 6px;
  }

  .filters button {
    padding: 9px 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px 16px;
  }

  .product-info {
    display: block;
  }

  .product h3 {
    font-size: 17px;
    line-height: 1.25;
    min-height: 43px;
  }

  .product .buy {
    width: 100%;
    margin-top: 12px;
    padding: 11px;
  }

  .price {
    font-size: 19px;
  }

  .product-image img {
    aspect-ratio: 1;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 5px 0 40px;
  }

  .about>img {
    height: 280px;
  }

  .about h2 {
    font-size: 37px;
  }

  .contact-inner {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .contact h2 {
    font-size: 30px;
  }

  .footer {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    padding: 25px 0;
  }

  .footer-links {
    gap: 25px;
  }

  dialog {
    padding: 28px 22px;
  }

  dialog h2 {
    font-size: 31px;
  }

  .field-row {
    gap: 10px;
  }

  .order-product {
    gap: 14px;
  }

  .order-product h3 {
    font-size: 20px;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    transition: none!important;
  }

}


/* Study-table collection update */
.logo {
  width: 310px;
  max-height: 74px;
  object-fit: contain;
}

.section-head {
  align-items: start;
  flex-direction: column;
}

.hero {
  grid-template-columns: .85fr 1.15fr;
}

.hero figure img {
  aspect-ratio: 1.42;
}

.product-image {
  background: #efebe3;
}

.product-image img {
  aspect-ratio: 1;
  object-fit: contain;
}

.product h3 {
  font-size: 19px;
}

.price {
  font-size: 15px;
  color: var(--bronze);
}

.product-info {
  align-items: start;
}

.product-info>div {
  min-width: 0;
}

.buy {
  padding: 11px 16px;
}

.about>img {
  height: 450px;
  object-fit: contain;
  background: #eae3d7;
}

.product-features {
  padding-left: 20px;
  font: 12px/1.8 Arial,sans-serif;
  color: var(--muted);
}

.buying-guide {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  padding: 38px 0;
  margin-bottom: 55px;
}

.buying-guide ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.buying-guide li {
  display: flex;
  gap: 22px;
}

.buying-guide li>span {
  font: 12px Arial,sans-serif;
  color: var(--bronze);
  padding-top: 5px;
}

.buying-guide h3 {
  font-size: 20px;
  margin: 0 0 6px;
}

.buying-guide p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.footer img {
  max-height: 68px;
}

.footer p {
  margin: 4px 0 0;
  font-size: 10px;
}

.order-product img {
  object-fit: contain;
}

.order-product {
  align-items: start;
}

.order-product img {
  height: 110px;
  width: 110px;
}

.subtotal strong {
  font-size: 18px;
}

@media(max-width:700px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero figure img {
    aspect-ratio: 1.25;
    object-fit: cover;
  }

  .logo {
    width: 230px;
    max-height: 60px;
  }

  .product-info {
    display: block;
  }

  .product h3 {
    font-size: 17px;
    min-height: 44px;
  }

  .about>img {
    height: auto;
  }

  .buying-guide {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 35px;
  }

  .filters {
    gap: 7px;
  }

  .filters button {
    font-size: 12px;
    padding: 9px 12px;
  }

  .order-product h3 {
    font-size: 19px;
  }

}


/* Premium interaction layer */
:root {
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

.header {
  transition: box-shadow 300ms ease, background-color 300ms ease;
}

.header.is-scrolled {
  background: rgba(248, 246, 241, 0.96);
  box-shadow: 0 6px 28px rgba(37, 42, 38, 0.065);
  backdrop-filter: blur(16px);
}

.nav nav > a {
  position: relative;
  padding-block: 8px;
}

.nav nav > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-premium);
}

.nav nav > a:hover::after, .nav nav > a:focus-visible::after {
  transform: scaleX(1);
}

.button, .outline, .buy, .filters button {
  transition: transform 250ms var(--ease-premium), background-color 250ms ease, border-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.button > span, .outline > span {
  display: inline-block;
  transition: transform 300ms var(--ease-premium);
}

.button:hover > span, .outline:hover > span {
  transform: translateX(4px);
}

.button:active, .buy:active, .filters button:active {
  transform: translateY(1px);
}

.product {
  transition: transform 420ms var(--ease-premium);
}

.product-image {
  transition: box-shadow 420ms ease;
}

.product-image img {
  transition: transform 650ms var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .product:hover {
    transform: translateY(-5px);
  }

  .product:hover .product-image {
    box-shadow: 0 18px 36px -22px rgba(37, 42, 38, 0.4);
  }

  .product:hover .product-image img {
    transform: scale(1.035);
  }

  .button:hover {
    box-shadow: 0 8px 20px -10px rgba(37, 42, 38, 0.45);
  }

}

dialog[open] {
  animation: dialog-enter 280ms var(--ease-premium) both;
}

dialog[open]::backdrop {
  animation: backdrop-enter 240ms ease both;
}

dialog.is-closing {
  animation: dialog-leave 160ms ease both;
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}

@keyframes dialog-leave {
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }

}

@keyframes backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}

@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 700px) {
  .nav nav.open {
    animation: menu-enter 220ms var(--ease-premium);
  }

}

input, select, textarea {
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(137, 97, 62, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .product:hover, .product:hover .product-image img, .button:hover, .button:hover > span, .outline:hover > span {
    transform: none;
  }

}

