/* Reset default styles for consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f5f5f5;
  --header-height: 150px;
  --footer-height: 40px;
}

body:not(.home) {
  --header-height: 100px;
}

/* Header Styles */
header {
  padding: 20px 0;
  width: 100%;
  top: 0;
  position: fixed;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease;
}

.title {
  text-align: center;
}

.logo {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  transition: max-width 0.3s ease;
}

.title h1 {
  font-family: "Roboto Mono", monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: font-size 0.3s ease;
}

.title h1 a {
  color: inherit;
  text-decoration: none;
}

.title h2 {
  font-family: "Roboto Mono", monospace;
  font-size: 0.6rem;
  font-weight: 300;
  color: #555;
  margin-top: 5px;
  transition: opacity 0.3s ease;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

nav ul li {
  margin: 0 30px;
}

nav ul li a {
  text-decoration: none;
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
  color: #adadad;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #b8860b;
}

/* Shrink header on subpages */
body:not(.home) header {
  padding: 10px 0;
}

body:not(.home) .logo {
  max-width: 80px;
}

body:not(.home) .title h1 {
  font-size: 1rem;
}

body:not(.home) .title h2 {
  opacity: 0;
  height: 0;
  margin: 0;
}

/* Main Content */
main {
  padding-top: var(--header-height);
}

/* Hero Section */
.hero {
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

/* Work Section */
.work {
  padding: 5px 5% 40px;
  background-color: #fff;
}

.work h3 {
  font-family: "Roboto Mono", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2b2b2b;
  text-align: center;
}

.gallery-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.gallery {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
  width: 100%;
  touch-action: pan-y;
}

.gallery-item {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  padding: 0 5px;
}

.gallery img {
  max-height: calc(100vh - var(--header-height) - var(--footer-height) - 50px);
  max-width: 100%;
  width: auto;
  height: auto;
  border: 6px solid #1a1a1a;
  margin-top: 5px;
}

.image-footer {
  text-align: center;
  padding: 10px;
  font-size: 0.6rem;
  color: #232329;
}

.footer-left {
  float: left;
}

.footer-right {
  float: right;
  margin-left: 5px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(213, 213, 213, 0.8);
  color: #fff;
  border: none;
  padding: 5px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

.gallery-nav:hover {
  background: #b8860b;
}

.gallery-nav.prev {
  left: 0px;
}

.gallery-nav.next {
  right: 0px;
}

/* About Section */
.about {
  padding: 40px 10% 80px;
  background-color: #fff;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .content {
  max-width: 720px;
  margin: 0 auto;
}

.about h3 {
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #999;
  text-align: center;
}

.about-accent {
  width: 40px;
  height: 2px;
  background-color: #b8860b;
  margin: 0 auto 32px;
}

.about-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: #b8860b;
  text-align: center;
  margin: 0 auto 36px;
  padding: 0;
  border: none;
}

.about p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto 1.4em;
  color: #444;
  text-align: left;
}

.about p:last-child {
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  padding: 40px 10% 80px;
  background-color: #fff;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .content {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.contact h3 {
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #999;
  text-align: center;
}

.contact-intro {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: #666;
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
}

form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px;
}

form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #888;
}

form input,
form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  color: #333;
  background-color: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #b8860b;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
  background-color: #fff;
}

form textarea {
  resize: vertical;
  min-height: 90px;
}

form button {
  background-color: #2b2b2b;
  color: #fff;
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 2px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 8px;
}

form button:hover {
  background-color: #b8860b;
}

form button:focus-visible {
  outline: 2px solid #b8860b;
  outline-offset: 2px;
}

