.lamp-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 80px;        /* расстояние между карточками по горизонтали */
  row-gap: 80px;           /* расстояние между строками */
  max-width: 1180px;       /* 2 карточки по 550px + 80px между ними */
  margin: 0 auto;
  padding: 60px 0;
}


.lamp-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.lamp-card a {
  text-decoration: none;
  color: inherit;
 
}

.lamp-card .img-wrapper {
  height: 550px;
  overflow: hidden;
}

.lamp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lamp-card:hover img {
  transform: scale(1.05);
}


.lamp-card:nth-child(2n) {
  margin-top: 100px; /* смещаем каждую вторую карточку вниз */
}
.lamp-card .product-header {
 background: #333333;
    color: #fff;
    font-family: 'Georgia', serif;
    padding: 20px 0 10px;
    width: 90%;
    margin: -30px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 1px #000;
 
}
/* Заголовок — слева, с отступами */
.product-title-wrapper {
  display: flex;
  align-items: flex-start; /* выравнивание по верхнему краю */
  justify-content: flex-start;
  padding-left: 20px;
  gap: 20px;
  position: relative;
  font-size: 24px;
}

/* Название */
.title-left {
  font-weight: bold;
  position: relative;
  padding-right: 12px;
      text-transform: uppercase;
}

/* Артикул */
.title-right {
  padding-left: 12px;
}

/* Вертикальная линия — между названиями */
.title-left::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -8px; /* чуть ниже baseline */
  right: 0;
  width: 1px;
  background-color: #fff;
  opacity: 0.6;
}

/* Горизонтальная линия на всю ширину блока */
.horizontal-line {
  height: 1px;
  background-color: #fff;
  opacity: 0.6;
  width: 100%;
  margin-top: 10px;
}

/* Подзаголовок — строго слева, выравниваем по тексту */
.product-subtitle {
  font-size: 14px;
  color: #ccc;
  padding: 5px 20px 0;
  text-align: left;
}

.opis  {
	font-size: 16px;
}

.quick-view-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transition: opacity 0.6s ease;
  overflow-y: auto;
}
.quick-view-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 30px;
  animation: fadeInBg 0.5s ease forwards;
}

.quick-view-modal.active {
  display: block;
  opacity: 1;
}
.modal-body {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
}
.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: fadeInModal 0.6s ease forwards;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}
.modal-img {
  flex: 1 1 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInImg 1s ease both;
}
.modal-img img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInImg 1s ease forwards;
}

.modal-info {
  flex: 1 1 100%;
  font-family: Georgia, serif;
  color: #333;
  text-align: center;
}

.modal-info h2 {
  font-size: 32px;
  margin-top: 0;
}



.modal-close:hover {
  color: #000;
  transform: scale(1.1);
}

.img-wrapper {
  position: relative;
  height: 550px;
  overflow: hidden;
}
.quick-view-icon {
 position: absolute;
  top: 30px;
  left: 15px;
  width: 60px;
  height: 60px;
  background-color: #ffffff4d;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; /* убираем скругление */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 10;
}
.quick-view-icon.quick-view-icon-1 {
       width: 46px;
    height: 45px;
    background-color: #ffffff4d;
    border: 1px solid #000;
    display: flex
;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10;
    position: relative;
    top: 10px;
    left: 3px;
}
.quick-view-icon:hover {
  background-color: #000;
  border-color: #fff;
  transform: scale(1.1);
}
.quick-view-modal.show {
  display: block;
  opacity: 1;
}
.quick-view-icon .icon-arrow {
   width: 28px;
  height: 28px;
  color: #000; /* изначально чёрная */
  stroke: #000;
  stroke-width: 2.5;
  transition: stroke 0.3s ease;
}
.add-to-cart-btn {
  background-color: #c9a24b;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  font-family: Georgia, serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}
.quick-view-icon:hover .icon-arrow {
  stroke: #fff;
}

.add-to-cart-btn:hover {
  background-color: #b08b3d;
}

.full_collection{
	font-size: 12px;
    font-family: 'Georgia', serif;
    white-space: nowrap;
    margin: 16px;
    color: #2f2f2f;
    text-decoration: none;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
    display: inline-block;

  margin-left: auto;
}

.opener {
    position: fixed;
    width: 60px;
    right: 0px;
	height: 60px;
    border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
    top: 150px;
    background: #000000c7;
    overflow: hidden;
	z-index:51;
}

.opener >div {
    display: inline-block;
    text-align: center;
    width: 60px;
    height: 60px;
    cursor: pointer;
    vertical-align: top;
    zoom: 1;
}
.opener .basket_count {
    background: #70472f;
}


.srtik {
    position: fixed;
    width: 60px;
    right: 0px;
	height: 60px;
    border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
    top: 211px;
    background: #000000c7;
    overflow: hidden;
	z-index:51;
	color: #f5f5f5; /* светло-серый или почти белый */
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  line-height: 60px; /* чтобы выровнять вертикально */
  text-align: center;
}
.srtik.active {
  background: #c9a24b;
  color: #ffffff;
}

#desire-count {
  position: absolute;
  top: 4px;
  right: 6px;
  background: #424f60;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  padding-bottom: 0.5rem;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #d4a373;
}

