html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.content-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footerline {
  flex-shrink: 0;
  position: relative;
}

.newsline {
  width: 100%;
  height: 60px;
  background-color: #fafafa;

  background-image: linear-gradient(
    to right,
    #ebcf9c 0%,
    #fff2c5 25%,
    #ebcf9c 50%,
    #fff2c5 75%,
    #ebcf9c 100%
  );
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.newsblock {
  width: 1200px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
}

.menublock {
  width: 1200px;
  height: 125px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 20px;
  background-color: #ffffff;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo a img {
  max-height: 90%;
  width: auto;
  display: block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navlinks a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.cartsquare {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cartsquare img {
  max-width: 40px;
  height: auto;
}

.cardblock {
  position: relative;
  width: 1200px;
  height: 200px;
  margin: 0 auto 20px auto;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto 100%;
  box-sizing: border-box;
  padding: 0;
}

.cart-text {
  margin-top: 5px;
  font-size: 12px;
  font-weight: bold;
  color: #000;
}

.cardtext {
  position: absolute;
  top: 50%;
  right: 0;
  width: 600px;
  transform: translateY(-50%);
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.2;
  color: #222;
  padding: 0;
}

.mainpage {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px 0;
}

.mainpageblock {
  width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #ffffff;
}

.contactline {
  width: 100%;
  background-color: #ffffff;
  box-sizing: border-box;
  padding: 20px 0;
}

.contactblock {
  width: 1200px;
  margin: 0 auto;
  background: linear-gradient(160deg, #ffffff 0%, #ebebeb 40%, #dbdbdb 100%);
  padding: 20px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  grid-template-rows: auto auto;
  row-gap: 10px;
  column-gap: 10px;
  align-items: stretch;
  flex-grow: 1;
}

.contact-form .form-row {
  margin: 0;
  padding: 0;
}

.contact-form .form-row:nth-of-type(1) {
  grid-column: 1 / span 4;
  grid-row: 1;
  display: flex;
  gap: 10px;
}

.contact-form .form-row:nth-of-type(1) input {
  flex: 1;
}

.contact-form .form-row:nth-of-type(2) {
  grid-column: 1 / span 3;
  grid-row: 2;
  display: flex;
  align-items: center;
}

.contact-form .send-button {
  grid-column: 4;
  grid-row: 2;
  width: 100%;
  height: 48px;
  margin: 0;
  background-color: #ffffff;
  border: 2px dotted #cccccc;
  color: #c8c8c8;
  font-size: 18px;
  font-family: Arial, sans-serif;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  box-sizing: border-box;
}

.send-button:hover {
  background-color: #ffffff;
}

.contact-form .phone-row {
  display: none;
}

.contact-form input {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 0;
}

.contact-form textarea {
  width: 100%;
  min-height: 48px;
  height: 48px;
  font-size: 16px !important;
  font-family: Arial, sans-serif !important;
  line-height: 1.25 !important;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  margin: 0;
  min-height: 48px;
  overflow: auto;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
  font-size: 16px;
  opacity: 1;
}

input:focus,
textarea:focus,
.send-button:focus {
  outline: none;
  box-shadow: none;
  caret-color: auto;
}

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
}

/* FOOTER */

.footerline {
  width: 100%;
  background-color: #fafafa;
  flex-shrink: 0;
}

.footerblock {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  box-sizing: border-box;
  padding: 20px 0;
  gap: 30px;
}

.footerblock > div {
  width: calc((100% - 60px) / 3);
  box-sizing: border-box;
  text-align: center;
}

.fsect1,
.fsect3 {
  padding: 10px;
  color: #777;
  font-size: 14px;
}

.fsect2 {
  padding: 10px;
  color: #bbb;
  font-size: 12px;
}

.fsect1 a,
.fsect2 a,
.fsect3 a {
  color: inherit;
  font-size: 14px;
  text-decoration: underline;
}

/* PRODUCT CARDS */
.product-filter {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: #ececec;
  border: none;
  color: #7d7d7d;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.filter-btn.active {
  background-color: #d4d4d4;
}

.product-grid {
  width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0;
  margin: 0 auto;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.product-card img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-image {
  background-color: #f2f2f2;
  background-size: cover;
  background-position: center;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
}

.product-image img:not(.zoom-icon) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.product-price {
  font-weight: bold;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
}

.product-button {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #d3d3d3;
  color: #666;
  transition: background-color 0.3s ease;
}

.product-button:not(.disabled) {
  background-color: #ffffff;
}

.product-button:not(.disabled):hover {
  background-color: #e6e6e6;
  border-color: #d3d3d3;
  color: #666;
}

.product-button.disabled {
  background-color: #fff;
  border: 1px solid #d3d3d3;
  color: #aaa;
  cursor: default;
  cursor: default;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.page-btn {
  padding: 6px 12px;
  background-color: #eee;
  border: none;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.page-btn.active {
  background-color: #cdcdcd;
  color: white;
}

.cart-popup {
  position: fixed;
  top: 80px;
  right: 30px;
  width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  background: white;
  border: 2px dotted #cdcdcd;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 8px;
  display: none;
}

.cart-popup.show {
  display: block;
}

.cart-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.cart-item img {
  width: 40px;
  height: auto;
  border-radius: 4px;
}

/****** NEW CSS ******/
.social-icon {
  width: 24px;
  height: 24px;
  margin: 0 5px;
  vertical-align: middle;
}

.footer-secret {
  display: block;
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  opacity: 0.3;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
}

.footer-secret:hover {
  opacity: 1;
}

.product-card .original-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5em;
}

.product-card .discount-price {
  color: #e60000;
  font-weight: bold;
}

.alert.alert-success.text-dark {
  font-size: 20px;
  padding: 20px;
  color: #0b8e2a !important;
}

.cart-popup .contact-form,
.cart-popup .contact-form input,
.cart-popup .contact-form textarea,
.cart-popup .send-button {
  color: #000 !important;
  background: #fff !important;
  border-color: #ccc !important;
}

.admin-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.admin-section {
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-header {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.25rem;
  color: #333;
}

.status-success {
  color: #2a7f2a;
  margin-bottom: 1rem;
}
.status-error {
  color: #c00;
  margin-bottom: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.admin-table th,
.admin-table td {
  padding: 0.5rem;
  border: 1px solid #e1e1e1;
}
.admin-table th {
  background-color: #f9f9f9;
  font-weight: 600;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #467fcf;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.button:hover {
  background-color: #3a6fb0;
}

.product-item {
  background: #fafafa;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 1.5rem;
  cursor: default;
}
.drag-handle {
  display: none;
}

.images-list {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
}
.image-item {
  text-align: center;
}
.preview-img {
  max-width: 200px;
  display: block;
  margin-bottom: 1rem;
}
.product-summary {
  display: none;
}
#product-list.reorder-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
#product-list.reorder-mode .product-item {
  padding: 0.5rem;
  cursor: grab;
}
#product-list.reorder-mode .product-details {
  display: none;
}
#product-list.reorder-mode .drag-handle {
  display: block;
  text-align: center;
  font-weight: bold;
}
#product-list.reorder-mode .product-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.primary-img {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.product-name {
  font-size: 0.9rem;
  font-weight: 500;
}
.login-box,
.login-box * {
  box-sizing: border-box;
}

.login-box {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px #0000001a;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.login-box .form-group {
  margin-bottom: 1rem;
}

.login-box label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.9rem;
}

.login-box input,
.login-box button {
  width: 100%;
  display: block;
  margin: 0;
  font-size: 1rem;
}

.login-box input {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-box button {
  padding: 0.75rem;
  background-color: #467fcf;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
}
.login-box button:hover {
  background-color: #3a6fb0;
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: none;
  max-height: none;
  width: 24px;
  height: 24px;
  opacity: 0.8;
  cursor: pointer;
}
.zoom-icon:hover {
  opacity: 1;
}

.about-section {
  width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.about-image {
  float: right;
  max-width: 50%;
  margin: 0 0 1em 1em;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  z-index: 1000;
}
.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  width: 1000px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 12px #0000004d;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

#modal-body {
  padding: 0 1.5rem 1.5rem;
  box-sizing: border-box;
}

#modal-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

#modal-images {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}
#modal-images img.thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: 1px solid #999;
  cursor: pointer;
  box-sizing: border-box;
  background: #fff;
}
#modal-images img.thumb.active {
  border: 3px solid #ffce5c;
}

.main-preview {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}
.main-preview #main-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.main-preview .main-media {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-preview .nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  cursor: pointer;
  background: rgba(0, 0, 0, 0);
  z-index: 10;
}
.main-preview .nav-zone.left {
  left: 0;
}
.main-preview .nav-zone.right {
  right: 0;
}
.nav-zone:hover {
  background: rgba(0, 0, 0, 0.05);
}

