/* Mobile-only styles (approx. 402px wide)
   Excludes header and hero as requested.
   Loaded via <link rel="stylesheet" media="(max-width:402px)">
*/

.home-page {
  background: #fcfafa;
}
.offcanvas.open {
  transform: translateX(-79px);
  height: 100%;
}

/* Container limited to mobile width */
.container {
  max-width: 700px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Section title */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  line-height: 33px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.section-title-accent {
  display: inline-block;
}

/* Product grid: wrap cards to fit mobile (two columns) */
.products {
  margin-top: 50px;
  margin-bottom: 50px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.product {
  box-sizing: border-box;
  margin: 0;
}

/* Card and photo sizing */
.product .photo {
  width: 169px;
  height: 300px;
  background: #281f1b;
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  align-items: center;
  justify-items: center;
}
.product .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swatches and photo-bars */

.swatch {
  width: 15px;
  height: 15px;
}
.swatches {
  left: 0;
  bottom: 23px;
}
.photo-bars {
  position: absolute;
  bottom: 12px;
  width: 100%;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.photo-bar {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
}
.photo-bars .photo-bar:first-child {
  background: rgba(255, 255, 255, 0.9);
}

/* Product meta */
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.product-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #141517;
}
.product-price {
  font-size: 12px;
  color: #656565;
}

/* Small adjustments for controls */
.create-btn {
  width: 68px;
  height: 68px;
}
.create-label {
  font-size: 14px;
}

/* Footer for mobile */
.footer-title {
  font-weight: 400;
  margin-bottom: 8px;
  font-size: 12px;
  margin-top: 6px;
}
footer .contact {
  margin-top: 10px;
}
.site-footer {
  background: #141517;
  color: #fff;
  padding: 30px 16px;
}
.footer-col a {
  font-size: 12px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
  align-items: flex-end;
}
.future-media .slick-dots,
.product-gallery-simple .slick-dots,
.slick-dots {
  width: 90%;
  left: 0;
}
/* footer bottom year */
.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  color: #c0c0c0;
  font-size: 12px;
  padding-top: 6px;
  text-align: left;
  margin-top: 18px;
  margin-left: 0;
  padding: 0 10px;
}
.footer-col.social {
  grid-column: 1 / -1;
}
.footer-col.contact {
  grid-column: 1 / 2;
}
.footer-col.links {
  grid-column: 2 / 3;
  justify-self: end;
}
.footer-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-icons img {
  width: 20px;
  height: 20px;
}
.footer-text a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

/* Reduce motion on very small devices */
.create-btn:hover {
  transform: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}
.product .photo {
  width: 100%;
}

.product-card-inner {
  margin-top: 20px;
}
.product-card .product-title {
  font-size: 24px;
  line-height: 28px;
}
.product-card .product-color {
  font-size: 14px;
}
.product-card .difference-link {
  font-size: 13px;
}
.product-card .difference-row {
  gap: 17px;
}
.product-card .swatch {
  width: 40px;
  height: 40px;
}
.product-card .type-buttons,
.product-card .type-btn {
  padding: 0;
}
.product-card .btn.add-to-cart {
  padding: 10px 45px;
  font-size: 16px;
  width: 80%;
}

/* Ensure layout flows on very narrow screens--------------------__________________--------____---__-__----__----___--_--_-_-- */
@media (max-width: 405px) {
  .product-card .add-to-cartcustom {
    width: 100%;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
  }
}
.card_candle_main {
  margin-top: 55px;
}
@media (max-width: 393px) {
  .product {
    width: calc(50% - 12px);
  }
  .container {
    padding: 0 0;
  }
  .product-card .purchase-row {
    flex-direction: column;
  }
  body {
    padding: 0 10px;
  }
}

@media (max-width: 377px) {
  .product {
    width: 69% !important;
  }
  .container {
    padding: 0;
  }
  .product-card .btn.add-to-cart {
    font-size: 14px;
  }
  .product-card .colors-row {
    gap: 10px;
  }
}

.site-header {
  left: 0;
  padding: 0 10px;
}
.checkout-page {
  padding-top: 74px;
}

.title_checkout {
  font-size: 24px;
  margin-top: 50px;
  margin-bottom: 17px;
}
form.woocommerce-checkout .title_checkout {
  font-size: 18px;
}

.description_checkout {
  font-size: 19px;
  margin-top: 17px;
  margin-bottom: 4px;
}
.woocommerce-billing-fields__field-wrapper {
  gap: 0;
  flex-direction: column;
}
.woocommerce form .form-row {
  width: 100%;
  flex: 1;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row textarea {
  font-size: 14px;
}
label.custom-radio {
  gap: 7px;
  font-size: 14px;
}

label.custom-radio {
  margin: 0 10px 0 0;
}

.payment-method-pill {
  padding: 0 !important;
  width: 100%;
}
.your-order-card {
  width: 100%;
}
.your-order-list {
  grid-template-columns: repeat(1, 1fr);
}

.your-order-photo {
  width: 131px;
}
.your-order-photo img {
  height: 100%;
}

.your-order-section {
  margin-top: 27px;
}
.your-order-section .your-order-heading {
  font-size: 20px;
}

.your-order-card {
  padding: 10px;
}
.checkout-sum-row,
#checkout-subtotal {
  font-size: 18px;
}
.btn_submit_checkout {
  font-size: 16px;
}

.your-order-title {
  font-size: 16px !important;
}

.your-order-attr,
.your-order-qty-price,
.your-order-remove,
.quantity-label {
  font-size: 12px !important;
}
.your-order-price .amount {
  font-size: 14px !important;
}

.site-logo-link {
  width: 70px;
}
.header-inner {
  gap: 0;
}
.site-nav svg,
.icon-btn svg {
  width: 28px;
  height: 28px;
}

.cust_myaccount {
  margin-top: 140px;
}
.account-tabs__item a,
.order-card__number,
.order-card__status,
.order-item__price,
.order-card__view {
  font-size: 16px;
}

.woocommerce-MyAccount-content {
  padding: 0;
}

.order-card {
  padding: 17px;
}

.order-item__title {
  font-size: 14px;
}

.order-card__total {
  font-size: 18px;
}

.cust_myaccount {
  margin-top: 100px;
}

.custom-my-account-content h1 {
  font-size: 20px;
}

.order-details__heading,
.order-goods__row,
.order-details__again,
.orders-empty__btn {
  font-size: 16px;
}
.order-overview div,
.order-goods__title,
.order-personal div,
.order-goods__price,
.orders-empty__lead {
  font-size: 14px;
}

.order-details__back,
.order-details__title,
.view_empty {
  width: auto;
}

.order-details__box {
  padding: 10px;
}

.order-goods__row {
  gap: 5px;
}

.orders-empty__btn {
  height: 46px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.orders-empty__title {
  font-size: 24px;
}

.orders-empty__title {
  font-size: 28px;
}

#login-column,
.lost-password-panel,
#register-column {
  margin-top: 60px;
}

.account-panel__footer,
#login-column .lost_password a {
  font-size: 17px;
}