/* Checkout container */
.basket-checkout-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 15px 25px;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid #f2f2f2;
  border-radius: 2px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.basket-checkout-section {
  flex: 3;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.basket-checkout-section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

.basket-checkout-block-total {
  padding: 21px 10px 0 0;
  text-align: right;
}

.basket-checkout-block-total-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #2c2c2c;
  font-weight: 600;
}

.basket-checkout-block-total-price {
  padding: 17px 0 0 10px;
  text-align: right;
}

.basket-coupon-block-total-price-current {
  font-size: 1.8rem;
  font-weight: 600;
  color: #d4a373;
  text-align: right;
  white-space: nowrap;
}

.personal_link {
  padding: 30px 10px 10px 30px;
  font-size: 0.9rem;
  color: #555;
}

.form-check-input {
  margin-right: 0.5rem;
}

.form-check-label {
  font-size: 13px;
  color: #888;
  font-weight: bold;
}

.form-check-label a {
  color: #d4a373;
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

#soglasie_err {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #d32f2f;
  display: none;
}

.basket-checkout-block-btn {
  padding: 13px 0 0 15px;
  text-align: right;
  margin-top: 20px;
}

.basket-btn-checkout {
  background: linear-gradient(90deg, #d4a373, #e8b985);
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  border-radius: 4px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.basket-btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.4);
}

/* Basket items header */
.basket-items-list-header {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 13px 15px;
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.basket-items-list-header-filter {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 3;
  justify-content: flex-end;
}

.basket-items-list-header-filter-item {
  font-size: 14px;
  color: #2c2c2c;
  text-decoration: none;
  font-weight: bold;
}

.basket-items-list-header-filter-item.active {
  color: #d4a373;
  position: relative;
}

.basket-items-list-header-filter-item.active::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d4a373;
}

.basket-items-list-header-filter-item:hover {
  color: #d4a373;
}

.basket_wrapp .wraps_icon_block {
  width: 17px;
  height: 16px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin: 0 6px 0 0;
  top: 39%;
  left: 15px;
}


.basket_wrapp .wraps_icon_block:before {
  background: url('/lamp/assets/templates/lamper/images/icon/ai.png') 0 0 no-repeat;
  width: 20px;
  height: 19px;
  display: block;
  content: "";
  position: relative;
  top: 0;
}


.basket_wrapp .wraps_icon_block .count {
  position: absolute;
  right: -17px;
  top: -15px;
  text-align: center;
  font-size: 12px;
  line-height: 13px;
  opacity: 1;
}

.basket_wrapp .wraps_icon_block.basket .items {
  background: #424f60;
  color: #fff;
  width: 20px;
  height: 20px;
  display: block;
  vertical-align: middle;
  border-radius: 20px;
  line-height: 20px;
}
.basket_wrapp .wraps_icon_block.basket:before {
  background-position: -177px -48px;
  top: -2px;
}

.delete_all.remove_all_basket:hover {
  opacity: 1;
}

/* Cart table */
.table-responsive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.cart-table tr {
  border-top: 1px solid #f2f2f2;
}

.cart-table tr:first-child {
  border-top: none;
}

.cart-table tr:last-child {
  border-bottom: 1px solid #f2f2f2;
}

.cart-table td {
  padding: 20px 0;
  vertical-align: top;
  font-size: 0.95rem;
  position: relative;
}

.cart-img img {
  max-width: 80px;
  border-radius: 4px;
}

.cart-title a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.cart-title a:hover {
  color: #d4a373;
}

.quantity-block {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-block button {
  width: 24px;
  height: 28px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s;
}

.quantity-block button:hover {
  background: #d4a373;
  color: #fff;
  border-color: #d4a373;
}

.quantity-block input {
  width: 34px;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-left: none;
  border-right: none;
  background: #f7f7f7;
  padding: 7px 0;
  font-size: 13px;
  height: 28px;
  border-radius: 0;
}

.cart-price-product,
.product-total {
  font-weight: 600;
  color: #2c2c2c;
}

.basket-item-price-title {
  color: #a1a1a1;
  font-size: 12px;
  padding-top: 7px;
}

.cart-product-remove .cart-remove {
  position: absolute;
  top: 18px;
  right: 0;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.cart-remove::before,
.cart-remove::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 1px;
  height: 9px;
  background: #222;
  transition: background 0.3s;
}

.cart-remove::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cart-remove::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cart-remove:hover::before,
.cart-remove:hover::after {
  background: #d4a373;
}

.product-total {
  margin-right: 50px;
}
.lamp-card {
    background-color: rgba(200, 200, 200, 0.5); /* Серый прозрачный фон */
    padding: 15px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    width: 550px;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    text-align: center;
    font-family: 'Georgia', serif;
    color: #333;
	max-height: 599px;
}
.menu-link a {
  color: #333;
  text-decoration: none; /* если нужно убрать подчеркивание */
}

.lamp-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

form[data-commerce-action="add"] {
    display: inline-block;
    opacity: 0; /* Скрыто по умолчанию */
    transition: opacity 0.3s ease;
}
.product-buttons form[data-commerce-action="add"] {
    opacity: 1;
}
.lamp-card:hover form[data-commerce-action="add"] {
    opacity: 1; /* Появление при наведении */
}

form[data-commerce-action="add"] button {
    background-color: black; /* С прозрачный фон */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;

    transition: background-color 0.3s ease;
}

form[data-commerce-action="add"] button:hover {
    background-color: rgba(80, 80, 80, 0.8); /* Чуть темнее при наведении */
}

form[data-commerce-action="add"] button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 100, 100, 0.3);
}
.image-card,
.index_proiz img,
.lamp-card .img-wrapper,
.product_viewer {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.product-categories {
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  margin: 0; /* убираем нижний отступ, если не нужен */
}

.category-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.category-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}
.container-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.share-button {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    background: unset;
}
.share-button:hover {
    background-color: #c9a24b;
}