#modal-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1rem 0;
}
#modal-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#modal-description {
  margin-bottom: 0.5rem;
}
#modal-price {
  margin-top: 0;
  margin-bottom: 1rem;
}
#modal-price.product-price,
.product-price {
  font-weight: bold;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
}

#modal-price .original-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5em;
}
#modal-price .discount-price {
  color: #e60000;
  font-weight: bold;
}

#modal-button {
  padding: 0 1.5rem 1rem;
  box-sizing: border-box;
}

.ql-snow .ql-container {
  background-color: #fff;
}
.ql-snow .ql-editor {
  background-color: #fff;
}

.ql-snow .ql-toolbar {
  background-color: #fff;
}

#card-editor .ql-editor p {
  white-space: pre-wrap;
}

.product-price:empty::before {
  content: "Price varies";
  color: #666;
  font-size: 14px;
  font-weight: bold;
}

.product-price {
  color: #666;
  font-weight: bold;
}

.product-price.price-varies {
  color: #666;
  font-weight: bold;
  font-size: 14px;
}

#modal-price.price-varies {
  color: #666;
  font-weight: bold;
  font-size: 14px;
}

#modal-price {
  color: #666;
  font-weight: bold;
  font-size: 14px;
}

#modal-price .original-price,
#modal-price .discount-price {
  color: #666;
}