.gallery-fullscreen-btn {
  top: 112px !important;
  width: 20px;
  height: 20px;
}

.cart-popup {
  padding: 10px;
}

.cart-popup__inner {
  padding: 0 !important;
}

.wc-inline-coupon-inputs_custom {
  flex-direction: column;
}

.offcanvas-inner {
  padding: 40px 40px 40px 100px;
}

.flex_single_product {
  flex-direction: column;
}
.card_candle_main .future-media,
.cart-empty-layout__buttons,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
  width: 100% !important;
}
.product-card .product-info {
  margin: 0;
}
.woocommerce-billing-fields__field-wrapper .form-row {
  margin: 10px 0;
}

.candle-collection {
  margin-top: 100px;
}

/* Force single product photo on mobile: hide second view and indicators */
.product .photo img.photo-second {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.product .photo img.photo-first {
  opacity: 1 !important;
  transform: none !important;
}
.product .photo .photo-bars {
  display: none !important;
}
.product .photo img {
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  -webkit-transition: -webkit-transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  transform-origin: center center !important;
  -webkit-transform-origin: center center !important;
  will-change: transform;
}

.product:hover .photo img.photo-first,
.product:focus-within .photo img.photo-first {
  transform: scale(1.04) !important;
  -webkit-transform: scale(1.04) !important;
}

@media (hover: none) and (pointer: coarse) {
  .product:hover .photo img.photo-first,
  .product:focus-within .photo img.photo-first {
    transform: none !important;
    -webkit-transform: none !important;
  }
}
