/* Clean Layout Styles - 优化后的布局样式 */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header-section {
    background-color: #360000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-section {
    flex: 0 0 auto;
}

.logo {
    max-width: 290px;
    height: auto;
}

.gift-section {
    flex: 1;
    text-align: center;
}

.gift-img {
    max-width: 240px;
    height: auto;
    animation: bounce 2s infinite;
}

.brand-section {
    flex: 0 0 auto;
}

.brand-img {
    max-width: 469px;
    height: auto;
}

/* Form Section */
.form-section {
    background-color: #680000;
    padding: 40px 0;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.main-form {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #F82602;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f8f8f8;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #F82602;
    box-shadow: 0 0 5px rgba(248, 38, 2, 0.3);
}

.submit-btn {
    display: block;
    width: 40%;
    margin: 20px auto 0;
    padding: 12px 20px;
    background: #F91223;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 13.8309px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #d10e1e;
    transform: translateY(-2px);
}

/* Gallery Section */
.gallery-section {
    background-color: #680000;
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.title-img {
    max-width: 350px;
    height: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .header-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    
    .logo-section {
        flex: 0 0 auto;
    }
    
    .logo {
        max-width: 220px;
        min-width: 150px;
    }
    
    .gift-section {
        flex: 0 0 auto;
    }
    
    .gift-img {
        max-width: 180px;
        min-width: 120px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-btn {
        width: 60%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header-section,
    .form-section,
    .gallery-section {
        padding: 20px 0;
    }
    
    .main-form {
        padding: 20px;
    }
    
    .submit-btn {
        width: 80%;
    }
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Original styles that are still needed */

/* 图片自适应样式 */
img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px
}

/* 主题自定义样式 */
:root {
  --primary-color: #446084;
  --fs-color-primary: #446084;
  --fs-color-secondary: #d26e4b;
  --fs-color-success: #7a9c59;
  --fs-color-alert: #b20000;
  --fs-experimental-link-color: #334862;
  --fs-experimental-link-color-hover: #111;
}

.tooltipster-base {
  --tooltip-color: #fff;
  --tooltip-bg-color: #000;
}

.off-canvas-right .mfp-content,
.off-canvas-left .mfp-content {
  --drawer-width: 300px;
}

.header-main {
  height: 90px
}

#logo img {
  max-height: 90px
}

#logo {
  width: 200px;
}

.header-top {
  min-height: 30px
}

.transparent .header-main {
  height: 90px
}

.transparent #logo img {
  max-height: 90px
}

.has-transparent+.page-title:first-of-type,
.has-transparent+#main>.page-title,
.has-transparent+#main>div>.page-title,
.has-transparent+#main .page-header-wrapper:first-of-type .page-title {
  padding-top: 120px;
}

.header.show-on-scroll,
.stuck .header-main {
  height: 70px !important
}

.stuck #logo img {
  max-height: 70px !important
}

.header-bottom {
  background-color: #f1f1f1
}

@media (max-width: 549px) {
  .header-main {
    height: 70px
  }

  #logo img {
    max-height: 70px
  }
}

body {
  font-family: Lato, sans-serif;
}

body {
  font-weight: 400;
  font-style: normal;
}

.nav>li>a {
  font-family: Lato, sans-serif;
}

.mobile-sidebar-levels-2 .nav>li>ul>li>a {
  font-family: Lato, sans-serif;
}

.nav>li>a,
.mobile-sidebar-levels-2 .nav>li>ul>li>a {
  font-weight: 700;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a {
  font-family: Lato, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
  font-weight: 700;
  font-style: normal;
}

.alt-font {
  font-family: "Dancing Script", sans-serif;
}

.alt-font {
  font-weight: 400 !important;
  font-style: normal !important;
}

.nav-vertical-fly-out>li+li {
  border-top-width: 1px;
  border-top-style: solid;
}

.label-new.menu-item>a:after {
  content: "New";
}

.label-hot.menu-item>a:after {
  content: "Hot";
}

.label-sale.menu-item>a:after {
  content: "Sale";
}

.label-popular.menu-item>a:after {
  content: "Popular";
}

/* 具体元素样式 */
#image_1443107087 {
  width: 100%;
}

#col-1283535953 > .col-inner {
  padding: 0px 0px 0px 20px;
}

#image_861899081 {
  width: 100%;
}

#image_1920084765 {
  width: 100%;
}

#col-1471921351 > .col-inner {
  padding: 0px 20px 0px 0px;
}

#image_458940839 {
  width: 100%;
}

#section_551476194 {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #360000;
}

#section_1606861607 {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #680000;
}

#image_1370613878 {
  width: 100%;
}

#col-1267351743 > .col-inner {
  padding: 0px 0px 15px 0px;
}

#image_1619070195 {
  width: 100%;
}

#image_1373135647 {
  width: 100%;
}
#image_929273898 {
  width: 100%;
}
#image_333415280 {
  width: 100%;
}
#image_1452478702 {
  width: 100%;
}
#image_187230853 {
  width: 100%;
}
#section_28753849 {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #680000;
}
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body {
    font-family: Arial, Helvetica, sans-serif;
}

h2#swal2-title {
    justify-content: center;
}

.gif-img {
    max-width: 240px;
    margin: 0 auto;
}

.title-img {
    max-width: 350px;
    margin: 0 auto;
}

.image-auto img {
    width: auto;
}

.rg-2 {
    row-gap: 20px;
}

.form-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF;
    border-radius: 22px;
}

.form-container form {
    width: 100%;
    margin: 0;
}

.form-container .form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-container .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-container label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #F82602;
    line-height: 20px;
    margin: 0;
}

.form-container input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    background: #f8f8f8;
    margin: 0;
}

.submit-btn {
    width: 40%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
    margin: 20px auto 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 13.8309px;
    background: #F91223;
    min-height: unset;
    height: unset;
    line-height: normal;
}

@media only screen and (max-width: 1000px) {
    .form-container .form-row {
        flex-direction: column;
    }
}