
@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,900");

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", sans-serif !important;
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
  color: #1e1e27;
}
div {
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
ul {
  list-style: none;
  margin-bottom: 0px;
}
p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: #989898;
  -webkit-font-smoothing: antialiased;
  -webkit-text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}
p a {
  display: inline;
  position: relative;
  color: inherit;
  border-bottom: solid 2px #fde0db;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
a,
a:hover,
a:visited,
a:active,
a:link {
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

h1 {
  font-size: 72px;
}
h2 {
  font-size: 40px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 24px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #282828;
  -webkit-font-smoothing: antialiased;
  -webkit-text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}
h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection {
}
::-webkit-input-placeholder {
  font-size: 16px !important;
  font-weight: 500;
  color: #777777 !important;
}
:-moz-placeholder /* older Firefox*/ {
  font-size: 16px !important;
  font-weight: 500;
  color: #777777 !important;
}
::-moz-placeholder /* Firefox 19+ */ {
  font-size: 16px !important;
  font-weight: 500;
  color: #777777 !important;
}
:-ms-input-placeholder {
  font-size: 16px !important;
  font-weight: 500;
  color: #777777 !important;
}
::input-placeholder {
  font-size: 16px !important;
  font-weight: 500;
  color: #777777 !important;
}
.form-control {
  color: #db5246;
}
section {
  display: block;
  position: relative;
  box-sizing: border-box;
}
.clear {
  clear: both;
}
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}
.clearfix::after {
  clear: both;
}
.clearfix {
  zoom: 1;
}
.float_left {
  float: left;
}
.float_right {
  float: right;
}
.trans_200 {
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
.trans_300 {
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}
.trans_400 {
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
}
.trans_500 {
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
.fill_height {
  height: 100%;
}
.super_container {
  width: 100%;
  overflow: hidden;
}

/*ATTACHMENTS*/
.intro{
    margin-top: 180px;
    padding-bottom: 10px;
}

.intro_content{
    text-align: center;
}

.intro_content h1{
    font-size: 40px;
    color: #1e1e27;
}

.intro_content p{
    font-size: 16px;
    color: #51545f;
    margin-top: 10px;
}

/* Centered search bar */
.search_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
}
.search_input {
  width: 100%;
  max-width: 520px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 12px;
}
.search_input:focus {
  border-color: #5A4632; /* brown */
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 70, 50, 0.25);
}
.search_btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #4F5D2F;
  background: #4F5D2F;
  color: #fff;
  font-weight: 600;
}
.search_btn:hover { background: #B5A476; border-color: #3B4528; }
.search_btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 70, 50, 0.25);
}

/* Attachments: gun cards */
.attachments_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px 10px;
}

.gun_card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  padding: 14px;
  background: #fff;
  border: 2px solid #4F5D2F; /* green border */
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.gun_card .gun_image {
  flex: 0 0 120px;
  width: 120px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gun_card .gun_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gun_card .gun_info {
  flex: 1;
}
.gun_card .gun_info .gun_name {
  font-weight: 600;
  color: #1e1e27;
  margin-bottom: 4px;
}
.gun_card .gun_info .gun_desc {
  color: #51545f;
}

.gun_card .gun_actions {
  flex: 0 0 auto;
}
.gun_card .gun_actions .attach_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #4F5D2F;
  background: #4F5D2F;
  color: #fff;
  font-weight: 600;
}
.gun_card .gun_actions .attach_btn:hover {
  background: #B5A476;
  border-color: #3B4528;
}

@media (max-width: 600px) {
  .gun_card { flex-direction: column; align-items: stretch; }
  .gun_card .gun_image { width: 100%; height: 160px; }
  .gun_card .gun_actions { text-align: right; }
}

