/*
    Theme Name: My Classic Theme
    Theme URI: https://example.com/
    Author: The WebCoder
    Author URI: https://the-webcoder.com/
    Description: A custom classic WordPress theme with header, footer, flexible content and basic layout.
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: twc-athenyx
*/

.footer-form input[type="email"] {
    /* position: relative; */
    background-color: transparent;
    border: 1px solid #D1D6DE;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    color: #494949;
    outline: none;
    height: 44px;
    padding: 10px 116px 10px 14px;
    width: 100%;
}

.footer-form button.submit-btn {
    background-color: #151515;
    border: 0;
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    height: 44px;
    padding: 14px 16px;
    position: absolute;
    top: 0;
    right: 0;
}

.footer-form .form-group {
    position: relative;
}

.footer-form form {
    max-width: 360px;
    margin-left: auto;
    width: 100%;
}


/* for sidebar cart */
.sidebar-cart {
    position: fixed;
    background-color: #F3F9FB;
    max-width: 400px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    overflow: hidden;
    transform: translate(624px, 0);
    transition: transform 250ms ease-in-out;
    z-index: 20;
}

body.open .sidebar-cart {
    transform: translate(0, 0);
}

.cart-bg {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    transition: opacity 250ms ease-in-out, width 0ms ease-in-out 250ms;
}

body.open .cart-bg {
    width: 100%;
    opacity: 0.8;
    transition: opacity 250ms ease-in-out, width 0ms ease-in-out;
}

.sidebar-cart .widget_shopping_cart_content {
    height: 100%;
}


/* 09-09-2025 */

/* page.php */
.subpage-hero.pages-hero h1 {
    font-family: 'Gilroy-Regular';
    font-size: 60px;
}

@media screen and (max-width: 767px) {
    .subpage-hero.pages-hero h1 {
        font-size: 28px;
    }
}

/* myaccount login form */
.twc-login-form form.register .form-row {
    padding: 0;
    margin: 0px 0 20px;
}

.twc-login-form form.login .form-row input.input-text,
.twc-login-form form.register .form-row input.input-text {
    font-family: 'Gilroy-Medium';
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    border-radius: 8px;
    height: 52px;
    outline: none;
    padding: 16px;
}

.twc-login-form form.login .form-row button.woocommerce-button,
.twc-login-form form.register .form-row button.woocommerce-button { border-radius: 99px; padding: 14px 28px !important; }

/* forgot password form */
.twc-reset-password .form-row input.input-text,
.twc-reset-password .form-row input.input-text,
.twc-forgot-password .form-row input.input-text
{ font-family: 'Gilroy-Medium'; font-size: 16px; font-weight: normal; line-height: 1; border-radius: 8px; height: 52px; outline: none; padding: 16px; }

.twc-reset-password .form-row button.button,
.twc-forgot-password .form-row button.button { border-radius: 99px; padding: 14px 28px !important; }


/* 404error page */
.error-404.not-found { min-height: 300px; display: flex; flex-direction: column; gap: 20px; justify-content: center; align-items: flex-start; }
.error-404.not-found h1 { font-size: 40px; }
.error-404.not-found p { font-size: 20px; }
.error-404.not-found a { font-size: 20px; }

@media screen and (max-width: 767px) {
    .error-404.not-found h1 { font-size: 32px; }
    .error-404.not-found p, .error-404.not-found a { font-size: 18px; }
}

/* Cart page */
.woocommerce .woocommerce-cart-form .shop_table .quantity .athenyx-numbers.qty { border:none; }
.woocommerce .woocommerce-cart-form .shop_table .product-quantity .pack-number { max-width: max-content; }
@media screen and (max-width: 768px) {
    .woocommerce .woocommerce-cart-form .shop_table .product-quantity .pack-number { margin-left: auto; }
}

/* for certificate open popup */
#twc-certificate-lightbox { display: none; position: fixed; padding: 0px 10px; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); text-align: center; overflow: auto; }

#twc-certificate-lightbox img { margin:0 auto; margin-top: 60px; max-width: 100%; max-height: 90%; }

#twc-certificate-lightbox .close { position: absolute; top: 15px; right: 40px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; }

@media screen and (max-width: 767px) {
    #twc-certificate-lightbox img { width: 100%; }
    #twc-certificate-lightbox .close{ top: 15px; right: 15px; font-size: 30px;}
}


/* checkbox */
.input-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 0.15em solid rgba(65, 91, 231, 1);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
  transition: all 0.2s ease-in-out;
}

.input-checkbox:checked + .checkmark {
  background-color: #fff;
  border-color: rgba(65, 91, 231, 1);
}

.input-checkbox:checked + .checkmark::after {
  content: "";
  display: block;
  width: 6px;
  height: 13px;
  border: solid rgba(65, 91, 231, 1);
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
  position: relative;
  left: 4px;
  top: -2px;
}
h3#ship-to-different-address span.checkmark {
    margin-left: 3px;
}