.contact-title {
  text-align: center;
  color: #666;
  font-size: 24px;
}

.contactblock {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* --- Admin Login page --- */
.login-box {
  max-width: 420px;
  margin: 4rem auto;
}

.alert-error {
  background: #ffe6e6;
  color: #8a1f11;
  border: 1px solid #e0b4b4;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin: 0 0 1rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.login-box label {
  display: block;
  margin-bottom: 0.25rem;
}

.login-box input {
  width: 100%;
  padding: 0.5rem;
}

/* ------------------------------------- */
/* ------------------------------------- */
/* ------------------------------------- */
/* ------------------------------------- */
/* ------------------------------------- */

@media (max-width: 1200px) {
  .newsline,
  .newsblock {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    font-size: 36px !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    -webkit-column-count: initial !important;
    -moz-column-count: initial !important;
    column-count: initial !important;
    -webkit-columns: initial !important;
    -moz-columns: initial !important;
    columns: initial !important;
    -webkit-column-gap: initial !important;
    -moz-column-gap: initial !important;
    column-gap: initial !important;
  }
  .newsblock p {
    margin: 0 !important;
    padding: 0 !important;
  }

  ::placeholder {
    font-size: 28px !important;
  }

  .send-button,
  .filter-btn,
  .product-button,
  .page-btn,
  .cart-controls button,
  .cart-shipping,
  .cart-close {
    font-size: 1.5em !important;
    padding-top: 0.2em !important;
    padding-bottom: 0.5em !important;
  }

  button:not(.filter-btn),
  .send-button,
  .product-button,
  .page-btn,
  .cart-controls button,
  .cart-shipping,
  .cart-close,
  #modal-button button,
  #modal-button .button,
  .pagination .page-btn,
  .cart-popup .send-button,
  .product-grid .product-card a,
  .product-card a,
  a.button,
  a.send-button,
  a.product-button,
  a.page-btn {
    font-size: 2.2em !important;
    padding: 1em 1em !important;
    line-height: 0.2 !important;
  }

  .product-filter > button.filter-btn {
    font-size: 2.2em !important;
    padding: 1em 1em !important;
    line-height: 0.2 !important;
  }

  .menublock {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
  }

  .menublock .logo {
    flex: 0 0 30%;
    margin-top: 8px;
    padding: 0;
  }
  .menublock .logo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .menublock {
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .menublock .logo {
    flex: 0 0 30%;
    margin-top: 8px;
  }
  .menublock .logo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .menublock .navlinks {
    flex: 0 0 60%;
    width: 60%;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
  }
  .menublock .navlinks a {
    flex: 1;
    text-align: left;
    padding: 12px 0;
    font-size: 30px;
    font-weight: bold;
  }

  .menublock .cartsquare {
    flex: 0 0 30%;
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: left;
    margin-left: 10px;
    height: 100%;
  }

  .menublock .cartsquare .cart-text {
    font-size: 24px;
  }

  .menublock .cartsquare img {
    display: block;
    width: 50%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  .product-grid {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .cardblock {
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    background-size: cover;
  }
  .cardblock .cardtext {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    text-align: right;
  }
  .cardblock .cardtext p {
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
  }

  .product-price.price-varies {
    font-size: 36px !important;
    color: #666 !important;
    font-weight: bold !important;
  }

  .contactblock,
  .contact-form {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
    box-sizing: border-box;
    height: 80px;
    font-size: 36px !important;
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
  }

  .contact-title {
    text-align: center;
    color: #666;
    font-size: 36px;
  }
  .contact-form .send-button {
    display: block;
    width: 100%;
    font-size: 36px;
    padding: 20px;
    height: 80px;
    box-sizing: border-box;
  }

  .alert.alert-success.text-dark {
    font-size: 36px;
    text-align: center;
    padding: 20px;
    color: #0b8e2a !important;
  }

  .cart-popup .contact-form {
    background: linear-gradient(160deg, #ffffff 0%, #ebebeb 40%, #dbdbdb 100%);
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cart-popup .contact-form input,
  .cart-popup .contact-form textarea {
    width: 100%;
    font-size: 36px;
    padding: 20px;
    height: 80px;
    box-sizing: border-box;
  }

  .cart-popup .contact-form .send-button {
    display: block;
    width: 100%;
    font-size: 36px;
    padding: 20px;
    height: 80px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 2px dotted #cccccc;
    color: #c8c8c8;
  }

  .cart-popup .contact-form {
    border: 1px solid #ccc;
  }
  .cart-popup .contact-form textarea {
    font-size: 36px !important;
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
  }

  .cart-item {
    font-size: 36px;
    gap: 20px;
  }

  .cart-item img {
    width: 100px;
    height: auto;
  }

  .cart-controls {
    gap: 20px;
  }

  .cart-controls button {
    font-size: 28px !important;
    padding: 0.5em 0.8em !important;
    line-height: 1.2 !important;
  }

  .cart-controls a {
    font-size: 28px !important;
    line-height: 1.2 !important;
    display: inline-block;
    font-weight: bold !important;
    color: #c27c1a !important;
    text-decoration: none !important;
  }

  .cart-popup p {
    font-size: 36px !important;
  }

  .product-title,
  .product-price {
    font-size: 36px;
  }

  .about-section {
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .about-section .about-image {
    order: 1 !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px auto !important;
    padding: 0 !important;
  }

  .about-section .about-image img {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
  }

  .about-section .about-text {
    order: 2 !important;
    font-size: 36px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footerblock {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
  }

  .footerblock > div {
    width: 100% !important;
    box-sizing: border-box;
  }

  .footerblock > * {
    font-size: 32px;
  }

  .footerblock a {
    font-size: 32px;
    text-decoration: none;
  }

  .footerblock .fsect1 {
    font-weight: bold;
  }

  .footerblock .fsect3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .footerblock .social-icon {
    width: 12vw;
    height: auto;
    padding: 10px;
    margin-bottom: 10px;
  }

  /* MODAL */

  #modal-title {
    font-size: 42px !important;
    line-height: 1.3 !important;
  }

  #modal-description {
    font-size: 36px !important;
    line-height: 1.4 !important;
  }

  #modal-price {
    font-size: 36px !important;
    line-height: 1.4 !important;
  }
  #modal-price .original-price,
  #modal-price .discount-price {
    font-size: 36px !important;
  }

  .modal-close::before {
    content: "×";
    display: block;
    font-family: Arial, sans-serif !important;
    font-size: 80px !important;
    line-height: 1 !important;
    color: #9e9e9e !important;
    text-align: center !important;
    width: auto !important;
    height: auto !important;
  }

  #modal-images img.thumb {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
    border: 2px solid #999 !important;
  }
  #modal-images img.thumb.active {
    border: 4px solid #ffce5c !important;
    box-shadow: 0 0 0 4px rgba(255, 206, 92, 0.5) !important;
    outline: 2px solid #ffce5c !important;
  }

  .main-preview .main-media {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-preview #main-image {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  #modal-video iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    display: block !important;
  }

  #modal-video {
    flex: 1 1 100%;
    width: 100% !important;
  }

  #main-image[style*="display: none"] {
    display: none !important;
  }

  #modal-video iframe {
    pointer-events: none;
  }
}

#product-list .product-item {
  position: relative;
}

#product-list .product-item + .product-item::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -1px;
  right: -1px;
  height: 0;
  border-top: 2px dashed #d9d9d9;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  #product-list .product-item + .product-item::before {
    border-top-color: #3f3f46;
  }
}