.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.share-modal.show {
    display: flex !important; /* Принудительно для перекрытия других стилей */
    opacity: 1;
}

.share-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    width: 90%;
}

.share-modal-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.share-modal-line {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.share-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.share-icon-btn img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.share-icon-btn:hover img {
    transform: scale(1.1);
}

.share-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

.share-modal-close:hover {
    color: #666;
}
/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
}



/* Стили для модального окна с формой (#estimateModal, #infoModal) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal .close:hover {
    color: #ff0000;
    transform: scale(1.2);
}


.modal-content button:not(.close):hover {
    background-color: #cc0000;
}

/* Стили для модального окна с изображением (.quick-view-modal) */
.quick-view-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.95);
    align-items: flex-start;
    justify-content: center;
    padding-top: 30px;
    animation: fadeInBg 0.5s ease forwards;
}

.quick-view-modal.active {
    display: block;
    opacity: 1;
}

.quick-view-modal .modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInModal 0.6s ease forwards;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    width: 90%;
    max-width: 90vw;
}

.quick-view-modal .modal-img {
    flex: 1 1 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInImg 1s ease both;
}

.quick-view-modal .modal-img img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInImg 1s ease forwards;
    z-index: 9998; /* Меньше, чем у .modal-close */
}

.quick-view-modal .modal-info {
    flex: 1 1 100%;
    font-family: Georgia, serif;
    color: #333;
    text-align: center;
}

.quick-view-modal .modal-info h2 {
    font-size: 32px;
    margin-top: 0;
}

.quick-view-modal .modal-close {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 32px !important;
    color: #000 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10000 !important;
    line-height: 1 !important;
    padding: 8px !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.quick-view-modal .modal-close:hover {
    color: #ff0000 !important;
    transform: rotate(90deg) scale(1.2) !important;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4) !important;
    background: transparent !important;
}

/* Стили для кнопки "Запросить смету" */
.product-buttons .btn.red {
    opacity: 1;
    display: inline-block;
    background-color: red;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* Стили для обоих модальных окон */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}



.modal-content button:hover {
    background-color: #cc0000;
}

/* Стили для кнопки "Запросить смету" */
.product-buttons .btn.red {
    opacity: 1;
    display: inline-block;
    background-color: red;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Стили для кнопки "Запросить информацию" */
.product-buttons .btn.black {
    opacity: 1;
    display: inline-block;
    background-color: black;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin: 1.5rem 0;
  }

  .basket-checkout-section-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .basket-coupon-block-total-price-current {
    font-size: 1.5rem;
  }

  .basket-btn-checkout {
    width: 100%;
    text-align: center;
  }

  .basket-items-list-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cart-table td {
    font-size: 0.85rem;
    padding: 0.8rem 0;
  }

  .cart-img img {
    max-width: 60px;
  }

  .quantity-block input {
    width: 40px;
  }
   .lamp-gallery {
    column-gap: 20px; /* Уменьшен зазор между карточками */
    row-gap: 40px;   /* Уменьшен зазор между строками */
    max-width: 100%; /* Полная ширина контейнера */
    padding: 30px 10px; /* Меньше отступов */
    padding-right: 60px; /* Уменьшаем отступ справа для мобильных */
  }
  .lamp-card {
  width: 100%;
  max-width: 100%;
  margin-bottom:20px
}

.lamp-card .img-wrapper {
  height: auto;
}

.lamp-card img {
  height: auto;
}
.lamp-card:nth-child(2n) {
    margin-top: 0;
	margin-bottom:20px
  }
  .modal-body,
  .modal-content {
    flex-direction: column;
    align-items: center;
  }

  .modal-img img {
    max-width: 100%;
    max-height: 60vh;
  }

  .modal-info {
    text-align: center;
    padding: 0 10px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  .lamp-gallery {
    column-gap: 10px; /* Еще меньше зазор */
    row-gap: 20px;   /* Еще меньше зазор между строками */
    padding: 20px 5px; /* Минимальные отступы */
    padding-right: 3px; /* Еще меньше отступа справа */
  }

  .cart-table td {
    display: block;
    width: 100%;
  }

  .basket-checkout-section {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  .product-title {
    font-size: 24px;
  }
  .opis {
    font-size: 14px;
  }
}


@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInImg {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
