@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&display=swap");

/* Curves and type only. Colors stay on the existing green, gold, and cream. */
html.proto-ui {
  --proto-line: rgba(42, 32, 18, 0.14);
}

html.proto-ui h1,
html.proto-ui h2,
html.proto-ui h3,
html.proto-ui h4,
html.proto-ui .brand-mark,
html.proto-ui .product-card__title,
html.proto-ui .sale-price,
html.proto-ui .product-price,
html.proto-ui .proto-btn,
html.proto-ui .proto-complete {
  font-family: Archivo, Inter, sans-serif;
  letter-spacing: -0.02em;
}

html.proto-ui [data-classic] {
  display: none !important;
}

html.proto-ui .product-card-actions--proto,
html.proto-ui .product-buy-row--proto {
  display: grid !important;
}

html.proto-ui span[data-proto],
html.proto-ui .proto-card-meta {
  display: inline-flex !important;
}

html.proto-ui .shop_section .box.product-card {
  border: 1px solid var(--proto-line);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: none;
}

html.proto-ui .shop_section .box .img-box {
  background: var(--aham-cream, #f7f3e9);
}

html.proto-ui .proto-fit-pill,
html.proto-ui .proto-stock-pill {
  position: absolute;
  z-index: 3;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  pointer-events: none;
}

html.proto-ui .proto-fit-pill {
  top: 10px;
  left: 10px;
  color: var(--aham-green, #18332f);
  background: rgba(255, 255, 255, 0.95);
}

html.proto-ui .proto-stock-pill {
  top: auto;
  right: auto;
  bottom: 10px;
  left: 10px;
  color: var(--aham-green, #18332f);
  background: var(--aham-gold, #c79a3b);
}

html.proto-ui .proto-card-meta {
  margin-top: 4px;
  color: #5e625d;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

html.proto-ui .product-card .price-was-label {
  display: none;
}

html.proto-ui .product-card .product-price {
  min-height: 0;
  margin: 8px 0 12px;
}

html.proto-ui .product-card .product-card-actions {
  margin-top: 0;
}

html.proto-ui .product-card .product-price.has-discount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

html.proto-ui .product-card-actions--proto,
html.proto-ui .product-card-actions--oos,
html.proto-ui .product-buy-row--proto {
  grid-template-columns: 1fr;
  gap: 8px;
}

html.proto-ui .product-buy-row--proto {
  grid-template-columns: 1fr;
}

html.proto-ui .proto-btn {
  border-radius: 999px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

html.proto-ui .proto-btn--line {
  color: var(--aham-green, #18332f);
  background: transparent;
  border: 2px solid var(--aham-green, #18332f);
}

html.proto-ui .proto-btn--fill {
  color: var(--aham-green, #18332f);
  background: var(--aham-gold, #c79a3b);
  border: 0;
}

html.proto-ui .proto-btn--solo,
html.proto-ui .proto-buy-link {
  grid-column: 1 / -1;
}

html.proto-ui .proto-buy-link {
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--aham-green, #18332f);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

html.proto-ui .proto-btn:disabled,
html.proto-ui .proto-buy-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

html.proto-ui .product-card-actions--oos {
  gap: 8px;
}

html.proto-ui .out-of-stock-tag,
html.proto-ui .product-card-actions--oos .wishlist-text-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 10px;
  border-radius: 999px;
  font-family: Archivo, Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

html.proto-ui .out-of-stock-tag {
  color: var(--aham-green, #18332f);
  background: transparent;
  border: 2px solid var(--aham-green, #18332f);
  opacity: 0.55;
}

html.proto-ui .product-card-actions--oos .wishlist-text-btn {
  color: var(--aham-green, #18332f);
  background: transparent;
  border: 2px solid var(--aham-green, #18332f);
  cursor: pointer;
}

html.proto-ui .product-card-actions--oos .wishlist-text-btn.is-wishlisted {
  color: var(--aham-green, #18332f);
  background: var(--aham-gold, #c79a3b);
  border-color: var(--aham-gold, #c79a3b);
}

html.proto-ui .img-oos-badge {
  padding: 6px 12px;
  border: 2px solid var(--aham-green, #18332f);
  border-radius: 999px;
  color: var(--aham-green, #18332f);
  background: #fffdf8;
  font-family: Archivo, Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

html.proto-ui .wishlist-heart {
  width: 40px;
  height: 40px;
  border: 0;
  background: #fffdf8;
  color: var(--aham-green, #18332f);
  box-shadow: none;
}

html.proto-ui .wishlist-heart.is-wishlisted {
  color: #fff;
  background: var(--aham-gold, #c79a3b);
  border: 0;
}

html.proto-ui .wishlist-heart.is-wishlisted .wishlist-heart-icon {
  fill: #fff;
  stroke: #fff;
}

html.proto-ui .product-fit-note {
  color: var(--aham-ink, #17201e);
  font-weight: 700;
}

html.proto-ui .variation-stock.is-low {
  color: var(--aham-green, #18332f);
  font-weight: 800;
}

html.proto-ui .qty-row input,
html.proto-ui .search-input-wrap input,
html.proto-ui #shop-search,
html.proto-ui #shop-sort,
html.proto-ui .filter-row a,
html.proto-ui .filter-row button,
html.proto-ui .active-filter-chip,
html.proto-ui .store-btn,
html.proto-ui .shop-search-btn {
  border-radius: 999px;
}

html.proto-ui input:not([type="checkbox"]):not([type="radio"]):not([type="search"]),
html.proto-ui select,
html.proto-ui textarea {
  border-radius: 12px;
}

html.proto-ui input:focus,
html.proto-ui select:focus,
html.proto-ui textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--aham-green, #18332f);
}

html.proto-ui .nav-search.proto-search-btn {
  display: inline-flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  border-radius: 999px;
}

html.proto-ui .nav-search.proto-search-btn svg {
  width: 20px;
  height: 20px;
}

html.proto-ui .proto-search-panel {
  display: none;
  padding: 0 22px 14px;
}

html.proto-ui .aham-header.is-search-open .proto-search-panel {
  display: block;
}

html.proto-ui .proto-search-panel form {
  display: flex;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}

html.proto-ui .proto-search-panel input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--proto-line);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
}

html.proto-ui .proto-search-panel button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--aham-gold, #c79a3b);
  color: var(--aham-green, #18332f);
  font-weight: 800;
}

html.proto-ui .lens-sheet-overlay {
  justify-content: center;
  background: rgba(6, 18, 15, 0.55);
  backdrop-filter: blur(2px);
}

html.proto-ui .lens-sheet {
  border-radius: 24px;
  transition: transform 0.38s cubic-bezier(0.22, 0.9, 0.3, 1);
}

html.proto-ui .lens-sheet--proto .proto-stepbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px 12px;
}

html.proto-ui .lens-sheet--proto .proto-stepbar span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e7e1d6;
  color: var(--aham-ink, #17201e);
  font-weight: 800;
}

html.proto-ui .lens-sheet--proto .proto-stepbar span.is-on {
  background: var(--aham-green, #18332f);
  color: #fff;
}

html.proto-ui .lens-sheet--proto .proto-stepbar em {
  margin-left: 6px;
  font-style: normal;
  font-weight: 700;
}

html.proto-ui .proto-rx-switch {
  display: flex;
  width: fit-content;
  gap: 0;
  margin: 0 0 14px;
  padding: 4px;
  border-radius: 999px;
  background: #efeae0;
}

html.proto-ui .proto-rx-switch button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: #5e625d;
  font-weight: 700;
}

html.proto-ui .proto-rx-switch button.is-on {
  background: #fff;
  color: var(--aham-ink, #17201e);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

html.proto-ui .lens-sheet--proto .rx-upload,
html.proto-ui .lens-sheet--proto .proto-rx-switch {
  display: none;
}

html.proto-ui .lens-sheet--proto header {
  align-items: center;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #ebe4d8;
}

html.proto-ui .lens-sheet--proto .lens-sheet__product {
  gap: 12px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__product img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__eyebrow {
  margin: 0 0 2px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__product h2 {
  font-size: 17px;
  line-height: 1.3;
}

html.proto-ui .lens-sheet--proto .lens-sheet__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f5f3ed;
  font-size: 22px;
}

html.proto-ui .lens-sheet--proto .proto-stepbar {
  padding: 12px 18px;
  gap: 8px;
  border-bottom: 1px solid #f0ebe3;
  background: #fff;
}

html.proto-ui .lens-sheet--proto .proto-stepbar span {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px 18px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__body > section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

html.proto-ui .lens-sheet--proto .lens-card {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
}

html.proto-ui .lens-sheet--proto .lens-card__head {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

html.proto-ui .lens-sheet--proto .proto-same-eye,
html.proto-ui .lens-sheet--proto .proto-confirm {
  margin: 0 0 12px;
  align-items: flex-start;
  line-height: 1.4;
}

html.proto-ui .lens-sheet--proto .proto-same-eye input,
html.proto-ui .lens-sheet--proto .proto-confirm input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
}

html.proto-ui .lens-sheet--proto .rx-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.proto-ui .lens-sheet--proto .rx-grid__head {
  display: none;
}

html.proto-ui .lens-sheet--proto .rx-grid__row {
  display: grid;
  gap: 8px;
}

html.proto-ui .lens-sheet--proto .rx-row-label {
  height: auto;
  color: #5c5348;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.proto-ui .lens-sheet--proto .rx-eye {
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 12px;
}

html.proto-ui .lens-sheet--proto .rx-eye::before {
  content: attr(data-eye);
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
}

html.proto-ui .lens-sheet--proto .rx-wheel-btn,
html.proto-ui .lens-sheet--proto .rx-eye input:not([type="hidden"]),
html.proto-ui .lens-sheet--proto .pd-field__input input {
  height: 44px;
  border-radius: 10px;
  border-color: #e0d8cc;
  text-align: center;
}

html.proto-ui .lens-sheet--proto .rx-mode-toggle-bar {
  justify-content: stretch;
  margin-top: 12px;
}

html.proto-ui .lens-sheet--proto .rx-mode-toggle,
html.proto-ui .lens-sheet--proto .pd-mode-toggle {
  display: grid;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

html.proto-ui .lens-sheet--proto .rx-mode-toggle {
  grid-template-columns: 1fr 1fr 1fr;
}

html.proto-ui .lens-sheet--proto .pd-mode-toggle {
  grid-template-columns: 1fr 1fr;
}

html.proto-ui .lens-sheet--proto .rx-mode-toggle__opt span,
html.proto-ui .lens-sheet--proto .pd-mode-toggle__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 6px;
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}

html.proto-ui .lens-sheet--proto .is-addition .addition-row {
  padding: 10px;
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 12px;
}

html.proto-ui .lens-sheet--proto .pd-field--single {
  grid-column: 1 / -1;
}

html.proto-ui .lens-sheet--proto .pd-field__input {
  border-radius: 12px;
  min-height: 44px;
  padding-right: 10px;
}

html.proto-ui .lens-sheet--proto .lens-spec-grid {
  gap: 14px;
}

html.proto-ui .lens-sheet--proto .proto-spec-hint {
  margin: 0 0 12px;
}

html.proto-ui .lens-sheet--proto .lens-sheet__total {
  margin-top: 4px;
}

html.proto-ui .lens-sheet--proto footer {
  padding: 12px 18px max(14px, env(safe-area-inset-bottom));
}

html.proto-ui .lens-sheet--proto .proto-summary {
  margin: 0;
  padding: 16px;
}

html.proto-ui .lens-sheet--proto .proto-summary p {
  margin: 0 0 8px;
  line-height: 1.45;
}

html.proto-ui .lens-sheet--proto .proto-summary .muted {
  margin: 0;
}

html.proto-ui .lens-sheet--proto > footer > .store-btn,
html.proto-ui .lens-sheet--proto > footer > .error + .store-btn {
  display: none;
}

html.proto-ui .lens-sheet--proto .lens-sheet__total {
  display: block;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #18332f;
  background: #fffdf8;
  border: 1px solid #e7dfd0;
  font-weight: 600;
}

html.proto-ui .lens-sheet--proto .lens-sheet__total.is-ready {
  color: #fff;
  background: var(--aham-green, #18332f);
  border-color: transparent;
  font-weight: 800;
}

html.proto-ui .proto-spec-hint {
  margin: 0 0 12px;
  color: #5e625d;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}

html.proto-ui .lens-sheet--proto .lens-picker__btn,
html.proto-ui .lens-sheet--proto .lens-picker__list {
  border-radius: 16px;
}

html.proto-ui .lens-sheet--proto .lens-picker__btn::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid #18332f;
  border-bottom: 2px solid #18332f;
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}

html.proto-ui .lens-sheet--proto .lens-picker.is-open .lens-picker__btn::after {
  transform: rotate(225deg) translateY(-2px);
}

html.proto-ui .lens-sheet--proto .lens-picker__option {
  border-radius: 12px;
}

html.proto-ui .lens-sheet--proto .lens-picker__option.is-selected {
  background: #f7efe0;
  outline: 1px solid #c79a3b;
}

html.proto-ui .lens-sheet--proto[data-proto-step="1"] .lens-card--specs,
html.proto-ui .lens-sheet--proto[data-proto-step="1"] .proto-summary,
html.proto-ui .lens-sheet--proto[data-proto-step="2"] .lens-sheet__lead,
html.proto-ui .lens-sheet--proto[data-proto-step="2"] .proto-rx-switch,
html.proto-ui .lens-sheet--proto[data-proto-step="2"] .rx-upload,
html.proto-ui .lens-sheet--proto[data-proto-step="2"] .lens-card:not(.lens-card--specs),
html.proto-ui .lens-sheet--proto[data-proto-step="2"] .proto-summary,
html.proto-ui .lens-sheet--proto[data-proto-step="3"] .lens-sheet__body > :not(.proto-summary) {
  display: none;
}

html.proto-ui .lens-sheet--proto[data-proto-step="3"] .proto-summary {
  display: block;
}

html.proto-ui .proto-same-eye,
html.proto-ui .proto-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  font-weight: 700;
}

html.proto-ui .lens-sheet--proto.is-same-eye .rx-eye--left {
  opacity: 0.55;
  pointer-events: none;
}

html.proto-ui .proto-lens-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 14px;
  border: 2px solid var(--proto-line);
  border-radius: 16px;
  cursor: pointer;
}

html.proto-ui .proto-lens-row:has(input:checked) {
  border-color: var(--aham-green, #18332f);
  background: var(--aham-cream, #f7f3e9);
}

html.proto-ui .proto-lens-row span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

html.proto-ui .proto-lens-row > b {
  flex: 0 0 auto;
  white-space: nowrap;
}

html.proto-ui .proto-lens-row small {
  color: #5e625d;
  font-weight: 500;
}

html.proto-ui .proto-live-total,
html.proto-ui .proto-summary {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
}

html.proto-ui .proto-live-total {
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: var(--aham-green, #18332f);
  font-weight: 800;
}

html.proto-ui .proto-summary {
  border: 1px solid var(--proto-line);
}

html.proto-ui .proto-summary__total {
  margin-top: 8px;
  font-size: 18px;
}

html.proto-ui .proto-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

html.proto-ui .proto-foot [data-proto-back],
html.proto-ui .proto-foot .proto-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 44px;
  padding: 12px 22px;
}

html.proto-ui .proto-foot [data-proto-back] {
  border: 1px solid var(--proto-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

html.proto-ui .proto-foot [data-proto-back]:disabled {
  opacity: 0.4;
}

html.proto-ui .order-summary,
html.proto-ui .checkout-panel,
html.proto-ui .cart-panel {
  border-radius: 24px;
}

html.proto-ui .proto-complete {
  position: fixed;
  right: 16px;
  left: auto;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  color: #18332f;
  font-weight: 800;
  text-decoration: none;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.95), transparent 46%),
    linear-gradient(145deg, #fffaf0 0%, #f6e3a8 46%, #e8c56a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(199, 154, 59, 0.4),
    0 12px 26px rgba(199, 154, 59, 0.32),
    0 0 22px rgba(246, 227, 168, 0.95),
    0 0 40px rgba(120, 196, 164, 0.45);
  animation: proto-complete-bubble 2.4s ease-in-out infinite;
}

html.proto-ui .proto-complete::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  border: 2px solid rgba(232, 197, 106, 0.85);
  box-shadow: 0 0 18px rgba(246, 227, 168, 0.75);
  animation: proto-complete-ring 2.4s ease-out infinite;
  pointer-events: none;
}

html.proto-ui .proto-complete__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

@keyframes proto-complete-bubble {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.045); }
}

@keyframes proto-complete-ring {
  0% { transform: scale(0.94); opacity: 0.75; }
  100% { transform: scale(1.22); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.proto-ui .proto-complete,
  html.proto-ui .proto-complete::after {
    animation: none;
  }
}

html.proto-ui body.has-wa-fab .proto-complete {
  bottom: calc(84px + env(safe-area-inset-bottom));
}

html.proto-ui body.proto-buybar-on .proto-complete {
  bottom: calc(84px + env(safe-area-inset-bottom));
}

html.proto-ui body.has-wa-fab.proto-buybar-on .proto-complete {
  bottom: calc(148px + env(safe-area-inset-bottom));
}

html.proto-ui .proto-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1090;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--proto-line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(8px);
}

html.proto-ui body.proto-buybar-on .proto-buybar {
  display: flex;
}

html.proto-ui body.has-wa-fab.proto-buybar-on .wa-fab {
  bottom: calc(84px + env(safe-area-inset-bottom));
}

html.proto-ui .proto-buybar__copy {
  min-width: 0;
  flex: 1;
}

html.proto-ui .proto-buybar__copy strong,
html.proto-ui .proto-buybar__copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.proto-ui body.proto-has-complete {
  padding-bottom: 76px;
}

html.proto-ui body.proto-buybar-on {
  padding-bottom: 92px;
}

@media (min-width: 992px) {
  html.proto-ui .proto-buybar {
    display: none !important;
  }

  html.proto-ui .product-card .proto-btn,
  html.proto-ui .product-card .out-of-stock-tag,
  html.proto-ui .product-card .wishlist-text-btn {
    font-size: 15px;
    line-height: 1.25;
    padding: 12px 14px;
  }
}

@media (max-width: 900px) {
  html.proto-ui .product-card-actions--proto,
  html.proto-ui .product-card-actions--oos {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) {
  html.proto-ui .lens-sheet-overlay {
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
  }

  html.proto-ui .lens-sheet {
    width: min(540px, 100%);
    max-width: 540px;
    height: 100%;
    max-height: 100%;
    margin-left: auto;
    border-radius: 24px 0 0 24px;
    transform: translateX(104%);
  }

  html.proto-ui .lens-sheet-overlay.is-open .lens-sheet {
    transform: translateX(0);
  }
}

@media (max-width: 700px) {
  html.proto-ui .lens-sheet-overlay {
    align-items: stretch;
    justify-content: flex-end;
    padding: 8px 0 0;
  }

  html.proto-ui .lens-sheet {
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: calc(100dvh - 8px);
    border-radius: 18px 18px 0 0;
    transform: translateY(105%);
  }

  html.proto-ui .lens-sheet-overlay.is-open .lens-sheet {
    transform: translateY(0);
  }

  html.proto-ui .proto-rx-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  html.proto-ui .proto-rx-switch button {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  html.proto-ui .proto-foot {
    align-items: center;
  }

  html.proto-ui .proto-foot [data-proto-add] {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.proto-ui .lens-sheet {
    transition: none;
    transform: none;
  }
}
