.ProductsPackages { display: flex; flex-direction: row; align-items: flex-start; width: 100%; max-width: 100%; margin: auto; display: flex; margin-bottom: 2em; grid-template-columns: 550px 1fr; background-size: 400px; position: relative; padding: 3em; border-radius: 5px; overflow: hidden; gap: 4em; } .Products-columns { width: fit-content; max-width: 100%; position: relative; } .Products-column { width: 100%; position: relative; } .Products__image { width: 480px; height: 280px; box-shadow: -3px 0 12px rgba(254, 56, 126, 0.2), 3px 0 12px rgba(254, 56, 126, 0.3); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; } .Products__image>a { display: block; width: 100%; height: 100%; } .Products__image>a>img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; } .Products_primaryImage { display: block; text-align: center; } img { border-style: none; vertical-align: middle; } .ipsImage { max-width: unset; height: unset; } #ipsZoomer_area { position: absolute; max-width: 250px; max-height: 250px; top: 0; left: 0; background: rgba(0, 0, 0, 0.3); width: 50px; height: 50px; pointer-events: none; } .Products__title { margin: 0.1em 0 0.3em 0; color: #fff; font-size: 37.6px; font-weight: bold; line-height: 1; text-align: left; /* ✅ ชิดซ้าย */ } .Products__features { display: flex; flex-wrap: wrap; gap: 1em; } .Products__features>.addStatusAfter, .Products__features>.Products__group, .Products__features>.productStatus>._status { height: 30px; padding: 0.75em 1em !important; border-radius: 100vw; display: inline-flex; align-items: center; justify-content: center; line-height: 1; text-transform: uppercase; font-size: 12px; font-weight: 500; margin: 0 0 0 0; background: rgb(28, 30, 37); letter-spacing: 0; color: #d5d5d5; } .Products__features>.Products__group>i, .Products__features>.addStatusAfter>i { margin: 0 12px 0 0; color: rgb(254, 56, 126); margin-right: 5px; font-weight: 900; } .Products__features .productStatus { margin: 0; padding: 0; border: 0; } .Products_pricing .Products__Price { font-size: 35px; line-height: 1; margin: 0.5em 0 !important; display: flex; font-weight: 600; color: white; } .Cluster_header { display: flex; align-items: center; justify-content: space-between; } .quantity_manager { display: flex; align-items: center; justify-content: space-between; background-color: #14161b; border: 1px solid rgba(167, 170, 183, 0.4); border-radius: 6px; width: 100%; height: 48px; max-width: 150px; padding: 4px 6px; gap: 6px; } .quantity_btn { padding: 6px 10px; background-color: rgba(254, 56, 126, 0.1); color: rgb(254, 56, 126); border-radius: 6px; font-size: 14px; cursor: pointer; transition: background-color 0.2s ease; display: flex; align-items: center; justify-content: center; } .quantity_btn:hover:not(.disabled) { background-color: rgba(254, 56, 126, 0.2); } .quantity_manager input { width: 24px; text-align: center; background: transparent; border: none; color: #fff; font-size: 16px; pointer-events: none; padding: 0; } .disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; } .Cluster_buttons { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); margin-top: 1em 0; } .Cluster_buttons { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 1em; list-style: none; padding: 0; margin: 0 0 1em 0; } .Cluster_button.active { background-color: rgb(254, 56, 126); color: #fff; } .Cluster_button { position: relative; width: 100%; padding: 1em; border: 0; outline: 0; border-radius: 5px; cursor: pointer; font-size: 18px !important; line-height: 1 !important; background: rgb(31, 31, 31); font-weight: 500; text-align: left; overflow: hidden; } .ClusterButton_header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5em; } .Cluster_button:hover .ClusterButton_type, .Cluster_button:hover .ClusterButton_price>.ClusterButton_number, .Cluster_button:hover .ClusterButton_header>.stock { color: #fff; } .Cluster_button.active .ClusterButton_header>.stock, .Cluster_button.active .ClusterButton_price>.ClusterButton_number, .Cluster_button.active .ClusterButton_type { color: #fff; background-color: rgb(254, 56, 126); } .ClusterButton_type { flex: 1; text-transform: uppercase; font-size: 12px; color: #9ea4b1; font-weight: 500; letter-spacing: 1px; } .stock { text-transform: uppercase; font-size: 11px; color: #9ea4b1; } .Cluster_button.active .ClusterButton_number { color: #fff; } .ClusterButton_number { color: #9ea4b1; display: flex; align-items: center; gap: 0.5em; line-height: 1; } .checkout-button { background-color: rgba(254, 56, 126, 0.5); color: white; font-size: 18px; padding: 12px 24px; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.15); } .checkout-button:hover { background-color: rgb(254, 56, 126); } @media (max-width: 768px) { .ProductsPackages { flex-direction: column; align-items: center; } .Products__image { width: 100%; max-width: 100%; height: auto; } }