@media (max-width: 768px) {
	.intro {
		margin-top: 100px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
} 

/* Gun attachment page*/

.attachments{
  background-image: url('/images/attachment22_bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.gun_container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(80px, auto);
  gap: 8px;
  padding-left: 50px;
  padding-right: 50px;
  z-index: 1;
  margin-top: -120px; 
}

.card{
  background-color: whitesmoke;
  padding: 10px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.card h2{
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    /* border-bottom: #a8a8a8 1px solid; */
}

.gun {
  grid-column: 1 / span 4;
  grid-row: 2 / span 4;
}

.gun img{
    height: auto;
    width: 100%;
}

.div2 {
  grid-column: 5 / span 2;
  grid-row: 2 / span 2;
}

.attachment_item img{
  width: 76px;
  padding: 5px;
}

.attachment_item {
  width: 100%;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6.8px);
  -webkit-backdrop-filter: blur(6.8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  margin-bottom: 4px;
}


.attachment_item.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 0;
  margin-right: 0;
  padding: 0 5px; /* 5px sides padding */
}
.attachment_item.row img {
  flex: 0 0 auto;
  margin-right: 10px;
}
.attachment_item.row > div {
  flex: 1 1 auto;
}

/* Tighten text spacing inside attachment row */
.attachment_item.row p {
  margin: 2px 0;
  line-height: 1.3;
}

/* Selected state */
.attachment_item.selected {
  background: #e4e4e4; /* light gray */
  border-color: #4F5D2F;
}

.attachment_item p{
  color:#202020;
}

.card {
  overflow: hidden; 
  max-height: 220px; 
  display: flex;
  flex-direction: column;

  background: rgba(255, 255, 255, 0.16);
border-radius: 10px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(6.8px);
-webkit-backdrop-filter: blur(6.8px);
}

.card_body {
  overflow-y: auto; 
}

/* Increase card height on larger screens */
@media (min-width: 1200px) {
  .card { max-height: 220px; }
}
@media (min-width: 1400px) {
  .card { max-height: 220px; }
}
@media (min-width: 1600px) {
  .card { max-height: 270px; }
}
@media (min-width: 1800px) {
  .card { max-height: 410px; }
}
@media (min-width: 2200px) {
  .card { max-height: 480px; }
}

.div3 {
  grid-column: 5 / span 2;
  grid-row: 4 / span 2;
}

.div4 {
  grid-column: 5 / span 2;
  grid-row: 6 / span 2;
}

.div5 {
  grid-column: 1 / span 2;
  grid-row: 6 / span 2;
}

.div6 {
  grid-column: 3 / span 2;
  grid-row: 6 / span 2;
}

.div7 {
  grid-column: 5 / span 2;
  grid-row: 8 / span 1;
}

/* Ensure .div7 has white background */
.attachments .div7 {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  padding: 10px;
}

/* info_box light bottom border */
.attachments .info_box {
  padding-bottom: 8px;
  border-bottom: 0.8px solid #e6e6e6;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* title left, price right */
}

.info_box p{
  color:#313131;
}

.back-btn{
  color: white;
  justify-content: center;
  text-align: center;
  align-items: center;
}
/* Back button container centered */
.attachments .back_btn {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* align left */
  height: 64px;
  margin-top: 5px;
  margin-left: 16px;
  z-index: 2;
}

/* Back button larger and styled */
.attachments .back-btn {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #B5A476; /* brown theme */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.attachments .back-btn:hover {
  background: #3B4528;
  color: #fff;
}

/* Checkout button color override */
.attachments .checkout_button .btn {
  background-color: #B5A476; /* requested color */
  border-color: #B5A476;
  color: #413223;
}
.attachments .checkout_button .btn:hover {
  background-color: #4F5D2F;
  border-color: #4F5D2F;
  color: #ffffff;
}

.attachments .back-btn i {
  font-size: 22px;
  line-height: 1;
}

/* Responsive adjustments to keep cards flexible around the gun */
@media (max-width: 1024px) {
  .gun_container { grid-template-columns: repeat(4, 1fr); }
  .gun { grid-column: 1 / span 3; grid-row: 2 / span 4; }
  .div2 { grid-column: 4 / span 1; grid-row: 2 / span 2; }
  .div3 { grid-column: 4 / span 1; grid-row: 4 / span 2; }
  .div4 { grid-column: 1 / span 2; grid-row: 6 / span 2; }
  .div5 { grid-column: 3 / span 2; grid-row: 6 / span 2; }
  .div6 { grid-column: 1 / span 2; grid-row: 8 / span 2; }
  .div7 { grid-column: 3 / span 2; grid-row: 8 / span 1; }
}

@media (max-width: 768px) {
  .gun_container { grid-template-columns: repeat(2, 1fr); padding-left: 20px; padding-right: 20px; }
  .gun { grid-column: 1 / span 2; grid-row: 2 / span 3; }
  .div2 { grid-column: 1 / span 2; grid-row: 5 / span 2; }
  .div3 { grid-column: 1 / span 2; grid-row: 7 / span 2; }
  .div4 { grid-column: 1 / span 2; grid-row: 9 / span 2; }
  .div5 { grid-column: 1 / span 2; grid-row: 11 / span 2; }
  .div6 { grid-column: 1 / span 2; grid-row: 13 / span 2; }
  .div7 { grid-column: 1 / span 2; grid-row: 15 / span 1; }
}