/* Footer */
footer {
  padding: 15px;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 0.6rem;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  .title h1 {
    font-size: 1.25rem;
  }
  .title h2 {
    font-size: 0.5rem;
  }
  .logo {
    max-width: 120px;
  }
  body:not(.home) .logo {
    max-width: 60px;
  }
  body:not(.home) .title h1 {
    font-size: 0.85rem;
  }
  nav ul li {
    margin: 0 15px;
  }
  .work, .about, .contact {
    padding: 20px 6% 50px;
  }
  .about-quote {
    font-size: 1.3rem;
  }
  .about p {
    font-size: 1.1rem;
  }
  .work h3, .about h3, .contact h3 {
    font-size: 2rem;
  }
  .gallery img {
    max-height: calc(100vh - var(--header-height) - var(--footer-height) - 50px);
    max-width: 95%;
    border-width: 4px;
  }
  .gallery-nav {
    font-size: 1.4rem;
    padding: 10px 8px;
  }
}

@media only screen and (max-width: 480px) {
  .title h1 {
    font-size: 1rem;
  }
  .logo {
    max-width: 80px;
  }
  body:not(.home) .logo {
    max-width: 50px;
  }
  body:not(.home) .title h1 {
    font-size: 0.75rem;
  }
  nav ul {
    flex-wrap: wrap;
  }
  nav ul li {
    margin: 5px 10px;
  }
  .about p {
    font-size: 1rem;
  }
  .gallery img {
    max-height: calc(100vh - var(--header-height) - var(--footer-height) - 50px);
    max-width: 92%;
    border-width: 3px;
  }
  .gallery-nav {
    font-size: 1.2rem;
    padding: 8px 6px;
  }
}

/* ═══════════════════════════════════════════
   Gallery link (clickable images)
   ═══════════════════════════════════════════ */
.gallery-link {
  display: inline-block;
  position: relative;
  line-height: 0;
  cursor: pointer;
}

.gallery-link:hover .gallery-img {
  opacity: 0.92;
}

.gallery-link::after {
  content: 'View';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 18px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════
   Header cart icon
   ═══════════════════════════════════════════ */
.header-cart {
  position: absolute;
  top: 20px;
  right: 24px;
}

body:not(.home) .header-cart {
  top: 12px;
}

/* ═══════════════════════════════════════════
   Cart button (shared: header + product topbar)
   ═══════════════════════════════════════════ */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.cart-btn:hover {
  color: #b8860b;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  background: #b8860b;
  color: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 0.55rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0 4px;
  line-height: 1;
}

/* ═══════════════════════════════════════════
   Cart overlay & drawer
   ═══════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.cart-drawer-header h2 {
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2b2b2b;
  margin: 0;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.cart-drawer-close:hover {
  color: #2b2b2b;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: #999;
  text-align: center;
  padding: 40px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 2px solid #1a1a1a;
  border-radius: 2px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  color: #2b2b2b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-detail {
  display: block;
  font-family: "Roboto Mono", monospace;
  font-size: 0.6rem;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  margin-top: 2px;
}

.cart-item-price {
  display: block;
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
  color: #b8860b;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.cart-qty-btn {
  background: #f5f5f5;
  border: none;
  width: 28px;
  height: 26px;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: #e8e6e1;
  color: #2b2b2b;
}

.cart-qty-val {
  width: 30px;
  text-align: center;
  font-family: "Roboto Mono", monospace;
  font-size: 0.68rem;
  color: #2b2b2b;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  line-height: 26px;
}

.cart-item-remove {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #ccc;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 10px;
}

.cart-item-remove:hover {
  color: #c0392b;
}

.cart-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
}

.cart-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-summary {
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cart-total {
  font-family: "Roboto Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #b8860b;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   Product page
   ═══════════════════════════════════════════ */
.product-page {
  background: #f8f7f5;
}

.product-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(248, 247, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-back:hover {
  color: #b8860b;
}

.product-back svg {
  transition: transform 0.2s ease;
}

.product-back:hover svg {
  transform: translateX(-3px);
}

.product-main {
  padding-top: 56px;
  min-height: 100vh;
}

.product-image-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 5%;
  min-height: 40vh;
  background: #fff;
}

.product-image-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.product-image-wrap img {
  max-height: 60vh;
  max-width: 88vw;
  width: auto;
  height: auto;
  border: 6px solid #1a1a1a;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  animation: productFadeIn 0.6s ease both;
}

@keyframes productFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-details {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  animation: productFadeIn 0.6s ease 0.15s both;
}

.product-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #2b2b2b;
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.3;
}

