/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
    background:#0b0b0c;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial;
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    padding:40px;
}

/* Card */
.card{
    width:1100px;
    max-width:calc(100% - 40px);
    background:linear-gradient(#0f0f10,#0b0b0c);
    border:1px solid rgba(255,255,255,0.04);
    display:flex;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,0.7),inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Left column (text) */
.left{
    flex:0 0 520px;
    padding:46px 44px;
    position:relative;
}

.badge{
    display:inline-block;
    background:#d23b2b;
    color:#fff;
    font-weight:700;
    padding:10px 18px;
    border-radius:10px;
    font-size:16px;
    margin-bottom:18px;
}

h1{
    font-size:48px;
    line-height:1.02;
    margin-bottom:20px;
    letter-spacing:-0.02em;
}

.label{color:rgba(255,255,255,0.85);font-weight:700;margin-top:10px;margin-bottom:10px}

/* color dots */
.colors{display:flex;gap:12px;margin:10px 0 22px;align-items:center}
.dot{width:36px;height:36px;border-radius:50%;border:2px solid rgba(255,255,255,0.12);display:inline-block}
.caption{font-size:14px;margin-left:10px;color:rgba(255,255,255,0.8)}
.color-row{display:flex;align-items:center}
.color-name{font-size:14px;margin-left:8px;color:rgba(255,255,255,0.9)}

/* Features */
ul.features{list-style:none;margin-top:18px;margin-bottom:30px}
ul.features li{position:relative;padding-left:22px;margin-bottom:14px;font-size:16px;color:rgba(255,255,255,0.92)}
ul.features li:before{content:'';position:absolute;left:0;top:8px;width:8px;height:8px;background:#fff;border-radius:50%}

/* Buttons */
.actions{display:flex;gap:16px}
.btn{padding:14px 26px;border-radius:10px;font-weight:700;border:0;cursor:pointer;font-size:16px}
.btn-primary{background:#d23b2b;color:#fff}
.btn-ghost{background:transparent;border:2px solid rgba(255,255,255,0.12);color:#fff}

/* Right column (image) */

.showcase {
    position: relative;
    right: 20px;
    width: 520px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transform: translateY(-10px);
}

.showcase img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* small responsive tweaks */
@media(max-width:980px){
    .card{flex-direction:column}
    .left{flex:unset;width:100%;padding:28px}
    .right{min-height:260px}
    .showcase{width:320px;height:260px;right:0}
    h1{font-size:34px}
}



.order-btn {
    background: linear-gradient(45deg, #ffb347, #ffcc33);
    border: none;
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}


.order-btn:hover {
    transform: scale(1.05);
}



.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}


.modal-content {
    background: #fff;
    color: #000;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: left;
}


.close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

form button {
    background: #ffcc33;
    border: none;
    padding: 10px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}



/* Ціна */
.price {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

.price span {
    color: #ff3b30; /* яскравий акцент */
    font-size: 28px;
}
















/* --- АДАПТИВНІСТЬ ПІД ВСІ ЕКРАНИ --- */

/* Планшети */
@media (max-width: 992px) {
  .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left {
    padding: 30px 20px;
    width: 100%;
  }

  h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .colors {
    justify-content: center;
    flex-wrap: wrap;
  }

  .actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 80%;
    font-size: 18px;
  }

  .showcase {
    width: 400px;
    height: auto;
    right: 0;
    margin-top: 20px;
  }

  .showcase img {
    width: 100%;
    height: auto;
  }
}

/* Смартфони */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .card {
    flex-direction: column-reverse;
    border-radius: 12px;
    text-align: center;
  }

  .left {
    padding: 20px 15px;
  }

  h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .badge {
    font-size: 14px;
    padding: 8px 14px;
    margin-bottom: 10px;
  }

  .label {
    font-size: 14px;
  }

  .colors {
    justify-content: center;
    gap: 8px;
  }

  .dot {
    width: 26px;
    height: 26px;
  }

  .features li {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .price {
    font-size: 20px;
    margin: 10px 0;
  }

  .price span {
    font-size: 22px;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }

  .showcase {
    width: 100%;
    height: auto;
    margin-top: 0;
    right: 0;
    transform: none;
  
  }

.showcase img {
    position: relative;
    top: 65px; /* ↓↓ смещаем картинку вниз */
}

/* Дуже маленькі екрани (до 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 22px;
  }

  .price {
    font-size: 18px;
  }

  .price span {
    font-size: 20px;
  }

  .btn {
    font-size: 14px;
  }

  .showcase img {
    width: 100%;
  }
}