/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* FORM: fixed width + centered */
.search-form {
  display: flex;
  align-items: center;
  width: 850px;
  margin: 40px auto;
  gap: 0; /* no gap between input and button */
}

/* LABEL: make it flex and let it grow */
.search-form > label {
  flex: 1;
  display: flex;           /* so the input can flex inside */
}

/* INPUT: stretch to fill */
.search-form .search-field {
  flex: 1;
  min-width: 0;            /* allow flex child to shrink/expand correctly */
  width: 100%;             /* ensure full width inside the label */
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;

  padding: 16px 20px;
  font-size: 16px;
  border: none;
  border-radius: 50px 0 0 50px;
  outline: none;
  background: #f8f8f8;
  color: #333;
  transition: all 0.3s ease;
}

.search-form .search-field::placeholder { color: #999; }
.search-form .search-field:focus {
  background: #fff;
  box-shadow: 0 0 8px rgba(122, 75, 255, 0.4);
}

/* SUBMIT BUTTON */
.search-form .search-submit {
  padding: 16px 28px;
  font-size: 16px;
  border: none;
  border-radius: 0 50px 50px 0;
  background: linear-gradient(135deg, #5a2dff, #7a4bff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-form .search-submit:hover {
  background: linear-gradient(135deg, #7a4bff, #5a2dff);
  transform: translateY(-1px);
}
.search-form .search-submit:active { transform: scale(0.97); }

/* Optional: be responsive under 900px */
@media (max-width: 900px) {
  .search-form { width: 100%; padding: 0 16px; }
}

/* ===== GoDaddy-style card for rstore product ===== */
.elementor-widget-wp-widget-rstore_product .elementor-widget-container{
  /* card shell */
  border: 1px solid #eaecef;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 1px 12px rgba(0,0,0,.04);
  background: #fff;
  max-width: 720px;
  margin-inline: auto;
}

/* Title */
.elementor-widget-wp-widget-rstore_product .rstore-product-header h2,
.elementor-widget-wp-widget-rstore_product .rstore-product-header h3,
.elementor-widget-wp-widget-rstore_product .rstore-product-header{
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  font-weight: 800;
  color: #111;
}

/* Top row: badge + (optional) old price inline */
.elementor-widget-wp-widget-rstore_product .gd-topline{
  display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
}

/* SAVE badge */
.elementor-widget-wp-widget-rstore_product .gd-save-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-weight: 700; font-size: 13px; letter-spacing:.2px;
  padding: 6px 10px; border-radius: 6px; background:#ffeea8; color:#2b2b2b;
  border: 1px solid #f1d76a;
}

/* Old price (struck-through) */
.elementor-widget-wp-widget-rstore_product .gd-old-price{
  font-size: 18px; color:#6b7280; text-decoration: line-through; font-weight:600;
}

/* Price block (big) */
.elementor-widget-wp-widget-rstore_product .gd-price{
  display:flex; align-items:flex-end; gap:8px; margin: 2px 0 8px;
}
.elementor-widget-wp-widget-rstore_product .gd-price .amount{
  font-size: clamp(40px, 5.2vw, 64px); line-height: .9; font-weight: 800; color:#111;
}
.elementor-widget-wp-widget-rstore_product .gd-price .per{
  font-size: 18px; color:#111; margin-bottom: 10px; font-weight: 700;
}

/* Term / disclaimer line under price */
.elementor-widget-wp-widget-rstore_product .gd-term{
  font-size: 15px; color:#4b5563; line-height:1.5; margin-bottom: 18px;
}

/* Feature list (summary) */
.elementor-widget-wp-widget-rstore_product .rstore-product-summary{
  margin: 18px 0 22px !important;
}
.elementor-widget-wp-widget-rstore_product .rstore-product-summary ul{
  margin:0; padding:0; list-style:none;
}
.elementor-widget-wp-widget-rstore_product .rstore-product-summary li{
  display:flex; align-items:flex-start; gap:10px;
  padding: 9px 0;
  font-size: 18px; color:#111;
}
.elementor-widget-wp-widget-rstore_product .rstore-product-summary li:before{
  content:""; flex: 0 0 22px; height:22px; border-radius:6px; border:1px solid #e6e7eb;
  background: radial-gradient(circle at 50% 50%, #fff 45%, #fff 46%) padding-box,
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* CTA form/button */
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form{
  margin-top: 8px;
}
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form button,
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form input[type="submit"],
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form .button{
  display:block; width:100%;
  border-radius: 999px; padding: 16px 20px;
  font-size: 18px; font-weight: 800; line-height:1;
  background:#111; color:#fff; border: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.9), 0 8px 16px rgba(0,0,0,.08) inset;
  transition: transform .04s ease, box-shadow .2s ease, opacity .2s ease;
}
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form button:hover,
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form input[type="submit"]:hover,
.elementor-widget-wp-widget-rstore_product .rstore-add-to-cart-form .button:hover{
  transform: translateY(-1px);
}

/* Spacing + hide unused plugin bits if any */
.elementor-widget-wp-widget-rstore_product .rstore-pricing,
.elementor-widget-wp-widget-rstore_product .rstore-product-permalink{
  display:none !important;
}

/* Responsive niceties */
@media (max-width: 640px){
  .elementor-widget-wp-widget-rstore_product .elementor-widget-container{ padding:22px; border-radius:16px; }
}