.product-meta {
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
  color: #999;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.product-divider {
  width: 40px;
  height: 2px;
  background: #b8860b;
  margin: 32px auto;
}

.product-options-heading {
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  text-align: center;
  margin: 0 0 24px;
}

/* Option groups */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option-group {
  border: 1px solid #e8e6e1;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.option-group.selected {
  border-color: #b8860b;
  box-shadow: 0 0 0 1px #b8860b;
}

/* Custom checkbox */
.option-checkbox {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: #2b2b2b;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s ease;
  margin: 0;
}

.option-label-text {
  flex: 1;
}

.option-price {
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  color: #b8860b;
  letter-spacing: 0.5px;
  margin-left: auto;
  transition: opacity 0.3s ease;
}

.option-checkbox:hover {
  background: #faf9f7;
}

.option-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  margin-right: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.option-checkbox input:checked ~ .checkmark {
  background: #b8860b;
  border-color: #b8860b;
}

.option-checkbox input:checked ~ .checkmark::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* Sub-options (framed / unframed) */
.sub-options {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #faf9f7;
  border-top: 0 solid #e8e6e1;
  transition: max-height 0.35s ease, padding 0.35s ease, border-top-width 0.1s ease;
}

.sub-options.active {
  max-height: 80px;
  padding: 12px 20px 16px;
  border-top-width: 1px;
}

/* Custom radio */
.option-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.5px;
  margin-right: 28px;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px 0;
}

.option-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.option-radio input:checked ~ .radio-mark {
  border-color: #b8860b;
}

.option-radio input:checked ~ .radio-mark::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #b8860b;
  border-radius: 50%;
}

/* Product total */
.product-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  margin-top: 20px;
  border-top: 1px solid #e8e6e1;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
  margin-top: 0;
  padding: 0 20px;
}

.product-total.visible {
  opacity: 1;
  max-height: 70px;
  margin-top: 20px;
  padding: 18px 20px;
}

.product-total-label {
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.product-total-amount {
  font-family: "Roboto Mono", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #b8860b;
  letter-spacing: 0.5px;
}

/* Add to Cart button */
.add-to-cart-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  margin-top: 32px;
  background: #2b2b2b;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: #b8860b;
}

.add-to-cart-btn:disabled {
  background: #d5d5d5;
  color: #aaa;
  cursor: not-allowed;
}

.add-to-cart-btn:focus-visible {
  outline: 2px solid #b8860b;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════
   Toast notification
   ═══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b2b2b;
  color: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 3px;
  z-index: 2000;
  transition: bottom 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.toast.show {
  bottom: 32px;
}

/* ═══════════════════════════════════════════
   Product page responsive
   ═══════════════════════════════════════════ */
@media only screen and (max-width: 768px) {
  .product-image-wrap img {
    max-height: 50vh;
    max-width: 92vw;
    border-width: 4px;
  }
  .product-details {
    padding: 30px 20px 70px;
  }
  .product-title {
    font-size: 1.5rem;
  }
  .header-cart {
    top: 14px;
    right: 16px;
  }
}

@media only screen and (max-width: 480px) {
  .product-topbar {
    padding: 12px 16px;
  }
  .product-image-wrap img {
    max-height: 40vh;
    max-width: 95vw;
    border-width: 3px;
  }
  .product-details {
    padding: 24px 16px 60px;
  }
  .product-title {
    font-size: 1.3rem;
  }
  .option-checkbox {
    padding: 14px 16px;
    font-size: 1.05rem;
  }
  .sub-options.active {
    padding: 10px 16px 14px;
  }
  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }
  .header-cart {
    top: 8px;
    right: 12px;
  }
  .gallery-link::after {
    display: none;
  }
}